Skip to content

Rate limit roadmap password attempts - #379

Merged
Cannonb4ll merged 1 commit into
ploi:mainfrom
bjarn:codex/rate-limit-roadmap-password
Oct 5, 2026
Merged

Cannonb4ll merged 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

@Cannonb4ll
Cannonb4ll merged commit adf24b9 into ploi:main Oct 5, 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