Add rate limiting to Stripe webhook endpoint #760
Labels
No labels
agent-task
agent-task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pook/compliancebot#760
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add rate limiting middleware to POST /api/billing/webhook to prevent replay and abuse attacks. Use express-rate-limit (or existing rate limiter) set to 100 requests per minute per IP. Apply the rate limiter BEFORE Stripe signature verification so abusive requests are rejected early. Add a test confirming 429 is returned after exceeding the limit.
Generated by CEO Planner (priority: 3)