2026-11-26 15:47 UTC

OpenCode Console breach may have exposed stored provider API keys

state: corroboratedheat: mediumuncertainty: mediumrelevance: highopencode credential-security supply-chain distillation-attack coding-agentOpenCodeAnomalyAnthropicOpenAIGoogle

What is this?

OpenCode (Anomaly) disclosed an October 2026 breach affecting 1.4% of its Console users and described it as related to a large-scale distillation attack. OpenCode’s follow-up said the affected users had linked external providers; its notice, as reported by Infosecurity Magazine and other secondary sources, said attackers accessed a legacy system being decommissioned and third-party API keys saved in Console workspaces may have been exposed. This points to a Console credential breach, not evidence that the local OpenCode coding agent itself was compromised. Users have reported unauthorized API usage and charges, while an October 19 Hacker News post reproducing an OpenCode email says OpenAI credentials were revoked and unauthorized usage refunded. The supplied evidence does not establish the full scope of exposed data, independently verify the 1.4% figure, or confirm equivalent remediation across Anthropic and Google.

Why it matters

This is a consequential security incident for developers using hosted AI coding tools: credentials stored by a service can expose users to unauthorized model usage, unexpected bills, and account disruption. OpenCode says the affected group was 1.4% of Console users who had linked external providers; reporting points to API keys saved in a legacy Console system, not a compromise of the local coding agent. Users of other hosted AI tools should treat credential storage and revocation controls as practical security considerations. The full scope and provider-by-provider remediation are not independently established in the supplied evidence.

Current assessment

OpenCode (Anomaly) disclosed a breach related to a “large scale distillation attack,” saying it affected 1.4% of Console users and that affected users had external providers linked. Secondary reporting attributes to OpenCode an account that attackers accessed a legacy system and provider API keys saved in Console workspaces may have been exposed; this is a Console credential incident, not evidence that the local OpenCode agent was compromised. A user reports an Anthropic key saved only in Console was used for unauthorized calls and drained, while an HN post reproducing an OpenCode email says OpenAI credentials were revoked and unauthorized usage refunded. These reports support real user impact, but do not establish how widespread it was, independently verify the 1.4% figure, or confirm comparable remediation across providers. The supplied update adds no substantive new evidence; engagement is now quiet. Final scope, data accessed, provider-by-provider remediation, and any technical findings remain unresolved.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p10momentum: steady3 platformsage 986h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

10-16 13:00⭐ origin echo-reconstructed"We had a security breach last night related to a large scale distillation attack that impacted 1.4% of OpenCode Console users... We have no
OpenCode (@opencode) on x (echo) · attributed from reddit.post.1x8gtvs, hn.story.50133006
—
10-17 17:19first on hacker news · published · +28.3hOpenCode: Potential provider key breach [Reddit]
tobwen
—
10-17 18:02first on r/LocalLLaMA · published · +29.0hOpencode breached, rotate keys to be safe.
chemist_slime
—
10-17 23:16first on r/ClaudeAI · published · +34.3hPSA: OpenCode breach - my stored Anthropic key was used to drain ~$158 overnight. Revoke yours.
New-Stop1494
—
10-18 05:32first on r/singularity · published · +40.5hThree Chinese labs just got caught hacking 1.4% of OpenCode's users' personal OpenAI and Anthropic API key usage for distillation, typically stealing hundreds to thousands of dollars from each
Competitive_Travel16
—
10-18 11:49first on r/artificial · published · +46.8hDistillation attack on OpenCode drains users' API keys for Anthropic, OpenAI, Google models
VectorWireAI
—
10-17 17:19amplified on hacker newshn.story.50133006
tobwen
peak 13 · 2 comments · 3% of case engagement
10-17 17:50amplified on hacker newshn.story.50133287
sergiotapia
peak 13 · 0 comments · 2% of case engagement
10-17 18:02amplified on r/LocalLLaMA 👑reddit.post.1x8gtvs
chemist_slime
peak 466 · 165 comments · 64% of case engagement
10-17 23:16amplified on r/ClaudeAIreddit.post.1x8o35r
New-Stop1494
peak 106 · 19 comments · 13% of case engagement
10-18 05:32amplified on r/singularityreddit.post.1x8v4vb
Competitive_Travel16
peak 4 · 5 comments · 1% of case engagement
10-18 08:22amplified on hacker newshn.story.50139083
notmine1337
peak 55 · 28 comments · 15% of case engagement
2 more amplifiers in ainews.case_chain
10-17 18:30our radar first saw it · +29.5hdiscovery anchor: reddit.post.1x8gtvs—
10-17 18:35reached heat=high · +29.6h · via ledger——
pace: p92 vs 879 stories at the 720h mark (now 986h old) — ahead of nolan-lawson-ai-framework-benchmark (1.0x), behind codex-banked-reset-redemption-threshold (1.0x)

Evidence (9) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟠 redditOpencode breached, rotate keys to be safe.
LocalLLaMA
Retrieved article excerpt

Open article · Retrieved 2026-10-17T18:34:10.766448+00:00

[@opencode](https://x.com/opencode)

[OpenCode](https://x.com/opencode)

[Anomaly](https://x.com/anomalyco)

[@opencode](https://x.com/opencode)

We had a security breach last night related to a large scale distillation attack that impacted 1.4% of OpenCode Console users
We have notified them all this morning via email
The incident is ongoing so we cannot share more details at this point but we are working with Anthropic, OpenAI, and Google to remediate

[5:56 PM · Oct 17, 2026](https://x.com/opencode/status/2111516673953935833)·[15.2K

Views](https://x.com/opencode/status/2111516673953935833)

There’s a new version of this post.

[See the latest post](https://x.com/opencode/status/2111519637049319818)Opens the new version of this post

43

65

589

47
chemist_slime462163
🟧 hnOpenCode: Potential provider key breach [Reddit]
Retrieved article excerpt

Open article · Retrieved 2026-10-17T18:34:15.048155+00:00

# Prove your humanity

We’re committed to safety and security. But not for bots. Complete the challenge below and let us know you’re
a real person.

[Reddit, Inc. © "2026". All rights reserved.](https://www.redditinc.com/)

[User Agreement](https://www.reddit.com/help/useragreement)
[Privacy Policy](https://www.reddit.com/help/privacypolicy)
[Content Policy](https://www.reddit.com/help/contentpolicy)
[Help](https://support.reddithelp.com/hc/en-us)
tobwen132
🟧 echo.x ⭐"We had a security breach last night related to a large scale distillation attack that impacted 1.4% of OpenCode Console users... We have noOpenCode (@opencode)——
🟧 hnOpenCode Hacked. Keys Stolensergiotapia130
🟠 redditPSA: OpenCode breach - my stored Anthropic key was used to drain ~$158 overnight. Revoke yours.
ClaudeAI
New-Stop149410419
🟠 redditThree Chinese labs just got caught hacking 1.4% of OpenCode's users' personal OpenAI and Anthropic API key usage for distillation, typically stealing hundreds to thousands of dollars from each
singularity
Competitive_Travel1635
🟠 redditDistillation attack on OpenCode drains users' API keys for Anthropic, OpenAI, Google models
artificial
VectorWireAI91
🟧 hnOpenCode has a security breach last that impacted 1.4% of console usersnotmine13375528
🟧 hnOpenCode and OpenAI issue refunds after security breach of OpenCode consoleindy22

Interpretation history

Decision trace