Highlights
Command Injection: 1 prior fix. Scrutinize any change in this area.
src/utils/compaction.ts: most-fixed (1 issue). Treat as high-risk during review.
1 high-severity fix 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: The application previously executed system commands via shell-evaluating functions, allowing arbitrary command execution when handling untrusted git branches or remote names. Developers must consistently use argument-vector-based execution to prevent shell evaluation of user controlled parameters.
Path Traversal: Insecure handling of session identifiers in cache-file path construction allowed path traversal, exposing local files to unauthorized read/write operations. Path canonicalization and directory prefix verification are required to secure these operations.