Security context

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

go-git/go-billy
main @ 695a78d
2
Fixes
1
CVEs
HIGH
Peak severity
0.0%
Coverage
Highlights
Path Traversal: 2 prior fixes. Scrutinize any change in this area.
osfs: most-fixed (1 issue). Treat as high-risk during review.
2 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: Inadequate canonicalization of paths and incorrect absolute-to-relative conversion logic allowed directory creation and file operations outside the designated sandbox root, leading to arbitrary directory traversal.
Path Traversal: During recursive directory operations such as RemoveAll, using Stat instead of Lstat allowed the filesystem to follow and traverse symlinks, potentially affecting paths outside the intended scope.