Skip to content

BE-48: Testnet Rate Limits + Abuse Controls for Public Endpoints #507

@Cedarich

Description

@Cedarich

Complexity: 150 points
Branch: feat/be-testnet-abuse-controls
Summary
Add testnet-focused abuse protection to avoid API/RPC exhaustion during contributor testing and public demos.
Tasks

  • Add route-level rate limits for public endpoints (quotes, metadata, scan).
  • Add per-IP and per-API-key throttles with sensible defaults for testnet.
  • Add an allowlist for CI and trusted contributors to reduce friction.
  • Add metrics and logs for blocked requests.
    Acceptance Criteria
  • Abuse patterns are throttled without breaking normal contributor workflows.
  • Operators can observe throttling in metrics.
  • Trusted allowlist paths are audited and safe.

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions