扫描报告
40 /100
openclaw-security-auditor
OpenClaw Security Auditor (OSA) - Comprehensive security auditing tool for OpenClaw deployments
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.
谨慎使用
Add explicit filesystem:WRITE declaration to SKILL.md if config modification is intended. Consider documenting which configuration paths can be modified and under what conditions. Add warning about automated changes vs manual approval.
安全发现 3 项
| 严重性 | 安全发现 | 位置 |
|---|---|---|
| 中危 | Undeclared filesystem write capability 文档欺骗 | scripts/config_fixer.py:52 |
| 低危 | Misleading 'never makes automatic changes' claim 文档欺骗 | SKILL.md:85 |
| 低危 | Access to OpenClaw configuration directory 敏感访问 | scripts/security_scanner.py:25 |
| 资源类型 | 声明权限 | 推断权限 | 状态 | 证据 |
|---|---|---|---|---|
| 文件系统 | READ | WRITE | ✗ 越权 | scripts/config_fixer.py:52 - json.dump(config, f) |
2 项发现
中危 外部 URL 外部 URL
https://docs.openclaw.ai/security scripts/report_generator.py:143 中危 外部 URL 外部 URL
https://docs.openclaw.ai/best-practices scripts/report_generator.py:145 目录结构
7 文件 · 40.0 KB · 1218 行 Python 4f · 688L
Markdown 3f · 530L
├─
▾
references
│ ├─
config-guide.md
Markdown
│ └─
security-modes.md
Markdown
├─
▾
scripts
│ ├─
config_fixer.py
Python
│ ├─
report_generator.py
Python
│ └─
security_scanner.py
Python
├─
SKILL.md
Markdown
└─
test_skill.py
Python
依赖分析 1 项
| 包名 | 版本 | 来源 | 已知漏洞 | 备注 |
|---|---|---|---|---|
osa | unknown | external import | 否 | Imported as 'openclaw-security-auditor' package - not locally defined, external dependency |
安全亮点
✓ No credential harvesting - skill audits config but does not extract secrets
✓ No data exfiltration - no external data transmission observed
✓ No obfuscation - all code is readable plaintext Python
✓ No base64-encoded payloads or eval() calls
✓ No suspicious network connections (external URLs only in generated report text, not executed)
✓ No ~/.ssh, ~/.aws, or .env file access attempts
✓ Backup mechanism implemented before config modification (config_fixer.py:17)
✓ Supports dry-run mode for config_fixer (--dry-run argument)