Security context

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

mikeyobrien/ralph-orchestrator
main @ 407cb96
5
Fixes
0
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
Command Injection: 2 prior fixes. Scrutinize any change in this area.
backend/ralph-web-server/src/runner/ProcessSupervisor.ts: most-fixed (1 issue). Treat as high-risk during review.
5 high-severity fixes 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: Process execution originally relied on a shell interpreter, exposing the supervisor to arbitrary shell command execution from unsanitized inputs. Subsequent fixes must enforce non-shell array-form spawning across all supervisor processes.
Path Traversal: The Rust-based planning sessions were vulnerable to directory traversal and symlink escapes, risking arbitrary read and write operations outside the designated session sandbox.
Auth Bypass: Positional command-line arguments allowed attackers to manipulate flag parsing and bypass structural access restrictions such as disallowed tools.