Critical OpenCode RCE and Prompt Injection Flaw Exposes Agent Internals
A new write-up reveals OpenCode versions before v1.1.10 exposed HTTP endpoints that allowed remote command execution, interactive PTYs, and arbitrary file reads. Combined with LLM context injection, the flaw enabled host takeover and has been patched.