Security context

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

pyupio/safety
main @ 584154b
3
Fixes
0
CVEs
HIGH
Peak severity
100.0%
Coverage
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.