Security context

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

fastify/fast-json-stringify
main @ b926f53
3
Fixes
0
CVEs
CRITICAL
Peak severity
100.0%
Coverage
Highlights
Code Injection: 3 prior fixes. Scrutinize any change in this area.
index.js: most-fixed (3 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.

Code Injection: Generated code is built from schema keys and regex patterns and evaluated via new Function; unsanitized input allows arbitrary code execution. Two critical fixes address this exact sink.
Code Injection: A separate injection path exists in buildValue where an unsanitized property key is re-stringified into generated code, allowing escape from string literal context.