Highlights
Denial of Service: 2 prior fixes. Scrutinize any change in this area.
lib/index.js: most-fixed (2 issues). Treat as high-risk during review.
1 high-severity fix in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Denial of Service: Recursive cloning of complex data structures such as Map or Set objects can trigger an infinite loop or stack overflow if circular references are not properly tracked using a seen map. This can be exploited to cause a complete Denial of Service.
Denial of Service: Deep equality checks (exports.deepEqual) on nested structures containing circular references can result in infinite recursion and application crashes if reference pairs are not continuously monitored.
Prototype Pollution: Insecure implementations of object merging and cloning operations allow malicious actors to inject properties into the global Object prototype via '__proto__', leading to prototype poisoning.