| language: py | |
| license: mit | |
| tags: | |
| - anomaly-detection | |
| - security | |
| - api-protection | |
| # 🛡️ Secure API Anomaly Detector | |
| An Isolation Forest baseline model for detecting anomalous API access patterns (e.g., rate-limit bypass attempts, bulk scraping, credential brute forcing). | |
| ## Model Details | |
| * **Algorithm:** Isolation Forest | |
| * **Use Case:** Identification of non-normal HTTP requests based on volume, entropy, and source reputation. | |
| * **Input Features:** `[ip_reputation_score, request_frequency_hz, payload_entropy]` | |