openclaw-security-auditor
OpenClaw security auditing tool with documented mismatch: SKILL.md claims read-only operation but config_fixer.py has write capabilities to modify system configs. No malicious behavior detected, but undeclared modification capability violates transparency principle.
为什么得出这个结论
1/4 个维度触发发现 1 项声明之外的能力或越权行为。
提取到 2 个一般风险产物,需要结合上下文判断。
没有形成明确的恶意路径。
依赖结构存在,但暂未看到明显高危告警。
风险分是怎么被拉高的
SKILL.md states skill is 'safe and non-destructive' and 'only reads configuration files' but config_fixer.py writes modified configs
SKILL.md says 'never makes automatic changes without explicit user approval' but automated remediation section exists
No documentation of what paths can be modified or what protections prevent unintended changes
最关键的证据
Undeclared filesystem write capability
SKILL.md states the skill is 'safe and non-destructive - it only reads configuration files' but config_fixer.py contains code to write modified configurations. This is a documentation mismatch where the code behavior is more powerful than documented.
scripts/config_fixer.py:52 Misleading 'never makes automatic changes' claim
SKILL.md states 'never makes automatic changes without explicit user approval' but the skill includes scripts for automated remediation and fix application. While CLI usage requires arguments, the capability exists.
SKILL.md:85 Access to OpenClaw configuration directory
Skill reads and potentially modifies ~/.openclaw/ configuration directory. This contains security-sensitive settings including tokens and authentication configuration.
scripts/security_scanner.py:25 声明能力 vs 实际能力
scripts/config_fixer.py:52 - json.dump(config, f) 可疑产物与外联
https://docs.openclaw.ai/security scripts/report_generator.py:143
https://docs.openclaw.ai/best-practices scripts/report_generator.py:145
依赖与供应链
| 包名 | 版本 | 来源 | 漏洞 | 备注 |
|---|---|---|---|---|
| osa | unknown | external import | 否 | Imported as 'openclaw-security-auditor' package - not locally defined, external dependency |
文件构成
scripts/report_generator.py SKILL.md scripts/security_scanner.py scripts/config_fixer.py