Highlights
Command Injection: 2 prior fixes. Scrutinize any change in this area.
src/actions/implementations/closeAction.ts: most-fixed (1 issue). Treat as high-risk during review.
4 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: Command execution via child_process.execSync during git operations was vulnerable to injection through untrusted branch names containing shell metacharacters. Developers must use safe input validation or avoid shell spawning.
Command Injection: Unsanitized tmux session names could inject arbitrary arguments or commands into downstream tmux commands like 'set-option -t'. Safe replacement filters must be preserved.
Remote Code Execution: Parsing file-backed settings from '.dmux.defaults.json' via readFileSync could allow untrusted configurations to inject commands or malformed settings. Strict schema validation is required at load time.