API Security · beginner · ~9 min
Explain why missing rate limits is an API risk and how it's tested.
Missing rate limiting (unrestricted resource consumption) amplifies brute force, enumeration, OTP-bypass, and enables cost/DoS. Test by hammering endpoints and checking for 429/lockouts and bypasses. Fix: server-side limits per identity and IP, lockouts/backoff, capped pagination, 429+Retry-After.
Rate limiting is the multiplier on other attacks — its absence turns a guessing weakness into a practical breach (password spraying, ID enumeration, OTP brute force) and creates direct DoS/cost risk.
Amplifier. Enables brute force/enumeration/OTP-bypass at scale. Cost/DoS. Unbounded expensive endpoints. Test. Burst requests; look for 429/lockout and bypasses (IP/header/version). Fix. Server-side per-identity+IP limits, backoff, caps, 429.
Unrestricted resource consumption is its own entry in the OWASP API Top 10 — and missing rate limiting amplifies almost every other attack.
429 Too Many Requests kick in.429 with Retry-After. Don't rely on the client to throttle.Unrestricted resource consumption is a first-class API risk and a force-multiplier for brute force and enumeration. Defend with server-side rate limits per identity and IP, lockouts, and capped expensive operations.