skill-gatekeeper
Skill Gatekeeper uses undeclared child_process.exec with a hardcoded Windows path (C:/Users/ReaMasTer/) to invoke an external CLI tool, violating its own documented security principles.
为什么得出这个结论
2/4 个维度触发发现 2 项声明之外的能力或越权行为。
提取到 1 个一般风险产物,需要结合上下文判断。
报告包含 3 步攻击链,另有 2 项高危或严重发现。
没有完整依赖信息,供应链判断需要保留弹性。
攻击链
初始入口 · SKILL.md:1
权限提升 · gatekeeper.ts:298
最终危害 · gatekeeper.ts:298
风险分是怎么被拉高的
SKILL.md never declares child_process.exec usage; line 298 executes shell commands
C:/Users/ReaMasTer/ - specific user path not declared, potential credential harvesting vector
Tool scans other skills for child_process.exec (line 76) but uses it itself
Depends on external clawhub.js at undeclared path
最关键的证据
Undeclared child_process.exec with hardcoded path
The skill executes external commands via child_process.execSync using a hardcoded Windows path C:/Users/ReaMasTer/AppData/Roaming/npm/node_modules/clawhub/bin/clawdhub.js. This is never mentioned in SKILL.md and targets a specific user's npm installation.
gatekeeper.ts:298 Self-contradicting security behavior
The skill scans other skills for dangerous patterns including child_process.exec but uses child_process.execSync itself. This 'do as I say, not as I do' pattern is a red flag.
gatekeeper.ts:76 Hidden external tool dependency
The skill depends on an external CLI tool (clawhub) at a specific Windows path. This dependency is not declared in SKILL.md and introduces supply chain risk.
gatekeeper.ts:298 声明能力 vs 实际能力
gatekeeper.ts:298 - writes to SKILL_DIR, QUARANTINE_DIR gatekeeper.ts:298 - child_process.execSync with hardcoded path gatekeeper.ts:112 - VirusTotal API POST 可疑产物与外联
https://www.virustotal.com/api/v3/files/$ gatekeeper.ts:112
依赖与供应链
没有结构化依赖告警。
文件构成
gatekeeper.ts