Summary
The public POST /webhook/{token} route has no rate limiting, leaving it open to abuse or flooding.
Implementation
Add throttle:200,1 middleware to the webhook route in routes/web.php:
Route::post('webhook/{token}', SesWebhookController::class)->middleware('throttle:200,1');
200 requests per minute is a generous ceiling for legitimate SNS traffic but prevents runaway floods.
Acceptance Criteria
Summary
The public
POST /webhook/{token}route has no rate limiting, leaving it open to abuse or flooding.Implementation
Add
throttle:200,1middleware to the webhook route inroutes/web.php:200 requests per minute is a generous ceiling for legitimate SNS traffic but prevents runaway floods.
Acceptance Criteria
429 Too Many Requests