Highlights
Auth Bypass: 3 prior fixes. Scrutinize any change in this area.
src/routes/documents.ts: most-fixed (3 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.
Auth Bypass: Critical JWT verification flaw allowing algorithm confusion and insecure fallbacks, enabling full authentication bypass.
Auth Bypass: Session-scoped file routes lacked membership validation, allowing cross-session unauthorized access to files.
Auth Bypass: File downloads were accessible via permanent URLs without expiration or signature, enabling unauthorized retrieval.