Highlights
Path Traversal: 4 prior fixes. Scrutinize any change in this area.
electron/main/ipc-handlers.ts: most-fixed (2 issues). 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.
Path Traversal: IPC handlers exposed administrative file operations (such as recursive directory deletion) to path traversal via malicious extension IDs that escaped the designated root directory. Defenses must ensure that extension IDs are validated against strict alphanumeric patterns and that resolved paths are explicitly prefixed and canonicalized.
Path Traversal: The CLI agent parsed and resolved workspace paths from external input without neutralizing directory traversal sequences ('..'), absolute paths, or URL-encoded paths, risking arbitrary file read or write.