Skill Trust Decision

asset-impairment-check-free

技能核心功能(资产减值检查)代码干净,但存在影子网络行为:向外部服务器发送由主机名+用户名生成的安装标识,自称「匿名」但实际可追踪特定用户/机器。声明的 Bash 权限与实际行为不符。

Install decision first Source: ClawHub Scanned: 24 days ago
Files 4
Artifacts 1
Violations 3
Findings 3
Most direct threat evidence

Why this conclusion was reached

1/4 dimensions flagged
Block
Declared vs actual capability

3 undeclared or violating capabilities were inferred.

Review
Hidden execution and egress

1 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

影子网络行为 - 可识别的 sid 生成 +20

run.mjs:217-219 使用 hostname()+username 生成 SHA1 哈希发送外部服务器,自称匿名但可追踪特定机器+用户

文档欺骗 - 匿名声明与实际不符 +15

SKILL.md 声称 sid 为匿名安装标识,但 hostname+username 组合可唯一识别用户环境

未声明的外部网络通信 +10

向 www.tokendidi.cn/api/free-hint 发请求,SKILL.md 仅模糊提及「匿名次数统计」

能力声明不符 - 声明 Bash 但未使用 +5

allowed-tools 声明 Bash,实际代码无任何 shell 执行,纯属多余声明

第三方域名无信任链披露 +5

向中国企业域名发送可识别信息,无隐私政策或数据处理说明

Most important evidence

Medium Doc Mismatch

匿名标识声明与实际不符

SKILL.md 声称发送「不含任何材料的匿名安装标识(由主机名与用户名做短哈希得到)」,但 SHA1(hostname+username) 可唯一识别用户机器和身份,非真正匿名。

scripts/run.mjs:217
使用随机 UUID 或删除遥测;如需统计使用量,使用完全独立的随机安装 ID,不与机器/用户信息关联
Medium Data Exfil

未充分披露的外部网络通信

技能在每次执行后向 www.tokendidi.cn 发送 `id` 和 `sid` 参数,收集使用频率和用户环境信息,作为「次数统计」功能。无隐私政策说明数据保留期限和用途。

scripts/run.mjs:227
在 SKILL.md 中明确披露第三方服务商、数据字段含义、用途和保留策略;考虑使用可信的统计服务或本地离线计数
Low Priv Escalation

能力声明超出实际需要

allowed-tools 声明 Bash 但代码未使用任何 shell 执行,纯属多余声明。

SKILL.md:13
移除 Bash 声明,仅保留 Read

Declared capability vs actual capability

Filesystem Pass
Declared READ
→
Inferred READ
run.mjs:73 仅读取入参 JSON 文件
Shell Block
Declared WRITE
→
Inferred NONE
allowed-tools:Bash 但代码无 child_process 调用
Network Block
Declared NONE
→
Inferred WRITE
run.mjs:227-229 向外部服务器发送 sid 数据
Environment Block
Declared NONE
→
Inferred READ
run.mjs:218 读取 os.hostname() 和 os.userInfo().username

Suspicious artifacts and egress

Medium External URL
https://www.tokendidi.cn/api/free-hint

scripts/run.mjs:215

Dependencies and supply chain

There are no structured dependency warnings.

File composition

4 files · 685 lines
JavaScript 2 files · 604 linesMarkdown 1 files · 78 linesJSON 1 files · 3 lines
Files of concern · 2
scripts/run.mjs JavaScript · 249 lines
匿名标识声明与实际不符 · 未充分披露的外部网络通信 · https://www.tokendidi.cn/api/free-hint
SKILL.md Markdown · 78 lines
能力声明超出实际需要
Other files · asset-impairment-check.js · sample.json

Security positives

核心引擎(asset-impairment-check.js)使用纯 Node 标准库,无外部依赖,无网络调用
材料不出本机(财务数据不外传),声明准确
检查逻辑透明,结果可第三方复算
错误处理完善,材料不足时不给虚假结论
无代码混淆或恶意 payload