Install
openclaw skills install agent-security-skill-scannerEnterprise AI Agent Security Scanner - 846 rules, three-layer detection architecture, risk tier classification. Detects prompt injection, credential theft, d...
openclaw skills install agent-security-skill-scanner企业级 AI Agent 安全扫描工具,检测恶意代码、供应链攻击、凭据窃取和攻击链。
| 指标 | v6.2.0 |
|---|---|
| 规则数 | 846 |
| 检测架构 | 三层 (PatternEngine → HybridRuleEngine → LLMEngine) |
| 扫描速度 | ~385 文件/秒 |
| 风险分级 | 5 级 (CRITICAL/HIGH/MEDIUM/LOW/INFO) |
# 扫描目录
python3 scanner.py /path/to/skills/
# 并发扫描 (8 worker)
python3 scanner.py /path/to/skills/ --workers 8
# 输出 JSON 报告
python3 scanner.py /path/to/skills/ --output json --output-file report.json
# 单 Skill 熔断阈值
python3 scanner.py /path/to/skills/ --skill-max-files 500
npm install -g @caidongyun/security-scanner
agent-scanner /path/to/skills/
# pip
pip install -r requirements.txt
# npm
npm install -g @caidongyun/security-scanner
├── scanner.py # 主扫描器
├── whitelist_filter.py # 白名单过滤
├── config_detector.py # 配置文件检测
├── context_aware_filter.py # 上下文感知过滤
├── credential_theft_classifier.py # 凭据窃取攻击链检测
├── curl_risk_classifier.py # Curl 风险分级
├── risk_tier_classifier.py # 5 级风险体系
├── security_tool_detector.py # 安全工具识别
├── scan # CLI 入口
├── src/engines/ # 8 个检测引擎
├── rules/dist/all_rules.json # 846 条规则
├── package.json # npm 配置
├── README.md # 使用文档
└── RELEASE_NOTES.md # 发布说明
v6.2.0 | 846 Rules | Three-Layer Detection | Risk Tier Classification | Attack Chain Detection