Source Code
SecurityClaw (Skill Scanner)
Use the scanner script
Run the scanner (read-only by default):
python3 scripts/securityclaw_scan.py --skills-dir ~/.openclaw/skills --out report.json
Quarantine anything suspicious (moves folders, no deletion):
python3 scripts/securityclaw_scan.py --skills-dir ~/.openclaw/skills --quarantine-dir ~/.openclaw/skills-quarantine --quarantine --out report.json
What to do when findings exist
If the report shows severity >= high for any skill:
- Do not execute the skill.
- Quarantine the skill folder.
- Notify the owner with:
- skill name
- top reasons + file/line locations
- recommended action
- Await owner instruction:
- Delete: remove quarantined skill
- Report: prepare public report / IOCs (no secrets)
- Allow: add allowlist entry and restore
- Scan all: deep scan everything
Optional: sandbox/dynamic checks (advanced)
Dynamic checks are optional and should run only after owner approval.
- Prefer running unknown code with:
- no network egress
- read-only filesystem except a temp workspace
- no access to OpenClaw config/secrets
See references/sandboxing.md.
Files
scripts/securityclaw_scan.pyโ main scanner + quarantinereferences/rules.mdโ rule catalog (what we flag and why)references/sandboxing.mdโ safe sandbox strategy + what to avoid