1 Commits

Author SHA1 Message Date
aitbc
86137daf5f refactor: add rate limiting to all API endpoints across routers
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Documentation Validation / validate-docs (push) Has been cancelled
Documentation Validation / validate-policies-strict (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
- Added Request parameter to all endpoint functions in agent_security_router.py, analytics.py, bounty.py, and certification.py
- Added @rate_limit decorator to all endpoints with appropriate limits:
  - Write operations (POST/PUT/DELETE): 20 requests per 60 seconds
  - Read operations (GET): 200 requests per 60 seconds
  - High-frequency reads (categories/tags): 500 requests per 60 seconds
  - Validation/monitoring operations: 50 requests per 60 seconds
2026-05-12 21:52:10 +02:00