OpenCode breach may have exposed stored AI provider keys

Anomaly Innovations says a breach affecting about 1.4% of OpenCode Console users may have exposed stored OpenAI, Anthropic, and Google API keys.

18 Oct 2026 · Cybersecurity

OpenCode developer Anomaly Innovations warned users that stored API keys may have been exposed through unauthorized access to a legacy console system, Startup Fortune reports. The company linked the incident to what it called a large scale distillation attack and said it affected about 1.4% of OpenCode Console users.

Cybersecurity AI Weekly covers stories like this, every Monday. Free.

The exposure involved some workspaces connected to external providers, including OpenAI, Anthropic, and Google. Anomaly Innovations emailed affected users on October 17 and said its investigation had found no evidence that other data was exposed.

The company is working with the three providers on remediation. Affected users were advised to revoke and replace their provider keys, review usage and billing records from October 17 onward, and update any services that used the old credentials.

During the incident, the frontier models OpenCode used to investigate the attack began refusing to help because analyzing the attack material tripped their safety filters, according to posts on X by an OpenCode developer and others; the developer said the team has since gained access to a different tool. Investor David Sacks cited the episode, and a similar one at Hugging Face, as evidence that defenders need access to powerful models to run their own cyber defenses.

Affected developers reported unauthorized charges ranging from hundreds of dollars to more than $1,000 on individual accounts, TechCrunch reports. Anthropic and Google blocked the API keys they believed were exposed, OpenAI worked with OpenCode to restore access and refund credits used in the attack, and OpenCode said refunds for unauthorized charges are underway. OpenCode later received access to OpenAI's Daybreak Blue program, which gives vetted users models that are less likely to refuse defensive security requests.

In this story

Market report

2025 Generative AI in Professional Services Report

Thomson Reuters

This report by Thomson Reuters explores the integration and impact of generative AI technologies, such as ChatGPT and Microsoft Copilot, within the professional services sector. It highlights the growing adoption of GenAI tools across industries like legal, tax, accounting, and government, and discusses the challenges and opportunities these technologies present. The report also examines professionals' perceptions of GenAI and the need for strategic integration to maximize its value.

Read more
Free, six days a week

Daily AI Brief: the AI news that matters, in your inbox.