Highlights
Auth Bypass: 3 prior fixes. Scrutinize any change in this area.
app/Http/Controllers/API: most-fixed (1 issue). Treat as high-risk during review.
4 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.
Auth Bypass: Route parameter model binding on checking, loan, and savings models allowed unauthorized direct query access. Robust validation requests and policy checks must be explicitly bound.
Authorization Bypass: Missing explicit controllers-level 'can:show' middleware allowed unauthorized allocation viewing and updates.
Auth Bypass: New checking and savings routes lacked essential 'can:show' and 'can:update' middleware checks, exposing critical balances to horizontal privilege escalation.