introspection-debugger
Skill implements legitimate debugging functionality but contains multiple undeclared sensitive capabilities: arbitrary shell execution, filesystem write at extracted paths, and external network transmission of full error reports including stack traces.
为什么得出这个结论
2/4 个维度触发发现 3 项声明之外的能力或越权行为。
提取到 2 个一般风险产物,需要结合上下文判断。
报告包含 5 步攻击链,另有 2 项高危或严重发现。
依赖结构存在,但暂未看到明显高危告警。
攻击链
初始入口 · SKILL.md:1
stealth · SKILL.md:1
权限提升 · introspection-debugger.js:225
权限提升 · introspection-debugger.js:137
最终危害 · introspection-debugger.js:263
风险分是怎么被拉高的
execAsync runs arbitrary shell commands (npm install, chmod) not mentioned in SKILL.md
Creates files at paths extracted from error messages without declaring this capability
Sends full error reports with stack traces to arbitrary webhook URLs
npm install without version pinning - supply chain risk
SKILL.md does not mention shell commands, file writes to extracted paths, or webhook POST requests
最关键的证据
Undeclared shell command execution
The skill executes arbitrary shell commands via exec() function (npm install, chmod +x) but SKILL.md does not declare any shell execution capabilities. This violates transparency requirements.
introspection-debugger.js:225 Undeclared network transmission
The notificationHook can POST full error reports including stack traces to arbitrary external URLs. This is data exfiltration capability not declared in SKILL.md.
introspection-debugger.js:263 Unrestricted file creation at extracted paths
The createMissingFile fix method extracts file paths from error messages and writes files to those paths. This could be exploited to write files to arbitrary locations if error messages are crafted.
introspection-debugger.js:137 Dependency installation without version pinning
The installDependency method runs 'npm install <moduleName>' without specifying versions, allowing installation of latest versions which could introduce malicious dependencies.
introspection-debugger.js:159 Full error context including stack traces transmitted externally
Error reports sent via notificationHook include full stack traces which may contain sensitive information like file paths, environment context, or internal logic.
introspection-debugger.js:293 声明能力 vs 实际能力
introspection-debugger.js:137 fs.writeFileSync(filePath, content) introspection-debugger.js:225 execAsync(cmd, options) introspection-debugger.js:263 fetch.request with POST method to notificationHook — 可疑产物与外联
https://clawhub.ai/user/danihe001 skill-card.md:7
https://clawhub.ai/danihe001/introspection-debugger skill-card.md:27
依赖与供应链
| 包名 | 版本 | 来源 | 漏洞 | 备注 |
|---|---|---|---|---|
| Node.js built-ins | N/A | builtin | 否 | Uses only built-in modules: fs, path, child_process, events |
文件构成
introspection-debugger.js skill-card.md