Skip to content

Rate limit roadmap password attempts - #379

Open
bjarn wants to merge 1 commit into
ploi:mainfrom
bjarn:codex/rate-limit-roadmap-password
Open

bjarn wants to merge 1 commit into
ploi:mainfrom
bjarn:codex/rate-limit-roadmap-password

Conversation

@bjarn

@bjarn bjarn commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add a named rate limiter for the global roadmap password.
  • Limit attempts to five per minute for each IP address.
  • Apply the limiter to the password submission route.
  • Add a regression test for the sixth attempt.

Security impact

The global roadmap password endpoint allowed unlimited online password attempts.

Tests

  • php artisan test --compact tests/Feature/PasswordProtectionTest.php

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.

1 participant