[security] Add rate limiting on login endpoint #37
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
From Security Audit (#33 comment)
Severity: BLOCKER
Unlimited brute-force attempts possible on the login endpoint.
Suggested fix: Add per-IP rate limiter on
/loginPOST. Consider exponential backoff or account lockout after N failed attempts.