Highlights
Auth Bypass: 2 prior fixes. Scrutinize any change in this area.
backend/endpoints/auth.js: most-fixed (2 issues). Treat as high-risk during review.
3 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: The registration flow previously allowed unauthorized domain registration due to weak substring validation on email addresses, which could lead to unauthorized platform access.
SQL Injection: Raw string interpolation in the database models allowed attackers to execute arbitrary SQL queries, which was mitigated by transitioning to parameterized queries via Prisma.
Path Traversal: The document processing API was vulnerable to path traversal through unvalidated filenames, allowing arbitrary local file reads within the server's directory scope.