Skip to content

[Security] Rate limiting per wallet address #134

@GoSTEAN

Description

@GoSTEAN

Description

Rate limiting exists but may not differentiate by wallet address.

File: backend/src/middleware/rateLimit.middleware.ts

Acceptance Criteria

  • Rate limit by wallet address (not just IP)
  • Separate limits: auth (5/min), predictions (10/min), trades (30/min)
  • Return Retry-After header

Priority

🟠 P1 — High

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions