# OpenCode Console breach exposes users' saved OpenAI / Anthropic / Google API keys · pwn.watch > On the night of Oct 16 2026 an intruder reached a legacy OpenCode Console system that was being decommissioned and may have exposed third-party AI provider keys saved in Console workspaces. OpenCode says 1.4% of Console users (those with external providers linked) were affected and tied it to a large-scale distillation attack. Users reported unauthorized charges up to ~$1,700 and some Google Cloud project suspensions. Anthropic and Google revoked/blocked exposed keys; OpenAI refunded drawn credits. The OpenCode app itself (local keys) was not affected. Page: https://pwn.watch/i/opencode-console-provider-key-breach · generated 2026-12-06T19:58:06.567Z ## Status - Severity: high · status: live · patch: partial - Product: OpenCode Console (hosted service by Anomaly) - Started: 2026-10-17 - Affected: OpenCode Console workspaces with saved OpenAI, Anthropic or Google provider keys (~1.4% of Console users; affected users were emailed) ## Follow this incident - RSS (one item per update): https://pwn.watch/i/opencode-console-provider-key-breach/feed.xml - JSON Feed: https://pwn.watch/i/opencode-console-provider-key-breach/feed.json - Full data (timeline, sources, posts, agentBrief): https://pwn.watch/i/opencode-console-provider-key-breach.json - This file: https://pwn.watch/i/opencode-console-provider-key-breach/llms.txt ## Updates (newest first) - 2026-10-30: Wiz publishes a campaign analysis linking this incident to at least nine AI developer platform breaches in October that hunted stored environment variables for AI keys, and reports downstream LLMJacking abuse of stolen enterprise Bedrock keys within 30 minutes of a vendor breach. (https://www.wiz.io/blog/black-october-for-ai-developer-platforms) - 2026-10-20: Anthropic credit restoration still in progress; OpenCode says it will cover them itself if not done this week. (https://ctxsec.com/items/opencode-console-provider-key-breach-2026-10) - 2026-10-19: BleepingComputer and The Hacker News report unauthorized charges up to ~$1,700 and Google Cloud project suspensions; OpenAI says it refunded affected credits. (https://thehackernews.com/2026/10/opencode-console-breach-may-have.html) - 2026-10-18: Dax says attackers have been 'non stop' attacking OpenCode's systems for 48 hours; systems being hardened. (https://x.com/thdxr/status/2111790511409258796) - 2026-10-17T00:30Z: Earliest possible exposure of saved provider keys (per OpenCode's email to affected users). (https://thehackernews.com/2026/10/opencode-console-breach-may-have.html) - 2026-10-17: OpenCode emails affected users, then announces the breach on X, tied to a 'large scale distillation attack' affecting 1.4% of Console users. (https://x.com/opencode/status/2111519637049319818) - 2026-10-17: Dax (OpenCode) clarifies only the hosted Console is affected; keys used locally with the OpenCode app never reach OpenCode. Anthropic and Google revoke/block exposed keys; refunds start. (https://x.com/thdxr/status/2111572618340188393) ## Fix brief # Security brief: OpenCode Console breach exposes users' saved OpenAI / Anthropic / Google API keys Source: https://pwn.watch/i/opencode-console-provider-key-breach · status: live · severity: high · updated Nov 7, 2026, 02:30 UTC ## Patch status **PARTIALLY PATCHED: some fixes exist, but not every affected branch/product is covered. Check carefully and apply mitigations where no fix exists.** ## What it is On the night of Oct 16 2026 an intruder reached a legacy OpenCode Console system that was being decommissioned and may have exposed third-party AI provider keys saved in Console workspaces. OpenCode says 1.4% of Console users (those with external providers linked) were affected and tied it to a large-scale distillation attack. Users reported unauthorized charges up to ~$1,700 and some Google Cloud project suspensions. Anthropic and Google revoked/blocked exposed keys; OpenAI refunded drawn credits. The OpenCode app itself (local keys) was not affected. Severity detail: Credential exposure with confirmed abuse (unauthorized API charges); no CVE - platform incident - Product: OpenCode Console (hosted service by Anomaly) ## Affected versions - OpenCode Console workspaces with saved OpenAI, Anthropic or Google provider keys (~1.4% of Console users; affected users were emailed) ## Check whether you're affected No generic command applies (the product is a hosted service, appliance or desktop app). Check the installed version in its admin UI / About screen and compare with the versions above. ## Fix No fixed version is listed. Follow the vendor advisory below. ## Mitigations The data marks this as partial. Until every affected component is fixed, apply the vendor mitigations from the advisories below (restrict network exposure of the affected service, disable the vulnerable feature if the advisory allows). ## Secrets to rotate This incident involves possible credential exposure. Rotate any credentials (API keys, tokens, env vars, SSH keys) that were present on affected systems or in affected builds while vulnerable/compromised versions were installed, and review access logs. ## Specific notes If you saved OpenAI, Anthropic or Google API keys in OpenCode Console: revoke and recreate them, then check provider usage and billing from 2026-10-17 00:30 UTC onward. Keys used only with the local OpenCode app were not exposed. ## Latest updates - Oct 30, 2026: Wiz publishes a campaign analysis linking this incident to at least nine AI developer platform breaches in October that hunted stored environment variables for AI keys, and reports downstream LLMJacking abuse of stolen enterprise Bedrock keys within 30 minutes of a vendor breach. - Oct 20, 2026: Anthropic credit restoration still in progress; OpenCode says it will cover them itself if not done this week. - Oct 19, 2026: BleepingComputer and The Hacker News report unauthorized charges up to ~$1,700 and Google Cloud project suspensions; OpenAI says it refunded affected credits. - Oct 18, 2026: Dax says attackers have been 'non stop' attacking OpenCode's systems for 48 hours; systems being hardened. - Oct 17, 2026: OpenCode emails affected users, then announces the breach on X, tied to a 'large scale distillation attack' affecting 1.4% of Console users. - Oct 17, 2026: Dax (OpenCode) clarifies only the hosted Console is affected; keys used locally with the OpenCode app never reach OpenCode. Anthropic and Google revoke/block exposed keys; refunds start. - Oct 17, 2026: Earliest possible exposure of saved provider keys (per OpenCode's email to affected users). ## Write-ups & news - [“Black October” for AI Developer Platforms](https://www.wiz.io/blog/black-october-for-ai-developer-platforms) - [OpenCode Console Breach May Have Exposed OpenAI, Anthropic, and Google API Keys](https://thehackernews.com/2026/10/opencode-console-breach-may-have.html) - [OpenCode hack exposes API keys amid AI distillation attacks](https://www.bleepingcomputer.com/news/security/opencode-hack-exposes-api-keys-amid-ai-distillation-attacks/) - [OpenCode Console provider-key breach - running timeline](https://ctxsec.com/items/opencode-console-provider-key-breach-2026-10) ## Caveats No official OpenCode blog post found; facts come from OpenCode/Dax posts on X plus THN/BleepingComputer (which quote OpenCode's email). How the legacy system was accessed is undisclosed. Kept live/partial: OpenCode called it ongoing, and refunds and provider-side revocation were still in progress on Oct 20. OpenCode's own tweet text may be truncated by the API at 'external providers'. --- Machine-readable: https://pwn.watch/i/opencode-console-provider-key-breach.json · all incidents: https://pwn.watch/incidents.json. Verify against the vendor advisory before changing production systems.