Highlights
Auth Bypass: 4 prior fixes. Scrutinize any change in this area.
packages/backend/src/modules/auth/auth.service.ts: most-fixed (2 issues). 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: Critical authentication logic allowed high-impact actions to occur without verification, including admin account initialization with empty passwords and user password modifications without checking the old password.
Auth Bypass: User registration paths failed to require or validate verification codes, allowing unauthorized account creation through email or phone registration.
Auth Bypass: Middleware routing checks allowed bypasses due to improper handling of empty or unconfigured ACCESS_CODES sets.