Scan Report
This report was generated in Chinese. Some content may be in Chinese.
5 /100
agent-security-skill-scanner
AI Agent 技能安全扫描器 - 检测恶意技能、后门代码、权限滥用
AI Agent 技能安全扫描器,核心功能为检测恶意代码模式、权限滥用和依赖风险,代码为防御性质,声称权限与实际行为一致,无恶意发现。
Safe to install
可直接使用。无需修改或限制。
Findings 2 items
| Severity | Finding | Location |
|---|---|---|
| Low | 预置白名单来源未文档化 Doc Mismatch | scripts/generate_report.py:27 |
| Info | auto_iteration.py 引用不存在的依赖脚本 Supply Chain | auto_iteration.py:62 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Filesystem | WRITE | WRITE | ✓ Aligned | cli.py:scan_skill() 读写文件生成报告; install.sh 设置执行权限; 检测结果写入 JSON 文件 |
| Network | NONE | NONE | — | 代码中仅有静态 URL 提取(re.findall https?://),无 requests/urllib 等实际网络请求 |
| Shell | NONE | NONE | — | subprocess 调用仅用于运行内部扫描脚本(parallel_scanner.py、static_analyzer.py 等),参数为静态路径列表 |
| Environment | NONE | NONE | — | 仅在 risk_scanner.py:risk_level 判断中使用 os.path.expanduser(~/.openclaw/workspace),未遍… |
| Clipboard | NONE | NONE | — | 未使用 |
| Browser | NONE | NONE | — | 未使用 |
| Database | NONE | NONE | — | 未使用 |
| Skill Invoke | NONE | NONE | — | 未使用 |
1 Critical 26 findings
Critical Dangerous Command 危险 Shell 命令
rm -rf / rule_iterator.py:333 Medium External URL 外部 URL
https://gitee.com/caidongyun/agent-security-skill-scanner CAPABILITIES.md:468 Medium External URL 外部 URL
https://gitee.com/caidongyun/agent-security-skill-scanner/issues I18N.md:221 Medium External URL 外部 URL
https://packaging.python.org NPM_PUBLISH_PLAN.md:365 Medium External URL 外部 URL
https://docs.npmjs.com NPM_PUBLISH_PLAN.md:366 Medium External URL 外部 URL
https://www.npmjs.com/package/agent-security-scanner PUBLISH_CHANNELS.md:98 Medium External URL 外部 URL
https://www.npmjs.com PUBLISH_CHANNELS.md:108 Medium External URL 外部 URL
https://clawhub.com PUBLISH_CHANNELS.md:126 Medium External URL 外部 URL
https://huggingface.co/caidongyun PUBLISH_CHANNELS.md:145 Medium External URL 外部 URL
https://huggingface.co PUBLISH_CHANNELS.md:161 Medium External URL 外部 URL
https://modelscope.cn PUBLISH_CHANNELS.md:182 Medium External URL 外部 URL
https://caidongyun.gitbook.io/agent-security-scanner PUBLISH_CHANNELS.md:219 Medium External URL 外部 URL
https://gitbook.com PUBLISH_CHANNELS.md:229 Medium External URL 外部 URL
https://agent-security-scanner.readthedocs.io PUBLISH_CHANNELS.md:241 Medium External URL 外部 URL
https://readthedocs.org PUBLISH_CHANNELS.md:253 Medium External URL 外部 URL
https://gitlab.com/caidongyun/agent-security-skill-scanner PUBLISH_CHANNELS.md:267 Medium External URL 外部 URL
https://bitbucket.org PUBLISH_CHANNELS.md:282 Medium External URL 外部 URL
https://www.producthunt.com PUBLISH_CHANNELS.md:298 Medium External URL 外部 URL
https://news.ycombinator.com PUBLISH_CHANNELS.md:312 Medium External URL 外部 URL
https://gitee.com PUBLISH_CHANNELS.md:494 Medium External URL 外部 URL
https://img.shields.io/badge/version-2.0.1-blue.svg README.en.md:5 Medium External URL 外部 URL
https://img.shields.io/badge/license-MIT-green.svg README.en.md:6 Medium External URL 外部 URL
https://img.shields.io/badge/python-3.8+-yellow.svg README.en.md:7 Medium External URL 外部 URL
https://www.python.org/ README.en.md:7 Medium External URL 外部 URL
https://img.shields.io/badge/version-2.2.1-blue.svg README.md:5 Medium External URL 外部 URL
https://gitee.com/caidongyun/agent-security-skill-scanner/blob/master/README.md clawhub.yaml:15 File Tree
66 files · 475.6 KB · 18216 lines 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
Dependencies 1 items
| Package | Version | Source | Known Vulns | Notes |
|---|---|---|---|---|
无外部依赖 | N/A | pip | No | setup.py install_requires=[],完全自包含 |
Security Positives
✓ 声明的 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/ 目录中的规则为防御性检测模式,用于识别恶意技能,非攻击代码