Security context

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

orchestral/testbench-core
11.x @ 70cdc7c
2
Fixes
0
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
Command Injection: 1 prior fix. Scrutinize any change in this area.
src/Foundation/Console/TestCommand.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: Shell command construction via Process::fromShellCommandline with user-influenced arguments can lead to arbitrary command execution; the fix switched to array-based invocation but sibling call sites may still use string concatenation.
Information Disclosure: Environment variables APP_KEY and APP_DEBUG are propagated to subprocesses; if not explicitly controlled, sensitive values (e.g., debug mode, application key) could leak to child processes or be altered unexpectedly.