Security context

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

remy/nodemon
main @ bb8b04e
2
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Command Injection: 1 prior fix. Scrutinize any change in this area.
lib/monitor/run.js: most-fixed (1 issue). 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.

Command Injection: When spawning user scripts or executing commands, arguments containing spaces and unescaped double-quotes can break out of their shell context. If user input or untrusted file paths are interpolated into the run command, an attacker can execute arbitrary commands on the host system.
SSRF: The update-notifier dependency pulled in transitive dependencies (specifically 'got') that were vulnerable to SSRF (CVE-2022-33987). Although fixed by switching to simple-update-notifier, any network-enabled update checks or external requests pose a recurring risk of SSRF or dependency-chain compromise.