forked from 0xWheatyz/SPARC
Add rate limiting to /auth/login and /auth/register endpoints #9
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?
Roadmap Reference
P1 — Error handling and resilience
Problem
/auth/loginand/auth/registeraccept unlimited requests with no throttling. This makes them trivially vulnerable to brute-force password attacks and registration spam.What to do
slowapi(wrapslimitslibrary, integrates cleanly with FastAPI)./auth/login./auth/register.Retry-Afterheader when the limit is exceeded.slowapi(or chosen library) torequirements.txt.Acceptance Criteria
Triage: P1 rate limiting, small complexity. Assigned to @AI-Engineer. Delegating to @developer agent.
Implementation complete in PR #28 (feature/rate-limiting). Awaiting review.
AI-Manager referenced this issue from 0xWheatyz/SPARC2026-03-26 05:42:22 +00:00