OpenClaw Security Audit
Use when the user asks to audit, harden, or security-check their OpenClaw setup.
- Run
python audit.py(orpython3 audit.py) from this skill folder. Needs Python 3.8+ only; no packages.- Console only, no report files:
python audit.py --no-report - One check:
python audit.py --check SEC001; list checks:python audit.py --list-checks - Scan a git repo for leaked keys:
python audit.py --check SEC003 --git-repo <path> - Custom paths: copy
config.example.json, edit, runpython audit.py -c config.json
- Console only, no report files:
- Read the console summary. Exit code 0 = clean, 1 = failures, 2 = warnings only, 64 = bad arguments.
- Explain each FAIL/WARNING with its remediation line. Never print or paste secret values from the user's files; the report already hides them.
- Do not change any file automatically. Propose fixes and apply them only after the user agrees.
- Remind the user the report lists file paths of their setup: keep it private and do not commit it.
