skill-registry-unified
该技能存在未声明的远程代码执行能力:代码通过 child_process.spawn 执行 npx clawdhub search 从外部安装技能,但 SKILL.md 未声明 shell 权限和远程安装行为。
代码通过 child_process.spawn 执行 npx clawdhub search 命令,该命令会从远程仓库搜索并安装技能。SKILL.md 完全未声明此 shell:WRITE 和 network:READ 能力。
registry_unified.js:40 Why this conclusion was reached
2/4 dimensions flagged4 undeclared or violating capabilities were inferred.
No obvious high-risk egress or execution signals were found.
The report includes 4 attack-chain steps and 2 severe findings.
1 dependency or supply-chain issues need attention.
Attack Chain
Entry · SKILL.md:1
Escalation · registry_unified.js:40
Escalation · registry_unified.js:40
Impact · registry_unified.js:40
What drove the risk score up
SKILL.md未声明但代码通过spawn执行npx clawdhub search安装远程技能
代码实际执行远程安装,但文档完全未提及
从clawdhub安装的技能未经过严格安全验证
Most important evidence
未声明的远程代码执行
代码通过 child_process.spawn 执行 npx clawdhub search 命令,该命令会从远程仓库搜索并安装技能。SKILL.md 完全未声明此 shell:WRITE 和 network:READ 能力。
registry_unified.js:40 阴影功能:远程安装技能
SKILL.md 声称'安全安装'但未说明实际通过 clawdhub 从外部源安装代码,存在供应链风险。
SKILL.md:1 缺少依赖版本锁定
代码依赖 js-yaml 但无 package.json 或 requirements.txt 锁定版本。
registry_unified.js, scan-all-skills.js:3 有限的安全扫描
vetSkill() 仅检查文件名包含敏感关键字,不扫描文件内容,且发现可疑文件后仅返回 false 而非阻止安装。
registry_unified.js:28 Declared capability vs actual capability
registry_unified.js:18, scan-all-skills.js:26 registry_unified.js:0, scan-all-skills.js:60 registry_unified.js:40 npx clawdhub search registry_unified.js:40 通过npx clawdhub访问远程仓库 Suspicious artifacts and egress
No obvious IOC was extracted.
Dependencies and supply chain
| Package | Version | Source | Known vuln | Notes |
|---|---|---|---|---|
| js-yaml | * | require (implicit) | No | 无 package.json,版本未知 |
File composition
registry_unified.js SKILL.md