Correctover/runtime-guard

GitHub: Correctover/runtime-guard

面向 AI Agent 工具调用的运行时安全护栏,在执行前实时拦截 RCE、SSRF 和环境变量泄露等攻击。

Stars: 0 | Forks: 0

# 🛡️ correctover-runtime-guard **实时拦截 RCE/SSRF/环境变量泄露 — P50 延迟 22µs。** [![PyPI 版本](https://img.shields.io/pypi/v/correctover-runtime-guard.svg)](https://pypi.org/project/correctover-runtime-guard/) [![Python 3.11+](https://img.shields.io/badge/python-3.11+-blue.svg)](https://www.python.org/downloads/) [![许可证: Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-green.svg)](https://opensource.org/licenses/Apache-2.0) ## 快速开始 ``` pip install correctover-runtime-guard correctover-runtime-guard start ``` ## 功能简介 AI Agent 工具调用的 runtime 护栏 — 在执行前进行拦截: - **RCE 拦截** (CWE-78) — 工具参数中的命令注入 - **SSRF 阻断** (CWE-918) — metadata endpoint 访问、内部端口扫描 - **环境变量泄露防范** (CWE-200) — `AWS_SECRET_ACCESS_KEY`、`OPENAI_API_KEY` 被盗取 - **MCP Server 模式** — `diagnose_error` / `get_fault_pattern` / `get_repair_suggestion` ### 性能 | 指标 | 数值 | |--------|-------| | P50 延迟 | 22µs | | P99 延迟 | 89µs | | 开销 | <0.01% | | 检出率 | 99.7% | ## 免费版 每天 50 次拦截 — 无需信用卡。 企业版:$1,999/月 — [correctover.com/checkout](https://correctover.com/checkout) ``` export CORRECTOVER_LICENSE_KEY=your-key-here ``` ## 相关 Correctover 工具 | 工具 | 安装命令 | 描述 | |------|---------|-------------| | **安全扫描器** | `npx correctover-scan` | MCP 配置安全审计 (14 项检查) | | **自愈测试** | `pip install correctover-test` | Agent 自愈测试套件 | | **漏洞扫描** | `pip install correctover-security-audit` | 215 种故障类型扫描器 | | **合规检查** | `pip install correctover-compliance-check` | OAuth 2.1 + CCS v1.0 | | **Runtime Guard** | `pip install correctover-runtime-guard` | 22µs RCE/SSRF 拦截 | | **MCP Server** | `npm install correctover-mcp-server` | 6 维度验证 | **网站**: [correctover.com](https://correctover.com) · **GitHub**: [github.com/Correctover](https://github.com/Correctover)
标签:逆向工具