购物省钱宝 - 京东/淘宝/拼多多优惠查询
未声明的 ClawHub 版本检查网络请求(shadow network access),属阴影功能。
Why this conclusion was reached
1/4 dimensions flagged1 undeclared or violating capabilities were inferred.
6 lower-risk artifacts were extracted and still need context.
There is no explicit malicious chain in the report.
1 dependency or supply-chain issues need attention.
What drove the risk score up
skill.py 模块导入时自动调用 _check_version() 访问 clawhub.ai,且每次 API 调用前也触发,但 SKILL.md 全文未提及此行为
utils.py 导入 requests 但未声明版本,存在供应链风险
读取 API_BASE_URL/timeout/PRICECOMPARE_NO_VERSION_CHECK,但未发现外传
版本检查静默失败不影响主功能,但会每日联网一次,属于阴影行为
Most important evidence
未声明的 ClawHub 版本检查(阴影功能)
skill.py 模块级导入时自动执行 _check_version(),会发起 GET 请求到 https://clawhub.ai/api/v1/skills/pricecompare 查询最新版本,且在每次 API 调用前的 _wrapped_call_api 中再次触发(每天最多一次)。SKILL.md 全文未提及此网络行为,属于典型的 shadow network access。
skill.py:37-57, 66 requests 依赖无版本锁定
utils.py 导入 requests 但 requirements.txt 中无版本约束,存在依赖劫持风险
utils.py:7 API 端点域名在代码中可被环境变量覆盖
config.py 允许通过 API_BASE_URL 环境变量重定向请求目标,但 SKILL.md 硬编码了 op.squirrel2.cn,不提示可配置性
config.py:9 Declared capability vs actual capability
skill.py:37-57 _check_version() 在模块导入时静默执行,访问 clawhub.ai 但 SKILL.md 全文未声明 无文件系统操作 无 shell 执行 config.py:9-10 读取 API_BASE_URL/API_TIMEOUT,skill.py:38 读取 PRICECOMPARE_NO_VERSION_CHECK,但未外传 Suspicious artifacts and egress
http://op.squirrel2.cn/api/v1/ SKILL.md:11
https://op.squirrel2.cn config.py:11
https://clawhub.ai/api/v1/skills/ skill.py:35
https://clawhub.ai/skills/ skill.py:36
https://item.jd.com/10021724657015.html skill.py:247
https://e.tb.cn/h.iVW7Wnbs5Woz1ZI skill.py:249
Dependencies and supply chain
| Package | Version | Source | Known vuln | Notes |
|---|---|---|---|---|
| requests | * | pip | No | 无版本锁定 |
File composition
utils.py skill.py SKILL.md config.py