Skip to content

feat(api): add per-IP rate limiting to protect public endpoints - #2

Merged
Praizfotos merged 1 commit into
Praizfotos:mainfrom
praisesokoyebomfrancis:feat/backend-rate-limit
Aug 14, 2026
Merged

feat(api): add per-IP rate limiting to protect public endpoints#2
Praizfotos merged 1 commit into
Praizfotos:mainfrom
praisesokoyebomfrancis:feat/backend-rate-limit

Conversation

@praisesokoyebomfrancis

Copy link
Copy Markdown
Contributor

What

Adds per-IP request rate limiting to the public API so verification and recall lookups are protected from abusive scanning and keep simulated contract reads within reasonable bounds.

Changes

  • Adds express-rate-limit (^8.6.2).
  • Applies a 100 requests / 15 minute limiter globally in app.ts (draft-7 standard headers, no legacy headers).

Test plan

  • Backend typecheck / lint / test (28) / build all pass.

Uses express-rate-limit (100 requests / 15 min) on the public API to keep
verification and recall lookups within reasonable bounds and reduce abusive
scanning of the read-only contract calls.
@Praizfotos
Praizfotos merged commit e84b12f into Praizfotos:main Aug 14, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants