OpenCode (Console): breach confirmed, OpenAI and Anthropic API keys to be revoked
On October 17, 2026, OpenCode reported a breach of a legacy Console system: API keys belonging to 1.4% of users may have been exposed. Affected teams must revoke them with the provider.
Translated from French by AI. The original French article is the reference version.

Key points
OpenCode reported on October 17, 2026 unauthorized access to a legacy Console system that was being decommissioned. Third-party provider API keys stored by 1.4% of Console users “may have been exposed.” Affected teams must revoke these keys with the provider, replace them and monitor their usage without waiting for details of the breach.
The facts
- October 17, 2026, OpenCode email to affected users (copy published on Hacker News): detection of “unauthorized access to a legacy system” being decommissioned; third-party provider keys, such as OpenAI or Anthropic, stored in the workspace “may have been exposed”; instruction to revoke and replace them.
- October 17, 2026, OpenCode post on X: breach occurred overnight, 1.4% of Console users affected, only those who had linked an external provider. Users who did not receive an email are reportedly not affected. OpenCode says it is working with Anthropic, OpenAI and Google to limit the impact.
- Motive: OpenCode links the incident to a “large-scale distillation attack.” According to Crypto Briefing, the attackers allegedly sought to use the keys to harvest large volumes of responses from top-tier models, at the victims' expense. OpenCode did not elaborate on this hypothesis.
- Reports on Hacker News: one user received a notice from Anthropic the same morning saying their $20 monthly credit was exhausted, without establishing the source of that usage; another sees no suspicious activity; others report that their OpenCode keys were disabled, sometimes mid-session.
- Crypto Briefing mentions accounts drained quickly and bills of several hundred dollars. These claims have not been verified by Cyberiack.
- Not established at this stage: the initial access vector, the exact number of exposed keys, the identity of the attackers, the actual use of the keys. OpenCode promised to “come back with updates.”
Impact
Developers and teams who linked a model provider account to a Console workspace are exposed. The immediate risk is financial: a key without a spending cap allows requests to be billed to its owner until it is revoked. OpenCode has not said who will bear the cost of fraudulent requests.
The incident shows the cost of centralizing secrets in an AI development tool: a third-party service that stores a whole team's keys becomes a single target. The unauthorized access also involves a system being retired; an end-of-life system remains within the security perimeter as long as it holds secrets. If the distillation hypothesis is confirmed, model provider API keys are targeted for the compute they unlock, regardless of any data.
Recommendations
- Inventory the keys stored in the Providers tab of each Console workspace; team administrators should do this for their members.
- Revoke these keys with the provider (OpenAI, Anthropic, Google), even if you received no email: only revocation makes them unusable. Create a new key, then update the Console and applications.
- Search for the same key in code repositories and configuration files: a key copied elsewhere remains exploitable.
- Review usage over the past few days with each provider: unusual models, volume spikes, unfamiliar regions.
- Set a spending cap on each provider account.
- Follow OpenCode's updates on the intrusion vector and on who bears the cost of fraudulent requests.
Method: facts verified against the sources cited below, article reviewed and approved by Frédéric LENQUETTE. Our editorial policy.
Share this article