Highlights
Command Injection: 11 prior fixes. Scrutinize any change in this area.
webview-ui/src/utils/command-validation.ts: most-fixed (6 issues). Treat as high-risk during review.
18 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: Complex shell features such as zsh glob qualifiers, process substitutions, multi-line inputs, and nested subshells repeatedly bypassed string-matching regex checks to allow arbitrary code execution.
Path Traversal: Workspace boundary validation is critical to prevent the LLM agent or external control inputs from reading or writing host system files outside the active project.
Auth Bypass: File restriction and path-validation rules could be bypassed when alternate file-editing parameters or tools were leveraged without centralized restriction enforcement.