Security context

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

jaredwray/cacheable
main @ 0be0680
3
Fixes
0
CVEs
HIGH
Peak severity
0.0%
Coverage
Highlights
Prototype Pollution: 3 prior fixes. Scrutinize any change in this area.
flat-cache: most-fixed (1 issue). 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: The mget() retrieval methods in NodeCache and NodeCacheStore historically returned map objects vulnerable to prototype pollution when handling unchecked keys, requiring mitigation via Object.create(null).
Prototype Pollution: WHOIS and RDAP response parsing logic parsed and normalized fields into standard objects, creating a risk of prototype pollution and ReDoS that required shifting to null-prototype objects during parsing.
Prototype Pollution: The library relied on an outdated version of the 'flatted' package, introducing a transitively inherited prototype pollution vulnerability (GHSA-rf6f-7fwh-wjgh).