Security context

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

isaacs/node-glob
main @ 9f70854
2
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Command Injection: 2 prior fixes. Scrutinize any change in this area.
src/bin.mts: most-fixed (2 issues). 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.

Command Injection: Untrusted matched filenames containing shell metacharacters could trigger arbitrary code execution when evaluated or passed to process spawning functions under unsafe shell environments. This is exacerbated by command-line execution helpers that run processes in the foreground.
Command Injection: Allowing arbitrary or unsafe `--shell` option flags on unsupported environments enables malicious configurations to spawn arbitrary system shells, leading to system compromise.