Security context

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

itayinbarr/little-coder
main @ a9e467f
3
Fixes
0
CVEs
HIGH
Peak severity
100.0%
Coverage
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.