Highlights
Auth Bypass: 3 prior fixes. Scrutinize any change in this area.
backend/app.py: most-fixed (3 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 state-setting endpoint has been repeatedly modified, including a reversion that left the endpoint completely exposed. Unauthorized clients can alter the backend's state if token and origin checks are not strictly enforced.
Stored XSS: The memo viewer and guest agent list elements are vulnerable to stored cross-site scripting due to unsafe rendering using innerHTML, allowing arbitrary script execution in users' browsers.
Auth Bypass: Weak, default cryptographic keys and asset passwords can allow attackers to bypass session protections or forge credentials if the application fails to enforce strong secrets during production startup.