安全决策报告
clawdoctor
ClawDoctor 是合法的 OpenClaw 健康监控工具,存在轻微文档-行为差异(云端API配置但未启用)和供应链瑕疵(pip无版本锁定),无恶意行为证据。
为什么得出这个结论
1/4 个维度触发 通过
声明与实际能力
声明资源与推断能力基本一致。
阻止
隐藏执行与外联
提取到 1 个高危 IOC 或外联信号。
通过
攻击链与高危发现
没有形成明确的恶意路径。
复核
依赖与供应链卫生
发现 1 项需要关注的依赖或供应链线索。
风险分是怎么被拉高的
文档声明宽泛 +10
SKILL.md未声明任何权限,但代码使用subprocess/curl/requests
云端功能注释但存在 +5
agent.py配置了api.clawdoctor.io但send_to_cloud()被注释
依赖无版本锁定 +5
install.sh中pip install psutil无版本锁定
8.8.8.8硬编码IP +2
clawdoctor.py:305用于检测本机网络,非恶意用途
最关键的证据
低危 文档欺骗
SKILL.md 权限声明缺失
SKILL.md未声明任何allowed-tools权限,但代码实际使用subprocess、psutil等工具读取系统状态
SKILL.md:1 在SKILL.md的Requirements部分明确声明需要哪些工具权限
低危 供应链
依赖无版本锁定
install.sh中pip install psutil未指定版本,可能安装到有漏洞的版本
install.sh:9 修改为: pip3 install psutil>=5.9.0 --user
提示 文档欺骗
云端功能代码存在但未启用
agent.py配置了https://api.clawdoctor.io/v1/heartbeat,但send_to_cloud()函数被注释,不会实际发送数据
agent.py:15 删除未使用的云端配置代码,或明确文档说明未来可能的数据收集功能
提示 敏感访问
读取本地OpenClaw配置
代码读取~/.openclaw/目录下的配置文件和日志用于监控,属于声明范围内的本地操作
clawdoctor.py:51 无需修改,这是监控工具的正常功能
声明能力 vs 实际能力
文件系统 通过
声明 NONE
→ 推断 READ
clawdoctor.py:51 读取~/.openclaw/配置和日志 命令执行 通过
声明 NONE
→ 推断 READ
clawdoctor.py:60-64 subprocess调用curl检查Gateway 网络访问 通过
声明 NONE
→ 推断 READ
agent.py:17 配置云端API但未启用; clawdoctor.py:302-305 socket连接8.8.8.8 数据库 通过
声明 NONE
→ 推断 NONE
无数据库操作 可疑产物与外联
高危 IP 地址
8.8.8.8 clawdoctor.py:305
中危 外部 URL
https://img.shields.io/badge/OpenClaw-Health%20Monitor-blue?style=for-the-badge README.md:4
中危 外部 URL
https://img.shields.io/badge/Python-3.10%2B-green?style=for-the-badge&logo=python&logoColor=white README.md:5
中危 外部 URL
https://img.shields.io/badge/License-MIT-yellow?style=for-the-badge README.md:6
中危 外部 URL
http://127.0.0.1:8080/dashboard.html README.md:22
中危 外部 URL
https://api.clawdoctor.io/v1/heartbeat agent.py:17
中危 外部 URL
http://127.0.0.1:18789/ agent.py:34
中危 外部 URL
https://cdn.tailwindcss.com dashboard.html:7
中危 外部 URL
http://127.0.0.1:52691 dashboard.html:199
中危 外部 URL
http://127.0.0.1:64144 dashboard_simple.html:183
中危 外部 URL
https://checkout.paddle.com/checkout/product/pri_01kkm07e93d54fat920xe9b5rs payment.html:48
中危 外部 URL
https://checkout.paddle.com/checkout/product/pri_01kkm09nvwj9ex7nssjf27kbch payment.html:70
依赖与供应链
| 包名 | 版本 | 来源 | 漏洞 | 备注 |
|---|---|---|---|---|
| psutil | * | pip | 否 | 无版本锁定,存在供应链风险但CVSS评分低 |
文件构成
16 个文件 · 3061 行
Python 7 个文件 · 1563 行HTML 3 个文件 · 1084 行Markdown 4 个文件 · 343 行JSON 1 个文件 · 38 行Shell 1 个文件 · 33 行
需关注文件 · 7
dashboard.html https://cdn.tailwindcss.com · http://127.0.0.1:52691
dashboard_simple.html http://127.0.0.1:64144
clawdoctor.py 读取本地OpenClaw配置 · 8.8.8.8
agent.py 云端功能代码存在但未启用 · https://api.clawdoctor.io/v1/heartbeat · http://127.0.0.1:18789/
payment.html https://checkout.paddle.com/checkout/product/pri_01kkm07e93d54fat920xe9b5rs · https://checkout.paddle.com/checkout/product/pri_01kkm09nvwj9ex7nssjf27kbch · https://checkout.paddle.com/checkout/product/pri_01kkm0bk13cv93jam6nq3tvj88
server.py http://127.0.0.1:
README.md https://img.shields.io/badge/OpenClaw-Health%20Monitor-blue?style=for-the-badge · https://img.shields.io/badge/Python-3.10%2B-green?style=for-the-badge&logo=python&logoColor=white · https://img.shields.io/badge/License-MIT-yellow?style=for-the-badge · http://127.0.0.1:8080/dashboard.html · [email protected]
其他文件 · clawdoctor_simple.py · agent_v2.py · README_NEW.md · server_simple.py · agent_simple.py
安全亮点
云端数据外传功能被注释,实际不会外传数据
所有网络操作均为本地127.0.0.1,无公网暴露
安全扫描功能是防御性的(检查其他技能而非攻击)
无凭证收割、代码混淆或隐藏指令
修复功能仅作用于OpenClaw相关进程
支付页面使用正规Paddle平台