Security context

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

KeystoneJS/keystone
main @ 2ca7da5
51
Fixes
0
CVEs
CRITICAL
Peak severity
79.3%
Coverage
Highlights
Auth Bypass: 27 prior fixes. Scrutinize any change in this area.
packages/auth/src/index.ts: most-fixed (3 issues). Treat as high-risk during review.
39 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: Multiple fixes address session parsing and validation; a critical fix invalidates sessions with missing items, while others tighten Bearer token parsing and session data validation.
Access Control Bypass: Access control filters are inconsistently applied across query and mutation paths, especially in relation queries and updateMany operations, leading to unauthorized data access.
Auth Bypass: Field-level access control is bypassed due to incorrect operation arguments or missing session context in access functions.