Could AI distillation attacks cause API exposure for OpenCode Console users?
OpenCode warns that unauthorized access to an older system may have exposed third-party API keys for a small fraction of its Console users.

Key points
- The breach affects 1.4% of OpenCode Console users who linked external providers.
- Unauthorized access occurred on a legacy system scheduled for decommissioning.
- OpenCode linked the incident to large-scale AI model distillation attacks.
OpenCode disclosed on October 17 that unauthorized actors accessed a legacy system, potentially exposing third-party API keys stored in user workspaces. According to Cyber Security News, the incident impacts 1.4% of Console users, specifically those who had connected external AI providers. The company stated it is coordinating with Anthropic, OpenAI, and Google to manage the fallout from this exposure.
Root cause
The vulnerability stemmed from unauthorized entry into a legacy infrastructure component that OpenCode was already preparing to shut down. This older system held credentials for external services, including keys for OpenAI and Anthropic, within user workspaces. The company did not specify the technical method attackers used to bypass controls or how long they maintained access to this decommissioning environment.
View the original post on X
Attack path
OpenCode connected the breach to a large-scale distillation campaign, where attackers harvest AI model outputs to train competing systems. While the company noted this link, it did not provide technical evidence proving the stolen keys were actively used for such data collection. The disclosure describes possible exposure of credentials rather than confirming active exploitation of the keys for model training or other malicious purposes.
Affected versions
- Users of the OpenCode Console platform
- Accounts that had linked external AI service providers
- A subset comprising 1.4% of total Console users
- Only those who received direct email notification from OpenCode
Mitigation
- Revoke compromised API keys through the respective provider dashboards
- Generate new credentials and update all dependent applications
- Audit recent usage logs for unexpected or anomalous activity
- Verify receipt of OpenCode’s specific notification email
What it means for organisations
Teams should immediately verify whether any corporate accounts used the affected console with external integrations. Security leaders must determine if exposed keys touched production environments or contained elevated permissions. Incident response plans should include rapid credential rotation for all linked services. Communication channels must ensure developers know which keys are invalidated. Risk managers should assess supplier dependencies on similar legacy architectures.
What to do and how to stay safe: OpenCode
- Check your inbox for specific breach notifications from service providers.
- Rotate any API keys stored in workspaces linked to external vendors.
- Monitor provider dashboards for unrecognised usage spikes or errors.
- Review internal policies for storing secrets in third-party development tools.
Step-by-step guide: Data Breaches Explained: How to Spot the Leak Before It Hurts
General security guidance from the CloudSec Press newsroom. It is not confirmed advice from the organisations named in this story.
Frequently asked questions
Are all OpenCode users affected by this breach?
No, only 1.4% of Console users who linked external providers were impacted, according to the company’s statement.
Was the breach used for AI model distillation?
OpenCode linked the incident to distillation attacks but did not confirm the exposed keys were actually used for that purpose.
How can I tell if my account was compromised?
OpenCode emailed every affected user directly; if you did not receive an email, your account was not impacted.



