Security context

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

gehirninc/python-jwt
master @ 81312b5
5
Fixes
1
CVEs
CRITICAL
Peak severity
66.7%
Coverage
Highlights
Auth Bypass: 5 prior fixes. Scrutinize any change in this area.
jwt/jwt.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: Insecure default configurations and flaws in time-based validation claims allow attackers to bypass standard JWT expiration checking, leading to the acceptance of expired or spoofed tokens. Strict enforcement of time-based checks (exp, nbf) must remain active by default.
Auth Bypass: Allowing insecure or unverified signature algorithms (including 'none' or dynamically specified algorithms without a strict allowlist) permits attackers to forge arbitrary JWT payloads and bypass cryptographical signature checks entirely.