Skip to content

daily brief · Oct 19, 2026

OpenCode Console Breach: Saved OpenAI, Anthropic and Google Keys at Risk

OpenCode says a breach of its Console may have exposed saved AI provider keys for 1.4% of users. Here's who is affected and what to do now.

3 sources · 1 min read

OpenCode, maker of a popular open-source AI coding tool, said on October 17, 2026 that an intruder reached an old system it was retiring and may have exposed the OpenAI, Anthropic and Google API keys that 1.4% of its Console users had saved there. Affected users were emailed and told to replace those keys.

Console is OpenCode’s optional hosted service, where a team stores its own AI provider key so members can use the models without seeing it. The everyday command-line and desktop apps keep keys on the user’s own machine and are not affected, co-founder Dax Raad said. OpenCode linked the incident to a “large-scale distillation attack,” meaning a campaign to harvest a model’s answers to train a rival, but hasn’t explained how the two connect or how the attackers got in.

Some developers say they have already been billed for usage they didn’t run, with one reporting about $1,700 in losses. Anthropic says it has revoked Claude keys it believes were affected. Deleting a key from Console does not cancel it; only the provider can.

Quick answers

How do I know if my key was exposed in the OpenCode breach?

OpenCode emailed every affected Console user on October 17. It says anyone who didn't get that email was not affected.

What should affected users do?

Revoke and replace each saved key in the provider's own dashboard, update any apps that use it, and check billing for unexpected use since October 16.

OpenCode Console breachOpenCode API keysAI API key leakrotate OpenAI API keyAnthropic API key revokeddistillation attack

More on: OpenAI · Anthropic and Claude · Google and Gemini · AI security · All Security briefings