You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(security): harden auth, input validation, and session management
- Add login rate limiting (5 attempts / 15 min per IP)
- Add Secure flag on session cookies
- Fix timing attack: always run bcrypt even if user not found
- Log all login attempts (success/fail) with IP and username
- Increase bcrypt cost from 10 to 12
- Reduce default session lifetime from 7 days to 2 hours
- Add email validator (net/mail) and use in certbot RequestSSL
- Add Filename validator (filepath.Clean) for path traversal protection
0 commit comments