API Abuse Detection & Rate Limiting
Protects APIs from DDoS, brute force, and credential stuffing attacks by implementing advanced rate limiting algorithms and adaptive threat detection.
This skill provides a comprehensive framework for securing APIs against automated abuse and resource exhaustion. It enables Claude to implement industry-standard rate limiting algorithms including Token Bucket, Sliding Window, and Adaptive Rate Limiting that dynamically adjusts thresholds based on real-time threat scores. By leveraging Redis-backed distributed counters and NGINX configuration templates, developers can effectively mitigate DDoS attempts, prevent credential stuffing, and stop automated scraping while maintaining a high quality of service for legitimate users.
Key Features
014,121 GitHub stars
02Distributed rate limiting capabilities using Redis backends
03Adaptive threat assessment based on error rates and authentication failures
04Implementation patterns for Token Bucket and Sliding Window algorithms
05Pre-configured NGINX rate limiting zones and location blocks
06Atomic Lua scripts for high-performance, race-condition-free counting
Use Cases
01Preventing brute force login attempts on sensitive authentication endpoints
02Throttling aggressive web scrapers and automated data harvesting bots
03Mitigating distributed denial-of-service (DDoS) attacks against public-facing APIs