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.