Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

mozilla/basket
master @ 34be720
3
Fixes
0
CVEs
HIGH
Peak severity
100.0%
Coverage
Highlights
Auth Bypass: 2 prior fixes. Scrutinize any change in this area.
apps/basketauth/__init__.py: 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: Two distinct authentication bypasses were fixed in the same component, indicating a fragile OAuth implementation where header parsing and parameter validation can be bypassed.
Stored XSS: The CSRF token was rendered unescaped in templates, allowing stored XSS. The fix introduced html.escape, but any other context where csrf_token is rendered must also be escaped.