Security context

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

ruby-oauth/oauth
main @ 6cc3c24
3
Fixes
1
CVEs
HIGH
Peak severity
0.0%
Coverage
Highlights
Auth Bypass: 1 prior fix. Scrutinize any change in this area.
.github/workflows/discord-notifier.yml: most-fixed (1 issue). Treat as high-risk during review.
2 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: Overriding base class parameters or signature retrieval methods can bypass safe array-unwrapping logic, allowing malicious input structures to evade correct signature verification.
Open Redirect: Handling OAuth token endpoints without enforcing host restrictions during HTTP redirection allows remote attackers to trigger Open Redirect or Server-Side Request Forgery (SSRF) attacks.
Privilege Escalation: Over-privileged GitHub Actions workflows triggered by public events (such as check_run) can lead to write access abuse if the GITHUB_TOKEN permissions are not explicitly restricted to read-only.