Security context

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

ramosbugs/oauth2-rs
main @ 72ce744
2
Fixes
0
CVEs
HIGH
Peak severity
Highlights
SSRF: 1 prior fix. Scrutinize any change in this area.
src/lib.rs: most-fixed (1 issue). Treat as high-risk during review.
1 high-severity fix in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

SSRF: Allowing default HTTP redirect handling within the OAuth2 client wrapper can enable Server-Side Request Forgery (SSRF) if a malicious server redirects the client to internal-only metadata or cloud credential endpoints.
Side-Channel Vulnerability: Deriving standard PartialEq on structs representing secrets allows compiler-optimized byte-by-byte comparisons, exposing the application to timing attacks. Constant-time comparison or omitting direct equality traits is required.