Security context

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

amphp/process
2.x @ ed8ba1e
2
Fixes
0
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
Command Injection: 1 prior fix. Scrutinize any change in this area.
lib/Internal/Windows/Runner.php: 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: User-supplied command was concatenated directly into the wrapper command line, allowing injection of arbitrary shell arguments.
Race Condition: Non-atomic check-then-copy of the wrapper executable enabled a TOCTOU race, potentially allowing local code execution or process disruption.