Highlights
Auth Bypass: 7 prior fixes. Scrutinize any change in this area.
src/server/auth.ts: most-fixed (4 issues). Treat as high-risk during review.
6 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: Session handling has been patched four times, indicating a fragile authentication boundary with multiple bypass vectors (cookie flags, session checks, redirect construction).
Auth Bypass: The deleteRegistrationToken procedure was added without authorization checks, allowing any unauthenticated user to delete tokens. This is a direct authorization gap in a server-side API.
Auth Bypass: Board pages lacked authentication for non-guest-accessible boards, exposing private data. The fix added a check in getServerSideProps, but sibling board routes may still be unguarded.