Highlights
Denial of Service: 1 prior fix. Scrutinize any change in this area.
src/main/ipc/configValidation.ts: most-fixed (1 issue). Treat as high-risk during review.
2 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.
Remote Code Execution: Unvalidated schemes in markdown links within the chat UI could trigger local system handlers, allowing arbitrary code execution when clicked. Ensuring links are directed through safe system browser API handlers is critical to preventing exploitation.
Path Traversal: User-configured root paths received via IPC config validation can be manipulated to traverse directory structures if not strictly validated as absolute, local paths.
Denial of Service: Frequent updates or large session objects sent over IPC can exhaust renderer heap space, causing V8 out-of-memory crashes. Data stripping and adaptive debouncing must be strictly enforced on session-handling endpoints.