OpenCode confirms breach exposing API keys in cloud Console
The OpenCode Console, a cloud service for storing and invoking AI model API keys, suffered a breach affecting roughly 1.4% of users. Developers reported unusual charges on OpenAI and Anthropic accounts, while the team confirmed the incident targeted an outdated decommissioned system.
OpenCode, an open-source AI coding agent popular as an alternative to Claude Code and Cursor, has officially confirmed a security breach affecting approximately 1.4% of its cloud Console users. According to an official statement attributed to the platform, the incident was caused by a large-scale distillation attack that gave unauthorized access to an outdated system in the process of being decommissioned, potentially exposing third-party model API keys stored in specific workspaces.
Developers have reported unusual charges resulting from the compromise, with losses ranging from hundreds of dollars to over $1,700. Specific reports include developer Colin Parsons citing approximately $281 in charges on an OpenAI account and $168 on an Anthropic account, while Preston Zeller reported losses of about $1,700. OpenCode has notified affected users to revoke and rotate their API keys and review recent usage logs to mitigate further misuse.
Major AI providers are collaborating with OpenCode to address the fallout. Lydia Hallie of Anthropic’s Claude Code team stated that the company is working to revoke compromised Claude API keys, while Tibo from OpenAI said the team is assisting affected users in restoring access and refunding improperly consumed amounts. Dax Raad, a primary creator of OpenCode, clarified that only the cloud-based Console service was affected; API keys configured directly within the locally run version of the tool were never transmitted to OpenCode servers and thus remain secure.
Sources2
Reporting and evidence linked in this story.
Claim connections4
OpenCode confirmed a breach affecting approximately 1.4% of Console users caused by a large-scale distillation attack on an outdated system.
confirmedConnected sources1
Developers reported unusual charges on OpenAI and Anthropic accounts, with specific losses including $281, $168, and $1,700.
confirmedConnected sources1
Anthropic and OpenAI teams are collaborating with OpenCode to revoke compromised keys and refund improperly consumed amounts.
confirmedConnected sources1
Only the OpenCode Console cloud service was affected; locally configured API keys were never transmitted to servers.
confirmed