Security context

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

ruby-oauth/oauth2
main @ 8fc8a9f
6
Fixes
2
CVEs
HIGH
Peak severity
66.7%
Coverage
Highlights
Information Disclosure: 5 prior fixes. Scrutinize any change in this area.
lib/oauth2/client.rb: most-fixed (3 issues). 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.

Information Disclosure: Protocol-relative redirects can manipulate the target host and cause sensitive Authorization headers to be leaked to external, untrusted domains during redirection.
Information Disclosure: The client_secret can be accidentally exposed in the plain-text query parameters of generated authorization URLs if not explicitly stripped during parameter compilation.
Auth Bypass: Receiving a tokenless or unparsable 200 OK response from the provider can bypass standard token parsing safeguards if the code does not explicitly raise an error.