Highlights
Auth Bypass: 3 prior fixes. Scrutinize any change in this area.
bot.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: A recurring issue where concurrent requests or session-specific conversation contexts are not properly isolated, causing potential conversation data leaks between users. This is exacerbated by logical flaws in permission checks.
Reflected XSS: Unescaped user input inside the markdown rendering template allows execution of malicious scripts. The fix added a Content Security Policy to constrain execution context.
Authentication Bypass: Static class-level initialization of authorization headers caused headers to be evaluated once, potentially leading to stale, shared, or invalid credentials across different sessions.