跳到正文
Skillpedia
安全35k · #8109

implementing-runtime-application-self-protection

它能做什么

这个工具可以帮你保护 Web 应用免受攻击。它在应用内部工作,监控应用的行为,并在危险操作造成损害之前将其拦截。

适用场景

  • ✓当你为 Web 应用配置安全防护时。
  • ✓当你需要确保应用能够抵御常见攻击时。
  • ✓当你想把新的安全工具集成到系统中时。

技能链接

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-runtime-application-self-protection/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-runtime-application-self-protection/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“为我的 Java 应用设置运行时防护。”

每周 5 个新技能,1 分钟读完。

工作原理

这个工具会在你的应用中安装一个“代理程序”(agent)。该代理程序会实时监控应用的操作,并拦截攻击行为,例如 SQL 注入或未经授权的文件访问。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

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

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.

常见问题

RASP 和 WAF 有什么区别?

WAF(Web 应用防火墙)从外部保护应用,检查网络流量。RASP(运行时应用自我保护)则从内部保护,观察应用实际的运行行为。

使用这个工具需要具备技术知识吗?

建议你对 Java 或 Python 应用服务器有一定了解,并掌握基本的安全概念。

什么是“误报”(false positives)?

当安全工具误以为某个合法的应用操作是攻击而将其拦截时,就会产生误报。

详情

作者的原始描述

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.

repo: mukul975/Anthropic-Cybersecurity-Skills

热度

GitHub 星标
35k
排名
#8109
许可证
Apache-2.0
更新时间
2026/8/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能