One-command security bootstrapper. Hardens .env handling, scans for credential leaks and hardcoded secrets, audits dependencies in parallel (Node, Go, Rust, Python, Java via CycloneDX SBOM), installs a gitleaks pre-commit hook (Guardian Mode), wires up Claude Code real-time secret scanning, and optionally generates a GitHub Actions CI workflow and CLAUDE.md security status block.
One-command security bootstrapper for Claude Code projects.
Run it once at project start. Leave the project hardened.
.env to .gitignore automatically.env is currently tracked by git.env commits.env.example.npmrc, GCP service account keys, Docker configs, .pem/.key filesnpm audit, govulncheck, cargo audit, pip-audit, osv-scanner with unified outputStep 1 — Add the marketplace (one-time):
/plugin marketplace add kamikaze011001/save-yourself
Step 2 — Install the plugin:
/plugin install save-yourself@kamikaze011001
To install for your whole team (checked into the repo):
/plugin install save-yourself@kamikaze011001 --scope project
/save-yourself
Run before each release.
npm audit)govulncheck)cargo audit)pip-audit)osv-scanner).env and variants to .gitignore.env.exampleEverything else (dep upgrades, secret removal, git history rewriting) requires your explicit action — with exact commands provided.
Built using the threat model and security practices from the Claude Code Mastery course by ShipWithAI.
MIT
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub kamikaze011001/save-yourself --plugin save-yourselfProtect secrets and credentials from Claude Code. Blocks writes to .env files, detects API keys in shell commands, prevents hardcoded tokens, and guards service account JSON files.
Perform security audit on codebase
Security scanning, dependency CVE audits, and exposure-aware risk prioritization.
OWASP-style review: injection, auth, data exposure, weak crypto. Severity-ranked with file:line + fix.
Security hook that blocks Claude from reading, writing, or accessing secret and sensitive files
Security reminder hook that warns about potential security issues when editing files, including command injection, XSS, and unsafe code patterns