‹ 首页

implementing-runtime-application-self-protection

@xalgord · 收录于 昨天 · 上游提交 昨天

Deploy Runtime Application Self-Protection (RASP) agents to detect and block attacks from within application runtime, covering OpenRASP integration, attack pattern detection, and security policy configuration for Java and Python web applications.

适合你,如果你需要实时保护 Web 应用免遭运行时攻击。

/ 通过 npx 安装 校验哈希
npx oh-my-skill add xalgord/xalgorix/implementing-runtime-application-self-protection
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- xalgord/xalgorix/implementing-runtime-application-self-protection
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify xalgord/xalgorix/implementing-runtime-application-self-protection
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
807GitHub stars
~847上下文体积 · 单文件
索引托管

怎么用

技能原文 SKILL.md作者撰写 · MIT · eeaf26b

Implementing Runtime Application Self-Protection

Overview

Runtime Application Self-Protection (RASP) instruments application code at runtime to detect and block attacks by examining actual execution context rather than relying solely on network traffic patterns. Unlike WAFs that inspect HTTP requests externally, RASP agents intercept dangerous operations (SQL queries, file operations, command execution, deserialization) at the function level inside the application, achieving near-zero false positives. This skill covers deploying OpenRASP for Java applications, configuring detection policies for OWASP Top 10 attacks, tuning alerting thresholds, and integrating RASP telemetry with SIEM platforms.

When to Use
  • When deploying or configuring implementing runtime application self protection capabilities in your environment
  • When establishing security controls aligned to compliance requirements
  • When building or improving security architecture for this domain
  • When conducting security assessments that require this implementation
Common Misconfigurations & Verification

RASP that is installed but left in monitor mode gives a false sense of protection — it logs attacks it never stops.

  • Stuck in monitor/detect-only: OpenRASP policies left at action: log (or inspect) after the tuning phase never call block. Confirm each policy for SQLi, command injection, SSRF, path traversal, XXE, and deserialization is set to block in production.
  • Excluded or un-instrumented routes: the JVM -javaagent attaches but a separately-deployed service, async worker, or native/JNI path is not hooked, leaving a coverage hole. Verify every entry point loads the agent (check startup logs for the RASP banner).
  • Over-broad allowlists: tuning to kill false positives by whitelisting whole endpoints disables protection on exactly the routes that take user input.
  • Telemetry not reaching SIEM: block events fire but the Splunk HEC / syslog forwarder is misconfigured, so nobody sees them.

Verify with live payloads, not config review: in staging, send a real SQLi (' OR 1=1--), an OS command-injection (; id), and a path-traversal (../../etc/passwd) against an instrumented endpoint and confirm the request is blocked (HTTP 403/500) with a matching stack-trace alert in the SIEM. A logged-but-served request means the agent is still monitor-only.

Prerequisites
  • Java 8+ application server (Tomcat, Spring Boot, or JBoss) or Python Flask/Django application
  • OpenRASP agent package (rasp-java or equivalent)
  • OpenRASP management console for centralized policy management
  • SIEM integration endpoint (Splunk HEC, Elasticsearch, or syslog)
  • Application staging environment for RASP testing before production
Steps
Step 1: Deploy RASP Agent

Install the RASP agent into the application server runtime using JVM agent attachment for Java or middleware hooks for Python.

Step 2: Configure Detection Policies

Define detection rules for SQL injection, command injection, SSRF, path traversal, XXE, and deserialization attacks with block or monitor actions.

Step 3: Tune and Baseline

Run the agent in monitor mode during normal operations to establish baseline behavior and tune policies to reduce false positives before switching to block mode.

Step 4: Integrate with SIEM

Forward RASP alerts to the SIEM for correlation with WAF, IDS, and authentication events to build comprehensive attack timelines.

Expected Output

JSON report containing RASP policy audit results, detected attack attempts with stack traces, blocked requests summary, and coverage assessment against OWASP Top 10.

按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。