Before the deploy button
A checklist born from real audits:
- Rate limit sensitive endpoints (login, register, reset)
- Account lockout after repeated failures
- Rotating refresh tokens with reuse detection
- Magic-byte file validation, not just extensions
- CSP and HSTS headers
- Audit log for every write