扫描报告
5 /100
agent-security-skill-scanner
AI Agent 技能安全扫描器 - 检测恶意技能、后门代码、权限滥用
AI Agent 技能安全扫描器,核心功能为检测恶意代码模式、权限滥用和依赖风险,代码为防御性质,声称权限与实际行为一致,无恶意发现。
可以安装
可直接使用。无需修改或限制。
安全发现 2 项
| 严重性 | 安全发现 | 位置 |
|---|---|---|
| 低危 | 预置白名单来源未文档化 文档欺骗 | scripts/generate_report.py:27 |
| 提示 | auto_iteration.py 引用不存在的依赖脚本 供应链 | auto_iteration.py:62 |
| 资源类型 | 声明权限 | 推断权限 | 状态 | 证据 |
|---|---|---|---|---|
| 文件系统 | WRITE | WRITE | ✓ 一致 | cli.py:scan_skill() 读写文件生成报告; install.sh 设置执行权限; 检测结果写入 JSON 文件 |
| 网络访问 | NONE | NONE | — | 代码中仅有静态 URL 提取(re.findall https?://),无 requests/urllib 等实际网络请求 |
| 命令执行 | NONE | NONE | — | subprocess 调用仅用于运行内部扫描脚本(parallel_scanner.py、static_analyzer.py 等),参数为静态路径列表 |
| 环境变量 | NONE | NONE | — | 仅在 risk_scanner.py:risk_level 判断中使用 os.path.expanduser(~/.openclaw/workspace),未遍… |
| 剪贴板 | NONE | NONE | — | 未使用 |
| 浏览器 | NONE | NONE | — | 未使用 |
| 数据库 | NONE | NONE | — | 未使用 |
| 技能调用 | NONE | NONE | — | 未使用 |
1 严重 26 项发现
严重 危险命令 危险 Shell 命令
rm -rf / rule_iterator.py:333 中危 外部 URL 外部 URL
https://gitee.com/caidongyun/agent-security-skill-scanner CAPABILITIES.md:468 中危 外部 URL 外部 URL
https://gitee.com/caidongyun/agent-security-skill-scanner/issues I18N.md:221 中危 外部 URL 外部 URL
https://packaging.python.org NPM_PUBLISH_PLAN.md:365 中危 外部 URL 外部 URL
https://docs.npmjs.com NPM_PUBLISH_PLAN.md:366 中危 外部 URL 外部 URL
https://www.npmjs.com/package/agent-security-scanner PUBLISH_CHANNELS.md:98 中危 外部 URL 外部 URL
https://www.npmjs.com PUBLISH_CHANNELS.md:108 中危 外部 URL 外部 URL
https://clawhub.com PUBLISH_CHANNELS.md:126 中危 外部 URL 外部 URL
https://huggingface.co/caidongyun PUBLISH_CHANNELS.md:145 中危 外部 URL 外部 URL
https://huggingface.co PUBLISH_CHANNELS.md:161 中危 外部 URL 外部 URL
https://modelscope.cn PUBLISH_CHANNELS.md:182 中危 外部 URL 外部 URL
https://caidongyun.gitbook.io/agent-security-scanner PUBLISH_CHANNELS.md:219 中危 外部 URL 外部 URL
https://gitbook.com PUBLISH_CHANNELS.md:229 中危 外部 URL 外部 URL
https://agent-security-scanner.readthedocs.io PUBLISH_CHANNELS.md:241 中危 外部 URL 外部 URL
https://readthedocs.org PUBLISH_CHANNELS.md:253 中危 外部 URL 外部 URL
https://gitlab.com/caidongyun/agent-security-skill-scanner PUBLISH_CHANNELS.md:267 中危 外部 URL 外部 URL
https://bitbucket.org PUBLISH_CHANNELS.md:282 中危 外部 URL 外部 URL
https://www.producthunt.com PUBLISH_CHANNELS.md:298 中危 外部 URL 外部 URL
https://news.ycombinator.com PUBLISH_CHANNELS.md:312 中危 外部 URL 外部 URL
https://gitee.com PUBLISH_CHANNELS.md:494 中危 外部 URL 外部 URL
https://img.shields.io/badge/version-2.0.1-blue.svg README.en.md:5 中危 外部 URL 外部 URL
https://img.shields.io/badge/license-MIT-green.svg README.en.md:6 中危 外部 URL 外部 URL
https://img.shields.io/badge/python-3.8+-yellow.svg README.en.md:7 中危 外部 URL 外部 URL
https://www.python.org/ README.en.md:7 中危 外部 URL 外部 URL
https://img.shields.io/badge/version-2.2.1-blue.svg README.md:5 中危 外部 URL 外部 URL
https://gitee.com/caidongyun/agent-security-skill-scanner/blob/master/README.md clawhub.yaml:15 目录结构
66 文件 · 475.6 KB · 18216 行 JSON 31f · 8705L
Markdown 15f · 5270L
Python 17f · 4115L
Shell 1f · 65L
YAML 2f · 61L
├─
▾
data
│ ├─
▾
whitelist
│ │ ├─
false_positive_whitelist.json
JSON
│ │ └─
local.json
JSON
│ ├─
combo_detection_rules.json
JSON
│ └─
intent_detection_rules.json
JSON
├─
▾
detectors
│ ├─
__init__.py
Python
│ ├─
malware.py
Python
│ └─
metadata.py
Python
├─
▾
docs
│ ├─
CAPABILITIES.md
Markdown
│ ├─
PROJECT_BRIEF.md
Markdown
│ ├─
QUICK_GUIDE.md
Markdown
│ ├─
RELEASE_CHECKLIST.md
Markdown
│ └─
STATISTICS.md
Markdown
├─
▾
npm-rules
│ ├─
detection_rules.json
JSON
│ ├─
package.json
JSON
│ ├─
public.json
JSON
│ └─
README.md
Markdown
├─
▾
reporters
│ ├─
__init__.py
Python
│ └─
report_generator.py
Python
├─
▾
reports
│ ├─
iteration_report_20260316_151810.json
JSON
│ ├─
iteration_report_20260316_151812.json
JSON
│ ├─
iteration_report_20260316_151814.json
JSON
│ ├─
iteration_report_20260316_151816.json
JSON
│ ├─
iteration_report_20260316_151819.json
JSON
│ ├─
iteration_report_20260316_151822.json
JSON
│ ├─
iteration_report_20260316_151825.json
JSON
│ ├─
iteration_report_20260316_151827.json
JSON
│ ├─
iteration_report_20260316_151830.json
JSON
│ ├─
iteration_report_20260316_151833.json
JSON
│ ├─
iteration_report_20260316_151835.json
JSON
│ ├─
iteration_report_20260316_151838.json
JSON
│ ├─
iteration_report_20260316_151841.json
JSON
│ ├─
iteration_report_20260316_151844.json
JSON
│ ├─
iteration_report_20260316_151846.json
JSON
│ ├─
iteration_report_20260316_151849.json
JSON
│ ├─
iteration_report_20260316_151852.json
JSON
│ ├─
iteration_report_20260316_151854.json
JSON
│ ├─
iteration_report_20260316_151856.json
JSON
│ ├─
iteration_report_20260316_151858.json
JSON
│ ├─
iteration_report_20260316_151901.json
JSON
│ └─
iteration_report_20260316_151903.json
JSON
├─
▾
scripts
│ ├─
generate_report.py
Python
│ ├─
pre_publish_check.py
Python
│ └─
release_checker.py
Python
├─
auto_iteration.py
Python
├─
CAPABILITIES.md
Markdown
├─
clawhub.yaml
YAML
├─
cli.py
Python
├─
detection_rules.json
JSON
├─
dynamic_detector.py
Python
├─
I18N.md
Markdown
├─
install.sh
Shell
├─
NPM_PUBLISH_PLAN.md
Markdown
├─
parallel_scanner.py
Python
├─
public.json
JSON
├─
PUBLISH_CHANNELS.md
Markdown
├─
README.en.md
Markdown
├─
README.md
Markdown
├─
RELEASE.md
Markdown
├─
risk_scanner.py
Python
├─
rule_iterator.py
Python
├─
scanner_cli.py
Python
├─
setup.py
Python
├─
SKILL.md
Markdown
├─
skill.yaml
YAML
├─
static_analyzer.py
Python
└─
STATISTICS.md
Markdown
依赖分析 1 项
| 包名 | 版本 | 来源 | 已知漏洞 | 备注 |
|---|---|---|---|---|
无外部依赖 | N/A | pip | 否 | setup.py install_requires=[],完全自包含 |
安全亮点
✓ 声明的 permissions (file.read/write/list) 与实际代码行为完全匹配
✓ 无硬编码凭证、API 密钥或敏感数据外传
✓ 无 base64/eval/exec 混淆执行链
✓ 无凭证收割行为(不读取 ~/.ssh、~/.aws、.env)
✓ 无外部 C2 通信或数据外泄
✓ 使用 subprocess 的场景均为调用内部扫描器(parallel_scanner、static_analyzer 等),参数为静态列表
✓ 依赖列表为空(setup.py install_requires=[]),无第三方依赖引入的供应链风险
✓ install.sh 仅创建虚拟环境、设置权限,无网络下载或管道执行
✓ rules/ 目录中的规则为防御性检测模式,用于识别恶意技能,非攻击代码