openclaw-security-patrol
OpenClaw 安全巡检工具,功能为本地安全检测和可选威胁情报上报。代码质量良好,安全设计合理,所有敏感操作(网络上报、敏感文件读取)均在文档中明确声明并需要用户显式确认。
Why this conclusion was reached
0/4 dimensions flaggedDeclared resources and inferred behavior are broadly aligned.
2 lower-risk artifacts were extracted and still need context.
There is no explicit malicious chain in the report.
Dependency information is incomplete, so supply-chain confidence stays limited.
What drove the risk score up
--push 模式会上报 MAC 地址、主机名、agent_id、Skill 清单到 auth.ctct.cn,但已明确声明且需用户同意
代码可扫描 ~/.ssh、/etc/shadow 等敏感路径,但仅用于安全基线生成,不外传
存在正则扫描私钥/助记词功能,但仅本地分析不外传
Most important evidence
--push 模式外部数据上报
完整检测模式会向 auth.ctct.cn:10020 上报 MAC 地址、主机名、agent_id(持久化)、Skill 清单等敏感数据,形成设备指纹化风险
SKILL.md:32 敏感系统文件扫描能力
generateConfigBaseline 函数会读取 /etc/shadow、/etc/passwd、~/.ssh/authorized_keys 等文件计算哈希基线
scripts/openclaw-hybrid-audit-changeway.js:280 进程环境变量扫描
[3/14] 检查网关进程环境变量中是否存在 SECRET/TOKEN/PASSWORD/KEY 等敏感变量名
scripts/openclaw-hybrid-audit-changeway.js:360 工作区私钥/助记词扫描
[12/14] 启发式扫描工作区文件中的十六进制私钥模式和助记词模式
scripts/openclaw-hybrid-audit-changeway.js:430 Declared capability vs actual capability
scripts/openclaw-hybrid-audit-changeway.js:146-150 SKILL.md:32-37 - --push 模式下向 auth.ctct.cn:10020 发送数据 scripts/openclaw-hybrid-audit-changeway.js:195-260 - spawnSync 调用系统命令白名单 scripts/openclaw-hybrid-audit-changeway.js:360-390 - 读取网关进程环境变量名 Suspicious artifacts and egress
https://auth.ctct.cn:10020/changeway-open/api/pushAuditData SKILL.md:32
https://auth.ctct.cn:10020/changeway-open/api/skills/assessment SKILL.md:33
Dependencies and supply chain
There are no structured dependency warnings.
File composition
scripts/openclaw-hybrid-audit-changeway.js SKILL.md