Highlights
Command Injection: 2 prior fixes. Scrutinize any change in this area.
.pi/extensions/_shared/shell-write.ts: most-fixed (1 issue). Treat as high-risk during review.
3 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.
: ShellStart was not registered in the shared SHELL_TOOLS list, allowing background shell commands to bypass write guards and permission gates.
: ShellSession bypassed both guards; shell write detection was missing, enabling shell redirection to bypass write guards.
: Auto-update ran npm install -g without blocking lifecycle scripts, allowing arbitrary code execution via package scripts.