Highlights
Auth Bypass: 1 prior fix. Scrutinize any change in this area.
api/auth/user.go: most-fixed (1 issue). Treat as high-risk during review.
1 high-severity fix 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: Hardcoded user IDs were previously used to grant internal laboratory privileges, allowing unauthorized access to restricted features if user IDs matched the legacy static values.
Denial of Service: Lack of limits on chat history context length allowed unconstrained token processing overhead, presenting a vector for CPU-exhaustion denial of service during payload handling.