introspection-debugger
自省调试框架具有未声明的自动安装依赖和向外部发送错误报告能力,存在数据外泄和供应链风险。
Why this conclusion was reached
1/4 dimensions flagged2 undeclared or violating capabilities were inferred.
2 lower-risk artifacts were extracted and still need context.
There is no explicit malicious chain in the report.
Dependencies are present but no obvious high-risk issue stands out.
What drove the risk score up
installDependency 方法自动执行 npm install,但 SKILL.md 仅描述'自动修复'未明确声明会安装 npm 包
notifyHuman 通过 HTTP POST 发送完整报告(包括堆栈),SKILL.md 未说明数据去向
npm install 无版本锁定,可能拉取恶意依赖
Most important evidence
未声明的自动依赖安装
代码在检测到 MODULE_NOT_FOUND 错误时会自动执行 npm install 安装缺失模块,但 SKILL.md 仅描述为'自动修复'未明确声明此行为,存在阴影功能。
introspection-debugger.js:161 报告外发机制未声明
notifyHuman 方法支持通过 HTTP webhook 发送完整错误报告到外部 URL,包括堆栈信息。如果报告被配置发送到不可信端点,可能导致敏感信息(文件路径、API 密钥片段等)外泄。
introspection-debugger.js:238 npm install 无版本锁定
installDependency 方法执行 npm install 时未指定版本锁定,可能安装最新版本依赖,存在供应链攻击风险。
introspection-debugger.js:168 chmod +x 权限修改
fixPermissions 方法会自动给文件添加执行权限,用于修复 EACCES 错误。虽然是合理的调试行为,但存在被滥用执行任意脚本的风险。
introspection-debugger.js:155 Declared capability vs actual capability
SKILL.md:自动修复 - 自动创建文件 introspection-debugger.js:168 exec('npm install') introspection-debugger.js:244-256 notifyHuman POST报告 错误堆栈可能包含环境变量中的凭证信息 Suspicious artifacts and egress
https://clawhub.ai/user/danihe001 skill-card.md:7
https://clawhub.ai/danihe001/introspection-debugger skill-card.md:27
Dependencies and supply chain
| Package | Version | Source | Known vuln | Notes |
|---|---|---|---|---|
| node-fetch (或 node:https) | builtin | stdlib | No | 使用 Node.js 内置 https 模块进行网络请求 |
File composition
introspection-debugger.js skill-card.md