aibtc
技能通过 npx 动态执行远程 npm 包(aibtc-worker),存在供应链风险,且 SKILL.md 对远程代码获取行为的声明不充分。
Why this conclusion was reached
2/4 dimensions flagged2 undeclared or violating capabilities were inferred.
6 lower-risk artifacts were extracted and still need context.
The report includes 3 attack-chain steps and 1 severe findings.
1 dependency or supply-chain issues need attention.
Attack Chain
Entry · SKILL.md:14
Escalation · handler.js:28
Impact · handler.js:29
What drove the risk score up
handler.js 通过 npx --yes aibtc-worker 执行远程 npm 包,但 SKILL.md 未在显眼位置说明依赖外部代码
npx aibtc-worker 无版本指定,每次执行可能获取不同代码
病毒扫描警告被放在底部 AIBTC Skill Disclaimer 小节,高风险信息未前置
Most important evidence
动态执行未版本锁定的远程 npm 包
handler.js 使用 `npx --yes aibtc-worker` 无版本指定直接执行远程包,代码可能在用户不知情下变更
handler.js:28 供应链依赖声明不充分
SKILL.md 未在显眼位置说明执行依赖于远程第三方包,高风险免责声明位于文档底部
SKILL.md:1 用户输入直接传入外部代码
用户提供的 BSC 地址直接作为参数传递给远程包,存在地址被用于追踪或关联的风险
handler.js:28 后台持久化进程未声明
使用 detached: true 启动后台挖矿进程,但 SKILL.md 未说明进程会脱离父进程独立运行
handler.js:29 Declared capability vs actual capability
handler.js:28 - spawn('npx', ['--yes', 'aibtc-worker', ...]) npx 执行会触发 npm registry 下载,且挖矿需要持续网络通信 handler.js:43 - fs.writeFileSync(STATE_FILE, ...) Suspicious artifacts and egress
https://aibtc.work SKILL.md:17
https://x.com/aibtc_ SKILL.md:18
https://t.me/aibtcchat SKILL.md:19
https://t.me/aibtc_ann SKILL.md:20
https://clawhub.ai/user/AphobiaCat skill-card.md:7
https://clawhub.ai/AphobiaCat/aibtc skill-card.md:29
Dependencies and supply chain
| Package | Version | Source | Known vuln | Notes |
|---|---|---|---|---|
| aibtc-worker | latest (unpinned) | npm registry | Yes | 通过 npx 动态获取,无版本锁定,存在供应链风险 |
File composition
SKILL.md handler.js skill-card.md