Security context

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

99designs/gqlgen
master @ 621d3c6
4
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Auth Bypass: 2 prior fixes. Scrutinize any change in this area.
handler: most-fixed (2 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: The federation entity resolver failed to enforce object-level security directives (such as @auth) when resolving queries through the specialized '_entities' entry point. This allowed attackers to bypass field-level authorization policies.
Auth Bypass: GraphQL transport handlers allowed request bodies to override HTTP headers during context creation, leading to potential authentication and context spoofing.
CSRF: The handler permitted execution of GraphQL mutation operations via HTTP GET requests, making users susceptible to Cross-Site Request Forgery (CSRF) attacks that could modify state.