Security context

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

hub4j/github-api
main @ 5c5b537
2
Fixes
0
CVEs
MEDIUM
Peak severity
Highlights
Information Disclosure: 1 prior fix. Scrutinize any change in this area.
.github/workflows: most-fixed (1 issue). Treat as high-risk during review.
0 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.

Information Disclosure: Automated HTTP redirect handling can inadvertently leak authorization headers to external hosts if the headers are not explicitly stripped before forwarding the request. This exposes highly sensitive GitHub credentials to untrusted third parties.
Token Privilege Abuse: Unrestricted default permissions for the automatic GITHUB_TOKEN in workflows allow compromised dependency updates or malicious pull requests to exploit elevated privileges, potentially leading to unauthorized repository modifications.