OpenClaw Hardener
Harden OpenClaw (workspace + ~/.openclaw): run openclaw security audit, catch prompt-injection/exfil risks, scan for secrets, and apply safe fixes (chmod/exec-bit cleanup). Includes optional config.pa
Harden OpenClaw (workspace + ~/.openclaw): run openclaw security audit, catch prompt-injection/exfil risks, scan for secrets, and apply safe fixes (chmod/exec-bit cleanup). Includes optional config.pa
Real data. Real impact.
Emerging
Developers
Per week
Open source
Skills give you superpowers. Install in 30 seconds.
This skill provides a user-choice hardening tool that can:
openclaw security audit --deep / --fix)..env, unsafe serialization patterns, etc.).config.patch plan to tighten runtime policy.Script:
skills_live/openclaw-hardener/scripts/hardener.pyExamples:
# Read-only checks (recommended default) python3 skills_live/openclaw-hardener/scripts/hardener.py check --allOnly run OpenClaw built-in audit (deep)
python3 skills_live/openclaw-hardener/scripts/hardener.py check --openclaw
Only run workspace checks
python3 skills_live/openclaw-hardener/scripts/hardener.py check --workspace
Apply safe fixes (chmod/exec-bit cleanup + optionally openclaw audit --fix)
python3 skills_live/openclaw-hardener/scripts/hardener.py fix --all
Generate a config.patch plan (prints JSON5 patch)
python3 skills_live/openclaw-hardener/scripts/hardener.py plan-config
Apply the plan (requires a running gateway; uses
)openclaw gateway callpython3 skills_live/openclaw-hardener/scripts/hardener.py apply-config
fix or apply-config.openclaw security audit --deep (and --fix in fix mode).~/.openclaw (basic checks)..env files (warn) and tracked .env (fail).Generates a conservative
config.patch template focusing on:
(Exact keys depend on your config; the plan is best-effort and should be reviewed.)
No automatic installation available. Please visit the source repository for installation instructions.
View Installation Instructions1,500+ AI skills, agents & workflows. Install in 30 seconds. Part of the Torly.ai family.
© 2026 Torly.ai. All rights reserved.