Highlights
Path Traversal: 4 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: The path sanitization logic historically failed to handle Windows-specific path patterns, including drive letters, UNC shares, and colons, allowing attackers to write arbitrary files on Windows systems via malicious archive entry names.
Path Traversal: Improper utilization of the sanitization function, specifically passing multiple arguments instead of a single concatenated string, caused the sanitizer to drop elements of the path, creating an bypass vectors during entry creation.
Path Traversal: The `bulk()` API did not adequately sanitize destination paths, allowing directory traversal sequences to propagate into the generated archive structure.