Severity: MEDIUM
Location: src/Controllers/AuthController.php:477-488, 654
Bug: Count check and increment are separate statements; races allow extra attempts.
Fix: Single atomic UPDATE ... WHERE attempts < :max + rowcount check.
Status: open. Will reply with remediation details when resolved.