Security context

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

jonschlinkert/set-value
master @ c574eb8
2
Fixes
2
CVEs
CRITICAL
Peak severity
Highlights
Prototype Pollution: 2 prior fixes. Scrutinize any change in this area.
index.js: most-fixed (2 issues). Treat as high-risk during review.
2 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: Attackers can bypass key validation logic using non-string path components (e.g., arrays or objects) that evade standard string-based blocklists, leading to type confusion and arbitrary prototype modification. Developers must ensure all segment keys are coerced to strings before validation.
Prototype Pollution: Nested path traversal functions failed to block sensitive property keys like '__proto__', 'constructor', and 'prototype', permitting remote attackers to inject properties into the base Object constructor.