Highlights
Denial of Service: 2 prior fixes. Scrutinize any change in this area.
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: Passing non-string arguments to helper functions like JSONCookie and signedCookie triggers unhandled TypeErrors (.substr is not a function) that crash the Node.js process. This allows remote attackers to easily cause a Denial of Service.
Prototype Pollution: The project relies on external libraries for low-level cookie parsing. Vulnerabilities in these dependencies, such as the prototype pollution in 'cookie' (GHSA-pxg6-pf52-xh8x), expose the middleware to object manipulation risks if the dependency versions are not strictly managed.