Security context

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

wntrblm/nox
main @ a976d7e
3
Fixes
0
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
Command Injection: 1 prior fix. Scrutinize any change in this area.
nox/command.py: 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: Direct injection into subprocess.Popen via cmd.exe metacharacters in batch script arguments allows arbitrary command execution on Windows hosts.
Security Feature Bypass: The --error-on-external-run enforcement was gated on logging state, allowing external tools to run without error when log=False, defeating a security policy.
Sandbox Escape: session.install could modify the global environment when no virtualenv was active, breaking the sandbox isolation that nox sessions are supposed to provide.