OpenCode says a breach tied to a 'distillation attack' exposed AI provider keys for 1.4% of Console users
Some users of the open-source coding agent's paid Console product saw unexplained OpenAI and Anthropic charges before the company disclosed unauthorized access to a legacy system. OpenCode says it is working with Anthropic, OpenAI and Google, The Latent reported.

Photo: Derrick Coetzee / Wikimedia Commons, CC0 (NERSC data center, file photo). OpenCode wordmark from OpenCode's official brand assets.
A breach late on Friday, October 16, exposed OpenAI, Anthropic and other AI provider keys saved by some users of OpenCode's paid Console product, the company said on Saturday, according to The Latent. OpenCode put the share of affected Console users at 1.4%. "We had a security breach last night related to a large scale distillation attack that impacted 1.4% of OpenCode Console users," the project's X account posted, adding that the incident was ongoing and that it was working with Anthropic, OpenAI and Google to remediate.
An email to affected users said someone had gained "unauthorized access to a legacy system that we were in the process of decommissioning" and that keys "saved in your workspace may have been exposed." Users were asked to revoke the keys through each provider's dashboard and to monitor their accounts for unexpected usage. Console sells pay-as-you-go access to models and lets workspace admins connect their own provider accounts, storing those keys on OpenCode's servers, the report said.
Before OpenCode said anything publicly, some users reported unexplained charges. One said his OpenAI key had been used for $281 and his Anthropic key for $168 starting at 2 a.m. ET, and another put his losses at $1,700. The Latent said it could not independently verify those reports. OpenCode has not disclosed the exact number of affected users, the scale of losses or whether it plans to reimburse victims.
OpenCode, built by Anomaly, is an open-source coding agent that works with models from more than 75 providers; the company says 16 million developers use it every month. It did not explain how it linked the leaked keys to the "large scale distillation attack." Distillation typically involves using outputs from one AI model to train another.