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.