Security context

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

capless/python-jose-cryptodome
master @ a169236
5
Fixes
0
CVEs
CRITICAL
Peak severity
50.0%
Coverage
Highlights
Auth Bypass: 5 prior fixes. Scrutinize any change in this area.
jose/jwt.py: most-fixed (3 issues). Treat as high-risk during review.
4 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: Subject claim validation was added in two separate commits, indicating the check was initially missing and then extended, leaving room for incomplete enforcement on other decode paths.
Auth Bypass: JTI validation was added alongside subject validation, but only in one commit, suggesting other claim-based bypasses may exist if JTI is not checked on all verification paths.
Auth Bypass: The verify_signature option allows skipping signature verification entirely; if a caller passes verify=False, authentication is bypassed regardless of other checks.