Install
openclaw skills install aoi-openclaw-security-toolkit-coreRun local-only fail-closed security checks to detect and report data leaks, secrets, egress risks, and prompt injections before publishing or committing code.
openclaw skills install aoi-openclaw-security-toolkit-coreWhy: Prevent “one bad commit” incidents (accidental file leakage + secret exposure) with a fast, local-only, fail-closed check.
When: Before committing/pushing, before publishing a skill, and when reviewing scripts/skills for unexpected egress behavior.
How: Run a single command to get PASS/WARN/BLOCK and an optional redaction-safe report.
Scope: Detection + reporting only (no auto-fix, no uploads, no auto-posting).
Quickstart: openclaw-sec check --preset repo --diff staged
This is a public-safe toolkit skill.
Binary: openclaw-sec
Common:
openclaw-sec check --lang en
openclaw-sec check --lang ko
openclaw-sec scan-secrets
openclaw-sec scan-egress
openclaw-sec scan-prompt --file inbound.txt
Exit codes:
0 PASS1 WARN2 BLOCKIf --paths is omitted, it scans existing paths among:
.skills/scripts/context/Rule files live in rules/:
secret_patterns.txtegress_patterns.txtprompt_injection_patterns.txtEdit these to tune sensitivity.