Highlights
Command Injection: 1 prior fix. Scrutinize any change in this area.
hooks/caveman-config.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.
Insecure Third-Party Download / Code Injection: The installation process executed arbitrary downloaded hooks via child_process.spawnSync without enforcing source integrity or pinned versioning, allowing remote code execution via compromised downloads.
Command Injection: Direct PowerShell script interpolation of directory paths and configuration options into 'node -e' command line arguments allowed command injection on the host during setup.
Path Traversal: Unvalidated flag file reads through fs.readFileSync could lead to arbitrary local file disclosure if the resolved configuration paths targeted system symlinks.