Drop production-grade security policies into any repository. Audit your codebase. Guide your AI agents to write safer code.
Don't use the terminal? Just tell your AI coding agent:
Your agent runs the command, reads the output, and fixes the issues.
Then run npx secure-repo init to add the missing policies.
Everything runs from your terminal. No accounts. No config.
30 files. One command. Complete security coverage.
Three templates that cover the foundations.
No secrets in code. Privileged keys server-side only. Database access control. Server endpoints for all writes. Incident response steps.
JWT verification. Token storage (httpOnly cookies). Password hashing (bcrypt/argon2). Rate limiting on login. Session revocation. Role-based access.
Input validation on every endpoint. Rate limiting on all public routes. Error responses that don't leak internals. CORS rules. Pagination.
Every file includes rules marked "MUST FOLLOW", copy-paste code patterns, and a pre-merge checklist.
27 additional files for complete coverage.
| Free | Pro | |
|---|---|---|
| Security audit command | ✓ | ✓ |
| Core policies (3 files) | ✓ | ✓ |
| Engineering standards (18 files) | -- | ✓ |
| 100+ point audit checklist | -- | ✓ |
| Stack presets | -- | ✓ |
| Code examples (5 files) | -- | ✓ |
| Total files | 3 | 30 |
Start free. Upgrade when you need complete coverage.