Files
FrankandClaude Sonnet 5 2913b8d2a2 Add CSRF protection, login throttling, and invite-code rate limiting
The admin panel already checked CSRF tokens on destructive actions,
but the player-facing raw HTML forms (create/join/leave/start
session, toggle ready, lobby chat, feedback) had none - cookie
SameSite=Lax blunts classic cross-site auto-submit attacks but isn't
a substitute for real tokens. Adds matching csrf_token()/
isCsrfTokenValid() checks to all of them.

Also adds login_throttling (5 attempts/15 min) to stop unlimited
password guessing, and a per-user rate limiter (10/min) on the
invite-code join endpoint, since invite codes are only 32-bit and
had no protection against brute-forcing.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-10 21:41:47 +02:00
..
2026-01-13 21:54:26 +01:00
2025-09-06 16:50:16 +02:00
2025-09-06 16:50:16 +02:00
2026-01-10 00:39:33 +01:00
2025-09-06 16:50:16 +02:00
2025-09-06 16:50:16 +02:00
2026-01-09 13:08:09 +01:00
2026-01-13 21:54:26 +01:00
2025-09-06 16:50:16 +02:00
2026-06-28 23:24:09 +02:00
2026-01-05 15:27:37 +01:00
2025-09-06 16:50:16 +02:00
2026-01-03 22:57:45 +01:00
2026-01-13 17:43:17 +01:00
2025-09-06 16:50:16 +02:00
2026-07-04 19:08:31 +02:00
2025-09-06 16:50:16 +02:00
2025-09-06 16:50:16 +02:00
2025-09-06 16:50:16 +02:00
2026-01-02 20:27:56 +01:00