skill-gatekeeper
Skill Gatekeeper 是合法的安全审核工具,但存在未声明的外部命令执行和硬编码路径问题,需要谨慎审查。
Why this conclusion was reached
2/4 dimensions flagged3 undeclared or violating capabilities were inferred.
1 lower-risk artifacts were extracted and still need context.
The report includes 3 attack-chain steps and 2 severe findings.
Dependency information is incomplete, so supply-chain confidence stays limited.
Attack Chain
Entry · SKILL.md:28
Escalation · gatekeeper.ts:261
Impact · gatekeeper.ts:261
What drove the risk score up
使用 child_process.execSync 执行 clawhub CLI,但 SKILL.md 未声明此行为
gatekeeper.ts:261 硬编码 C:/Users/ReaMasTer/AppData/Roaming/npm/...
SKILL.md 未声明 filesystem:WRITE 和 shell:WRITE 权限
Most important evidence
未声明的外部命令执行
代码使用 child_process.execSync 执行 clawhub CLI 工具安装技能,但 SKILL.md 中未声明此行为。这是明显的阴影功能。
gatekeeper.ts:261 硬编码用户路径信息泄露
代码中硬编码了 Windows 用户路径 'C:/Users/ReaMasTer/',这暴露了开发者的系统信息,在跨平台部署时会导致功能失效。
gatekeeper.ts:261 声明-行为权限不一致
SKILL.md 描述为'自动审核'工具,但未声明实际的 filesystem:WRITE 和 shell:WRITE 权限需求
SKILL.md:1 依赖 clawhub CLI 工具
安装功能依赖外部 clawhub 工具的可用性,该工具不在 skill 包内
gatekeeper.ts:261 Declared capability vs actual capability
gatekeeper.ts:55-57 cpSync/mkdirSync 复制文件到沙盒目录 gatekeeper.ts:261 execSync 调用外部 CLI 工具 gatekeeper.ts:112 fetch 访问 VirusTotal API Suspicious artifacts and egress
https://www.virustotal.com/api/v3/files/$ gatekeeper.ts:112
Dependencies and supply chain
There are no structured dependency warnings.
File composition
gatekeeper.ts SKILL.md