Security context

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

mafintosh/tar-fs
master @ 522415f
7
Fixes
1
CVEs
HIGH
Peak severity
Highlights
Path Traversal: 6 prior fixes. Scrutinize any change in this area.
index.js: most-fixed (7 issues). Treat as high-risk during review.
5 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.

Path Traversal: Attackers can exploit symlinks and hardlinks pointing outside the destination directory, resulting in arbitrary file extraction and overwrites. Correct validation must canonicalize paths to ensure targets resolve inside the destination.
Path Traversal: Partial-path traversal permits writing to sibling directories that share a name prefix unless path validation enforces a trailing directory separator after the destination path comparison.
Path Traversal: Windows-specific characters, including colons and wildcards, can bypass standard path validation routines to allow directory traversal or invalid file creations when extracted on Windows platforms.