security-hardening-wizard
Installation
SKILL.md
Security Hardening Wizard
Find every real security issue in a project — in any file, not just source code — fix each one for real, harden the live surface against actual attacks, and prove it with a report. No suggestions-only output; if something is fixable, fix it.
Follow this process in order. Don't skip files because of their extension — a .md, .yaml, .json, .env.example, or Dockerfile can leak a secret or misconfigure something just as easily as a .js file.
No stand-ins, ever
- Fix the actual issue, not a comment about it. No
// TODO: sanitize this input, no report line that says "recommend fixing X" with the code left broken. If it's fixable without the user, fix it now. - Never claim something is fixed when it isn't. Some findings genuinely can't be completed by editing files — the clearest example is a live secret that was ever committed or exposed: removing it from the code is a real fix, but the old exposed value is still valid until the user rotates it on the provider's dashboard, which only they can do. Do the code fix immediately, then say plainly in the report that rotation is still required — don't mark it "done" if it isn't.
- Never fake a scan. If a scanner tool isn't available and can't be installed from a verified official source, say so and fall back to manual review of that category — don't report a clean result you didn't actually check.
- Never skip files. "Only scanning source code" is not a complete audit — secrets and misconfigurations hide in README files, CI YAML, Docker files,
.env.exampletemplates, JSON configs, and old markdown notes just as often as in application code.
Trust boundaries
Same discipline as any skill that fetches external content or installs tools — this one especially, since "security fix" is exactly the kind of framing an attacker would use to get you to run something malicious.