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.
Why this conclusion was reached
1/4 dimensions flagged1 undeclared or violating capabilities were inferred.
2 lower-risk artifacts were extracted and still need context.
There is no explicit malicious chain in the report.
Dependencies are present but no obvious high-risk issue stands out.
What drove the risk score up
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
Most important evidence
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 Declared capability vs actual capability
scripts/config_fixer.py:52 - json.dump(config, f) Suspicious artifacts and egress
https://docs.openclaw.ai/security scripts/report_generator.py:143
https://docs.openclaw.ai/best-practices scripts/report_generator.py:145
Dependencies and supply chain
| Package | Version | Source | Known vuln | Notes |
|---|---|---|---|---|
| osa | unknown | external import | No | Imported as 'openclaw-security-auditor' package - not locally defined, external dependency |
File composition
scripts/report_generator.py SKILL.md scripts/security_scanner.py scripts/config_fixer.py