🚀 Description
A rate limiter utility already exists in the project but is currently unused in backend routes and APIs.
Without rate limiting, APIs remain vulnerable to spam requests and abuse.
📍Affected Files
frontend/lib/rateLimiter.ts
- Backend API routes and controllers
❌ Current Problem
A rate limiter is defined but never connected to APIs.
This allows unlimited repeated requests to:
- chat APIs
- task creation APIs
- realtime features
✅ Expected Solution
- Integrate rate limiter middleware into backend routes
- Apply limits to sensitive APIs
- Handle rate-limit exceeded responses properly
Example:
await rateLimiter.consume(ip);
🎯 Expected Outcome
- Reduced spam and abuse
- Improved backend stability
- Better API protection
🏷️ Expected Labels
level3 NSoC'26
🚀 Description
A rate limiter utility already exists in the project but is currently unused in backend routes and APIs.
Without rate limiting, APIs remain vulnerable to spam requests and abuse.
📍Affected Files
frontend/lib/rateLimiter.ts❌ Current Problem
A rate limiter is defined but never connected to APIs.
This allows unlimited repeated requests to:
✅ Expected Solution
Example:
🎯 Expected Outcome
🏷️ Expected Labels
level3NSoC'26