aicoin-monitor
SKILL.md explicitly claims 'strict isolation mode' with multiple 'never' statements (never read global config, never read env vars, never write to global paths), but the actual code violates every single one of these claims.
为什么得出这个结论
2/4 个维度触发发现 2 项声明之外的能力或越权行为。
提取到 8 个一般风险产物,需要结合上下文判断。
报告包含 4 步攻击链,另有 4 项高危或严重发现。
发现 2 项需要关注的依赖或供应链线索。
攻击链
初始入口 · SKILL.md:1
权限提升 · scripts/monitor.py:24
权限提升 · scripts/monitor.py:57
最终危害 · scripts/monitor.py:252
风险分是怎么被拉高的
SKILL.md line '✅ 绝不读取 /root/.openclaw-zero/config.yaml' but monitor.py:24 reads exactly that path
SKILL.md '✅ 绝不读取 任何环境变量' but monitor.py:57-59 reads HTTP_PROXY/HTTPS_PROXY
SKILL.md '✅ 绝不写入 /root/.openclaw-zero/workspace/memory/' but monitor.py:252 writes there
load_proxy_from_config() at line 48 reads /root/.openclaw-zero/config.yaml
最关键的证据
SKILL.md claims strict isolation but reads global config file
The documentation explicitly states '✅ 绝不读取 /root/.openclaw-zero/config.yaml 或任何全局配置文件', yet the code at line 24 reads exactly that path.
scripts/monitor.py:24 SKILL.md claims no env var access but code reads proxy env vars
The documentation states '✅ 绝不读取 任何环境变量(包括 AICOIN_API_KEY、HTTP_PROXY 等)', yet the code reads HTTP_PROXY and HTTPS_PROXY at lines 57-59.
scripts/monitor.py:57 SKILL.md claims no global path write but code writes to /root/.openclaw-zero/
The documentation states '✅ 绝不写入 /root/.openclaw-zero/workspace/memory/ 或任何全局路径', yet the save_data() function writes data to exactly that path.
scripts/monitor.py:252 Proxy configuration loaded from global config file
load_proxy_from_config() reads /root/.openclaw-zero/config.yaml to extract proxy settings including support for multiple proxy configurations with names and addresses.
scripts/monitor.py:48 SKILL.md describes features not present in monitor.py
SKILL.md advertises 30+ data modules (on-chain, ETF, derivatives, whales, etc.) but monitor.py only implements basic price fetching, large orders, signals, and news — a significant feature mismatch.
SKILL.md:1 声明能力 vs 实际能力
monitor.py:252 - writes to /root/.openclaw-zero/workspace/memory/ monitor.py:57-59 - reads HTTP_PROXY, HTTPS_PROXY env vars Uses requests to api.aicoin.com 可疑产物与外联
http://127.0.0.1:7890 SKILL.md:138
https://www.aicoin.com SKILL.md:399
https://docs.aicoin.com SKILL.md:400
https://www.aicoin.com/zh-Hans/opendata SKILL.md:401
https://api.aicoin.com/v1/market/ticker?symbol= scripts/monitor.py:107
https://api.aicoin.com/v1/large/orders?symbol= scripts/monitor.py:218
https://api.aicoin.com/v1/signals?symbol= scripts/monitor.py:236
https://api.aicoin.com/v1/news/flash?symbol= scripts/monitor.py:254
依赖与供应链
| 包名 | 版本 | 来源 | 漏洞 | 备注 |
|---|---|---|---|---|
| requests | * | pip | 否 | No version pinned, no known vulnerabilities |
| pyyaml | * | pip | 否 | No version pinned |
文件构成
scripts/monitor.py SKILL.md