Highlights
Command Injection: 5 prior fixes. Scrutinize any change in this area.
extension/src/background.ts: most-fixed (2 issues). Treat as high-risk during review.
18 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: Unsanitized input directly reaches shell execution sinks like `execSync`. Complete migration to `execFileSync` or robust parameterization is necessary to prevent arbitrary host-level code execution.
Code Injection: Dynamic parameters injected into `page.evaluate` as unescaped template literals allow remote attackers to hijack the browser context. All arguments passed to execution contexts must be safely serialized using `JSON.stringify`.
Sandbox Escape: Reused VM contexts and template rendering functions can permit prototype pollution and state leakage, bypassing security sandboxes unless deeply copied and strictly blocked.