Skill Trust Decision

bankbid-daily-free

功能正常的商业 API 客户端,收集设备指纹和存储凭证属于正常运营需要,但文档对写入凭证和上报原始设备信息的描述不够透明。

Install decision first Source: ClawHub Scanned: 23 days ago
Files 4
Artifacts 2
Violations 1
Findings 3

Why this conclusion was reached

1/4 dimensions flagged
Block
Declared vs actual capability

1 undeclared or violating capabilities were inferred.

Review
Hidden execution and egress

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

Pass
Attack chain and severe findings

There is no explicit malicious chain in the report.

Review
Dependencies and supply chain hygiene

Dependency information is incomplete, so supply-chain confidence stays limited.

What drove the risk score up

凭证写入未充分声明 +10

SKILL.md 说明读取凭证但未明确告知会自动创建 ~/.bankbid/credentials.json

设备指纹上报原始值 +8

代码上报 hostname/username/home 等原始字段,虽有降级处理说明但透明度不足

外部服务依赖 +4

依赖外部商业服务 www.tokendidi.cn,无恶意行为但构成供应链风险

Most important evidence

Medium Doc Mismatch

凭证写入操作未在文档中明确声明

SKILL.md 只说明「读取本地凭证 ~/.bankbid/credentials.json」,未告知首次调用时会自动创建该文件保存 account_key。代码实现了自动写入但文档未声明。

scripts/run.mjs:98
在 SKILL.md 的「用法 B:Node 薄客户端」部分补充说明:首次成功调用后会自动将 account_key 写入 ~/.bankbid/credentials.json
Low Sensitive Access

设备指纹包含主机标识信息

代码读取 /etc/machine-id、hostname、username、homedir 等系统标识并上报给外部服务端,虽说明「哈希由服务端加盐算」但上报的是原始值。

scripts/run.mjs:17
考虑在客户端本地计算哈希后再上报,或在文档中明确告知会上报哪些原始标识信息
Low Supply Chain

依赖外部商业服务

技能核心功能依赖外部服务端 www.tokendidi.cn,服务可用性和数据安全由第三方保障。

SKILL.md:26
了解服务商的隐私政策和服务条款;如对数据处理有疑虑,优先使用 curl 方式手动控制请求

Declared capability vs actual capability

Filesystem Block
Declared READ
→
Inferred WRITE
scripts/run.mjs:98-100 - 自动创建 ~/.bankbid/credentials.json
Network Pass
Declared READ
→
Inferred READ+WRITE
POST 到外部 API 并接收响应,属声明范围内的网络调用
Shell Pass
Declared WRITE
→
Inferred READ
仅用于读取系统信息(macOS ioreg/Windows reg),无危险命令执行

Suspicious artifacts and egress

Medium External URL
https://www.tokendidi.cn/api/bankbid/api/v1/bankbid-daily

README.md:26

Medium External URL
https://skillpay.alipay.com/buildguide.md

README.md:89

Dependencies and supply chain

There are no structured dependency warnings.

File composition

4 files · 372 lines
Markdown 2 files · 232 linesJavaScript 1 files · 134 linesJSON 1 files · 6 lines
Files of concern · 3
README.md Markdown · 116 lines
https://www.tokendidi.cn/api/bankbid/api/v1/bankbid-daily · https://skillpay.alipay.com/buildguide.md
SKILL.md Markdown · 116 lines
依赖外部商业服务
scripts/run.mjs JavaScript · 134 lines
凭证写入操作未在文档中明确声明 · 设备指纹包含主机标识信息
Other files · sample.json

Security positives

代码结构清晰,无混淆或隐藏执行逻辑
错误处理完善(网络失败、402 额度耗尽等场景均有处理)
凭证只存储在本地,不会上传到其他位置
容器场景有降级处理逻辑,防止基础镜像 machine-id 导致误判
明确禁止在文件中硬编码 API Key