Security context

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

archiverjs/node-zip-stream
master @ 4a5c39d
2
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Path Traversal: 2 prior fixes. Scrutinize any change in this area.
lib/util/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.

Path Traversal: Absolute paths containing colons can bypass path sanitization in Windows environments, allowing files to be written outside the intended extraction directory. This poses a severe risk when handling untrusted archive structures.
Path Traversal: Windows drive letters and repeating or leading path traversal sequences (e.g., repeating dot-dot-slash) were historically not stripped correctly during path normalization, leading to directory traversal.