Highlights
Auth Bypass: 2 prior fixes. Scrutinize any change in this area.
safety/auth/cli.py: most-fixed (1 issue). 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.
JWT Algorithm Confusion: JWT decoding without an algorithm allowlist enables HS* confusion attacks, allowing forgery of valid tokens.
Auth Bypass: Missing org UUID consistency check before enrollment/login permits cross-org enrollment, breaking tenant isolation.
Auth Bypass: Feature-flag gate removal allowed unauthorized MDM users to access system-scan; feature flags are not a security boundary.