Highlights
Argument Injection: 1 prior fix. Scrutinize any change in this area.
cmd/opencodereview/git.go: most-fixed (1 issue). 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.
Argument Injection: Untrusted Git references starting with dashes can be parsed as flags by the underlying git executable, potentially triggering arbitrary command execution during code review operations. This requires strict path validation and the use of options delimiters like '--'.
DNS Rebinding: The local HTTP viewer server is susceptible to DNS rebinding attacks, which could allow external malicious web pages to exfiltrate sensitive local JSONL session logs. Implementing Host header verification middleware is crucial to block unauthorized host headers.
Signature Verification Bypass: The installer script historically permitted downloading software binaries without mandatory checksum verification or over non-HTTPS connections, exposing users to potential man-in-the-middle (MITM) attacks and binary tampering.