Skill Trust Decision

aibtc

技能通过 npx 动态执行远程 npm 包(aibtc-worker),存在供应链风险,且 SKILL.md 对远程代码获取行为的声明不充分。

Install decision first Source: ClawHub Scanned: Jun 22, 2026
Files 4
Artifacts 6
Violations 2
Findings 4
Most direct threat evidence
01
用户执行 aibtc run <BSC地址> 启动挖矿 Entry · SKILL.md
02
handler.js 通过 npx --yes 动态下载并执行远程 aibtc-worker 包 Escalation · handler.js
03
挖矿进程在后台持续运行,消耗 CPU/网络,地址被用于挖矿奖励分发 Impact · handler.js

Why this conclusion was reached

2/4 dimensions flagged
Block
Declared vs actual capability

2 undeclared or violating capabilities were inferred.

Review
Hidden execution and egress

6 lower-risk artifacts were extracted and still need context.

Block
Attack chain and severe findings

The report includes 3 attack-chain steps and 1 severe findings.

Review
Dependencies and supply chain hygiene

1 dependency or supply-chain issues need attention.

Attack Chain

01
用户执行 aibtc run <BSC地址> 启动挖矿

Entry · SKILL.md:14

02
handler.js 通过 npx --yes 动态下载并执行远程 aibtc-worker 包

Escalation · handler.js:28

03
挖矿进程在后台持续运行,消耗 CPU/网络,地址被用于挖矿奖励分发

Impact · handler.js:29

What drove the risk score up

未声明的供应链依赖 +20

handler.js 通过 npx --yes aibtc-worker 执行远程 npm 包,但 SKILL.md 未在显眼位置说明依赖外部代码

无版本锁定的动态执行 +15

npx aibtc-worker 无版本指定,每次执行可能获取不同代码

免责声明位置隐蔽 +10

病毒扫描警告被放在底部 AIBTC Skill Disclaimer 小节,高风险信息未前置

Most important evidence

High Supply Chain

动态执行未版本锁定的远程 npm 包

handler.js 使用 `npx --yes aibtc-worker` 无版本指定直接执行远程包,代码可能在用户不知情下变更

handler.js:28
在安装阶段预获取并锁定版本,或要求用户提供已审核的本地包路径
Medium Doc Mismatch

供应链依赖声明不充分

SKILL.md 未在显眼位置说明执行依赖于远程第三方包,高风险免责声明位于文档底部

SKILL.md:1
在 SKILL.md 顶部明确声明依赖外部 npm 包 aibtc-worker 及其来源
Medium Sensitive Access

用户输入直接传入外部代码

用户提供的 BSC 地址直接作为参数传递给远程包,存在地址被用于追踪或关联的风险

handler.js:28
验证地址格式合法性,并在文档中明确告知地址的用途和处理方式
Low Priv Escalation

后台持久化进程未声明

使用 detached: true 启动后台挖矿进程,但 SKILL.md 未说明进程会脱离父进程独立运行

handler.js:29
在文档中说明挖矿进程将作为后台服务运行

Declared capability vs actual capability

Shell Pass
Declared WRITE
Inferred WRITE
handler.js:28 - spawn('npx', ['--yes', 'aibtc-worker', ...])
Network Block
Declared NONE
Inferred READ
npx 执行会触发 npm registry 下载,且挖矿需要持续网络通信
Filesystem Block
Declared NONE
Inferred WRITE
handler.js:43 - fs.writeFileSync(STATE_FILE, ...)

Suspicious artifacts and egress

Medium External URL
https://aibtc.work

SKILL.md:17

Medium External URL
https://x.com/aibtc_

SKILL.md:18

Medium External URL
https://t.me/aibtcchat

SKILL.md:19

Medium External URL
https://t.me/aibtc_ann

SKILL.md:20

Medium External URL
https://clawhub.ai/user/AphobiaCat

skill-card.md:7

Medium External URL
https://clawhub.ai/AphobiaCat/aibtc

skill-card.md:29

Dependencies and supply chain

PackageVersionSourceKnown vulnNotes
aibtc-worker latest (unpinned) npm registry Yes 通过 npx 动态获取,无版本锁定,存在供应链风险

File composition

4 files · 235 lines
Markdown 2 files · 133 linesJavaScript 1 files · 97 linesJSON 1 files · 5 lines
Files of concern · 3
SKILL.md Markdown · 89 lines
供应链依赖声明不充分 · https://aibtc.work · https://x.com/aibtc_ · https://t.me/aibtcchat · https://t.me/aibtc_ann
handler.js JavaScript · 97 lines
动态执行未版本锁定的远程 npm 包 · 用户输入直接传入外部代码 · 后台持久化进程未声明
skill-card.md Markdown · 44 lines
https://clawhub.ai/user/AphobiaCat · https://clawhub.ai/AphobiaCat/aibtc
Other files · _meta.json

Security positives

代码结构简单,可读性较好
skill-card.md 已标注供应链风险
有进程管理(启动/停止/状态检查)
提供了源代码链接供用户审查