Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

seemseam/claude_codex_bridge
main @ e110e26
9
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Information Disclosure: 4 prior fixes. Scrutinize any change in this area.
bin/cpend: 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.

Command Injection: LLM execution of powershell-translated shell skills allowed arbitrary command expansion when transferring variables to Bash. Using unquoted or double-quoted heredocs in system skill templates lets user-controlled inputs break out of the shell context.
Auth Bypass: Trusting client-supplied headers (like X-Forwarded-For) in local access checks allowed remote attackers to bypass API authentication entirely. Real identity verification must rely on cryptographic session tokens or secure, non-spoofable transport properties.
Information Disclosure: System diagnostics bundles frequently sweep active provider workspaces, accidentally packaging and exporting raw credentials, OAuth tokens, and `.codeisland` secret directories to non-privileged users.