Highlights
Denial of Service: 25 prior fixes. Scrutinize any change in this area.
packages/server/src/server/session.ts: most-fixed (5 issues). Treat as high-risk during review.
19 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: Subprocess spawning in Windows environments is highly susceptible to shell metacharacter injection. Input escaping for cmd.exe is required to prevent arbitrary command execution.
Sandbox Escape: Unrestricted tool execution pathways allow agents to run arbitrary binaries and escape the intended workspace environment. Restricting execution paths and enforcing manual confirmations mitigates this.
Auth Bypass: Keying workspace projects on raw directory paths instead of isolated, verified workspace IDs can allow unauthorized cross-workspace directory access.