Security context

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

graphql-hive/graphql-yoga
main @ 13b7c67
14
Fixes
0
CVEs
HIGH
Peak severity
46.2%
Coverage
Highlights
Denial of Service: 7 prior fixes. Scrutinize any change in this area.
packages/graphql-yoga/src/server.ts: most-fixed (3 issues). Treat as high-risk during review.
4 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.

Prototype Pollution: The multipart request parser was vulnerable to Prototype Pollution via direct property assignment using unchecked key paths. Malicious payloads could corrupt prototype properties, leading to remote code execution or application-wide denial of service.
Auth Bypass: Batched requests shared or leaked mutated server contexts across individual executions. Without a prototypically inherited, isolated context for each unit of execution, one malicious payload in a batch could pollute or hijack authorization states for subsequent operations.
Denial of Service: Unchecked batching of GraphQL queries allowed clients to submit arbitrary arrays of operations in a single HTTP request, leading to massive CPU and memory consumption.