Missing API Rate Limiting

Detects sensitive API endpoints without rate limiting, enabling resource exhaustion, credential stuffing, and enumeration attacks.

zakirkun Updated

File contents

Missing API Rate Limiting

Overview

APIs without rate limiting are vulnerable to:

  • Credential stuffing: Automated login attempts with breached credentials
  • Resource exhaustion: Expensive computation triggered repeatedly (DoS)
  • Data harvesting: Scraping all records via automated enumeration
  • OTP brute force: Guessing 6-digit codes in 1,000,000 requests

Detection Strategy

Identify API endpoints handling authentication, password reset, OTP verification, or resource-intensive operations that lack rate limiting middleware.

Remediation

Apply rate limiting at the API gateway or application level with per-IP or per-user quotas.

zakirkun/ice-tea/tree/main/skills/api/rate-limiting commit 5c0ebba5f1

Frequently asked questions

npx skillmds@latest add zakirkun/missing-api-rate-limiting