OpenCode breach drains users' AI keys, with one reporting $1,700 in losses
What's the deal? A breach at OpenCodeDealroom has a profile for this one. Try Dealroom → late Friday exposed OpenAI, Anthropic, and other provider keys saved by some users of its paid Console product, the company said Saturday. It put the share of Console users affected at 1.4%, tying the incident to what it called a "large scale distillation attack."
How it works: OpenCode is an open-source coding agent that runs in a terminal, code editor, or desktop app and connects to models from more than 75 providers. Users supply their own private API keys to give the agent access; those keys were exposed. Console stores the keys on OpenCode's servers.
Why it matters: Built by Anomaly (formerly SST), OpenCode's GitHub repository has about 215,000 stars — more than OpenAI's Codex CLI or Google's Gemini CLI. The company says 16 million developers use the agent each month.
What went wrong? An email to affected users said someone gained "unauthorized access to a legacy system that we were in the process of decommissioning." It asked users to revoke keys through each provider's dashboard and monitor accounts for unexpected usage.
The damage: Some users spotted unexplained charges before OpenCode said anything publicly. Colin Parsons wrote on X that his OpenAI key was "pounded" for $281 and his Anthropic key for $168. Preston Zeller put his losses at $1,700, while Francisco Giancarelli saw over $700 in OpenAI usage before pulling the plug.
The response: Anthropic said it revoked affected Claude API keys. OpenCode is working with Anthropic, OpenAI, and Google to remediate. It has not disclosed the number of affected users, total losses, or whether it will reimburse victims.
The signal: The breach joins a wave of distillation-attack scrutiny. In September, US agencies accused six Chinese AI firms, including DeepSeek and Moonshot AI, of extracting billions of tokens from American models, and OpenAI said it shut down a Moonshot-linked campaign in July. Investor Sarah Guo, on the recent string of incidents, said: "that's three companies in the past week."
Read more: thelatent.co · OpenCode on X