Highlights
CSRF: 4 prior fixes. Scrutinize any change in this area.
src/Csrf.php: most-fixed (4 issues). Treat as high-risk during review.
5 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
CSRF: Flaws in token extraction and comparisons allowed empty tokens or omitted token IDs to bypass the verification mechanism entirely. Any change to token validation must prevent null-to-null or fallback comparisons.
Auth Bypass: Type-confusion in loose comparisons (e.g., matching a non-numeric string to integer 0) bypasses the validation constraint. Future validation rules must enforce strict comparison logic.
Auth Bypass: Improperly pairing a file's expected hash with its specific configured cryptographic algorithm could cause a validation bypass when weak algorithms are evaluated.