OpenCode says a breach hit 1.4% of Console users who stored provider keys
The project’s X account on Saturday: a breach “related to a large scale distillation attack” affected 1.4 percent of OpenCode Console users who had linked outside providers. It emailed them that morning. The email, which the company has since confirmed, says someone reached a legacy system being decommissioned and that OpenAI, Anthropic and other keys saved in a workspace may have been exposed. Anthropic’s Lydia Hallie said the lab had revoked Claude API keys it believes were affected. OpenCode has not said how many people 1.4 percent is, or whether it will repay charges.
Feature4 minIn-depth
Eli Navarro4 min read
- OpenCode
- Security
- API keys
- Anthropic
- OpenAI

Photo: The LatentSource page
OpenCode said on Saturday that a security breach tied to what it called a large-scale distillation attack had affected 1.4 percent of users of OpenCode Console, and that those users were a subset who had linked accounts at outside model providers. Its X account said it had emailed everyone affected that morning, and that anyone who did not receive the email was not affected. The incident was still going on, the post said, so the company would not share more yet. It was working with Anthropic, OpenAI and Google. TechCityAuthority timed the post at 11:38 p.m. IST on 17 October, which is 6:08 p.m. UTC. Zack Abrams at The Latent filed a story at 9:07 p.m. UTC the same day with the same figures.
The incident is ongoing so we cannot share more details at this point but we are working with Anthropic, OpenAI, and Google to remediate.
— OpenCode, on X, 17 October 2026, as quoted by The Latent and TechCityAuthority
The email, titled “Action Required: Potential provider key breach,” is the notice users had already begun posting. TechCityAuthority, citing a screenshot first shared from r/opencode and then by security writer Matt Johansen, said the message tells recipients the company “identified unauthorized access to a legacy system that we were in the process of decommissioning,” and that “third party provider keys (eg OpenAI, Anthropic) saved in your workspace may have been exposed.” Recipients were asked to revoke and replace those keys, update apps that use them, and check recent usage. Johansen’s own line, “Keys stolen,” is stronger than the email, which says the keys may have been exposed. Yuval Goel at Notebookcheck, in a story dated 17 October, reported the same email and the same 1.4 percent figure.
Console stores the key. The open-source app does not.
OpenCode is an open-source coding agent, built by Anomaly, that can run in a terminal, an editor or a desktop app and call models from many providers. The Latent wrote that the GitHub repository has about 215,000 stars, and that the company says 16 million developers use the agent each month. The keys in this incident are not the ones a person types into that local app. TechCityAuthority reported that co-founder Dax Raad said keys used in the regular app never reach the company. The keys at issue are the ones saved in Console, the hosted product where a workspace can connect a provider account the team already pays for. Console stores the credential and sends requests through its own gateway. The provider bills the key’s owner directly.
That split is why a stolen key is hard to see from inside Console. TechCityAuthority noted that Console’s usage reports cover only requests that pass through Console. A key used straight at OpenAI or Anthropic would not show up there, and would not hit a workspace budget. The bill lands at the provider. Deleting the key inside OpenCode does not stop someone who already has a copy. The email’s instruction is to revoke it on the provider’s own dashboard.
Charges users posted, and what the company has not said
Some users described charges before OpenCode posted. The Latent said Colin Parsons wrote on X at 9:36 a.m. Eastern that his OpenAI key had been “pounded” for $281 of usage starting at 2 a.m. Eastern, and his Anthropic key for $168, and that he used both keys only in OpenCode. In replies, Preston Zeller put his losses at $1,700, and Francisco Giancarelli wrote that he saw “over 700 in openai usage” before he cut the key off. Alejandro García Iglesias said his OpenAI account was suspended as well as charged. Abrams wrote that The Latent could not independently verify those reports. Notebookcheck, reading a Reddit thread, reported separate claims, including $400 on an Anthropic account and about €200 of Google usage, and said it was relaying what users had posted. OpenCode has not published a total.
Anthropic’s Lydia Hallie said the lab had revoked Claude API keys it believes were affected, TechCityAuthority reported. Raad wrote on Saturday afternoon, The Latent said, that his own accounts were “being attacked now too.” He did not immediately answer The Latent. Beyond the X post, TechCityAuthority said, neither OpenCode nor Anomaly had published a fuller account. The status page showed no incident, and there was no new security advisory on GitHub. OpenCode has not said how many people 1.4 percent represents, how long the access lasted, what the legacy system was, or how a distillation attack connects to keys stored for other companies’ models. Distillation, as TechCityAuthority defined it in the same piece, means sending large numbers of prompts to a model and using the answers to train another one. OpenCode did not explain the link. It also has not said whether it will repay the charges.


