Scan Report
8 /100
skill-security-scanner
企业级 AI Agent Skill 安全检测工具 — 自动检测 ClawHub/GitHub/本地 Skill 的安全风险,基于 57 条规则进行静态分析
Skill Security Scanner 是合法的安全扫描工具,扫描脚本中的危险命令 IOC 均来自 reference 文档中的检测规则说明,非实际执行动作。无恶意行为,能力越权仅轻微(temp 目录写操作未显式声明)。
Safe to install
无需限制使用。可在生产环境部署,用于扫描第三方 Skill 的安全性。
Findings 3 items
| Severity | Finding | Location |
|---|---|---|
| Low | 能力声明宽泛 — temp 目录写入未显式声明 Doc Mismatch | scripts/scan.sh:266 |
| Info | 无依赖锁定 — 无 package.json/requirements.txt Supply Chain | - |
| Info | IOC 误报 — dangerous-commands.md 中的危险命令为检测规则说明,非实际执行 Obfuscation | references/dangerous-commands.md:7-13:7 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Filesystem | NONE | WRITE | ✓ Aligned | scripts/scan.sh:266 mktemp + unzip 用于解压远程 skill;scripts/scan.sh:390 rm -rf $TARG… |
| Network | NONE | READ | ✓ Aligned | scripts/scan.sh:252 curl -sL 从 Convex API 下载远程 skill;SKILL.md:148 声明支持远程 URL 扫描 |
| Shell | NONE | READ | ✓ Aligned | scripts/scan.sh 使用 grep/find 对目标 skill 进行静态分析;node/index.js:5 execSync 调用 shell … |
| Environment | NONE | READ | ✓ Aligned | 仅读取 HOME 变量定位 skills 目录 scripts/scan-all.sh:8 $HOME/.openclaw/workspace/skills,合… |
| Skill Invoke | NONE | NONE | — | 无 |
| Clipboard | NONE | NONE | — | 无 |
| Browser | NONE | NONE | — | 无 |
| Database | NONE | NONE | — | 无 |
7 Critical 12 findings
Critical Dangerous Command 危险 Shell 命令
rm -rf / references/dangerous-commands.md:7 Critical Dangerous Command 危险 Shell 命令
rm -rf ~ references/dangerous-commands.md:8 Critical Dangerous Command 危险 Shell 命令
curl \| bash references/dangerous-commands.md:10 Critical Dangerous Command 危险 Shell 命令
wget -O- \| sh references/dangerous-commands.md:11 Critical Dangerous Command 危险 Shell 命令
curl https://... \| sh references/dangerous-commands.md:12 Critical Dangerous Command 危险 Shell 命令
wget https://... \| bash references/dangerous-commands.md:13 Critical Dangerous Command 危险 Shell 命令
wget \| bash references/rules.md:125 Medium External URL 外部 URL
https://clawhub.ai/AphobiaCat/aibtc SKILL.md:82 Medium External URL 外部 URL
https://clawhub.ai/chrisochrisochriso-cmyk/clawsec SKILL.md:87 Medium External URL 外部 URL
https://clawhub.ai/owner/skill-name SKILL.md:148 Medium External URL 外部 URL
https://wry-manatee-359.convex.site/api/v1/download?slug=$(echo scripts/scan.sh:252 Medium External URL 外部 URL
https://clawhub.ai/steipete/video-frames scripts/scan.sh:394 File Tree
11 files · 68.0 KB · 1844 lines Markdown 4f · 1020L
Shell 3f · 591L
JavaScript 3f · 231L
Text 1f · 2L
├─
▾
node
│ ├─
index.js
JavaScript
│ └─
scanner.js
JavaScript
├─
▾
references
│ ├─
dangerous-commands.md
Markdown
│ └─
rules.md
Markdown
├─
▾
scripts
│ ├─
run.sh
Shell
│ ├─
scan-all.sh
Shell
│ └─
scan.sh
Shell
├─
index.js
JavaScript
├─
SKILL_EN.md
Markdown
├─
SKILL.md
Markdown
└─
whitelist.txt
Text
Security Positives
✓ 纯 shell + 原生工具实现,无第三方依赖,消除供应链攻击面
✓ 文档与代码高度一致 — 57 条检测规则全部有对应实现
✓ 扫描后自动清理 temp 目录(rm -rf $TARGET_DIR),不留残留
✓ 支持白名单机制防止误报(whitelist.txt)
✓ 参考文档(references/)作为知识库,记录了 51 个恶意样本的攻击模式
✓ 白名单默认包含 minebean 等已知合法 skill,决策透明
✓ 无凭证收割、无远程代码执行、无数据外泄