CVE Tools
A server rack mid-decommission with a glowing padlock icon on one surviving drive, beside a terminal window showing a refused command prompt — no text, no logos, no real people.

OpenCode Called Its Breach a 'Distillation Attack.' Its Own AI Models Then Refused to Help Investigate It.

A legacy Console system OpenCode was already retiring held live OpenAI, Anthropic and Google API keys when attackers got in — and the label the company gave the intrusion is unverified. The AI guardrails that blocked its own incident responders mid-breach are the better-documented part of the story.

There's no CVE in this story — it's a stored-secret and vendor-trust failure, not a parseable vulnerability. If you ever linked an OpenAI, Anthropic or Google API key into OpenCode's web Console, rotate it now: those keys lived on a server-side system OpenCode has confirmed was breached, and the company's own "large-scale distillation attack" label for what happened to them is an unverified claim, not an independently documented finding. Keys you only ever stored locally with OpenCode's /connect command were not exposed by this breach channel.

1.4%of Console users OpenCode says were affectedno total user count or exposed-key count has been released
48 hrsof continuous attacker activityper co-founder Dax Raad's own account on X, not an independently verified timeline
$1,700highest individual loss self-reported by a developernot confirmed, aggregated, or disputed by OpenCode
0technical postmortems published, 5+ weeks onas of November 25, 2026 — no root cause, IOC, or key count has followed the initial disclosure

1. The claim, verbatim

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.
— OpenCode (@opencode) on X, October 17, 2026

OpenCode — the open-source coding agent built by Anomaly Innovations — posted that statement the Saturday morning after the breach, and it is the only sentence of technical explanation the company has given for the "distillation attack" label since. Co-founder Dax Raad added one scope clarification the same day: the exposure was limited to "the OpenCode Console, not OpenCode itself" — keys linked through the web dashboard, not keys stored locally via the app's /connect command, which "never come to us." From there the story traveled fast: pickup across tech and security press within 72 hours, plus a round of political commentary on the AI guardrails that followed, none of which verified the underlying technical claim.

From intrusion to federal-adjacent policy fallout

  1. Attackers reach a legacy Console system
    OpenCode says the system was "in the process of being decommissioned" and still held API keys users had linked for OpenAI, Anthropic and Google.
  2. OpenCode discloses on X, notifies ~1.4% of users
    The company calls it a "large-scale distillation attack" with no technical detail attached to that label.
  3. Raad says attackers kept hitting the systems for 48 hours
    OpenCode's own incident-response team turns to frontier AI models to help analyze the malicious code — and the models start refusing.
  4. OpenAI grants OpenCode Daybreak Blue access
    Raad: the fix "wasn't a better prompt. It was a different tier of access."
  5. Providers respond; refunds begin
    Anthropic and Google say they blocked keys they believe were exposed; OpenAI restores access and starts refunding credits used during the attack.
  6. A second AI dev platform, CommandCode, discloses a similar incident
    Also framed around a distillation attempt, also with limited public technical detail.
  7. Wiz publishes "Black October" research
    At least nine AI developer platforms disclosed credential-theft incidents in October 2026; Wiz's own case investigations find evidence pointing toward LLMjacking resale rather than confirmed distillation.
  8. Still no technical postmortem
    OpenCode has not published root cause detail, an indicator of compromise, or a count of exposed keys.

2. What OpenCode actually released

What OpenCode disclosedWhat OpenCode has not disclosed
A "legacy system... in the process of being decommissioned" was accessedHow the system was reached, or why it was still reachable with live secrets on it
"Approximately 1.4%" of Console users were affectedThe total Console user count, or how many individual API keys were exposed
The incident is "related to a large-scale distillation attack"Any usage-pattern, log, or methodology evidence supporting that specific label
Affected users were emailed the morning of Oct 17Any indicator of compromise — IP, domain, file hash, or attacker tooling
It is "working with Anthropic, OpenAI and Google" on remediationWhether the Oct 16 legacy-system access is connected to the broader Oct 2026 wave Wiz later documented

3. What's missing, and what each gap prevents

  • No root-cause detail (how the legacy system was reached) — without it, nobody outside OpenCode can judge whether "decommissioning" is a real mitigating factor or just a label for a system nobody was watching.
  • No count of exposed keys or affected organizations — "1.4% of Console users" is meaningless without a denominator OpenCode has not published.
  • No technical basis for "distillation" specifically, as opposed to resale, credential stuffing, or simple fraud — the financial-fraud pattern users reported (unauthorized charges, suspended Google Cloud projects) is also exactly what plain credential theft and resale look like.
  • No public update since the initial disclosure: as of this writing, OpenCode's own security Trust Center page lists incident-response and breach-notification policies but no entry for this specific event.

4. Independent checks — what confirms, what contradicts

OpenCode's breach did not happen in isolation. Security vendor Wiz's October 30, 2026 research, "Black October for AI Developer Platforms," documents at least nine AI dev platforms disclosing credential-theft incidents that same month — OpenCode and a second platform, CommandCode (Oct 28), among them. Wiz frames the common thread plainly: attackers are hunting stored environment variables that grant AI access, across a cluster of otherwise-unrelated companies — the kind of concentration risk we track more broadly on our vendor trends page.

PlatformStated root cause (per vendor)
OpenCode"Legacy system" being decommissioned; distillation attempt attributed by the company
CommandCodeDisclosed via social media with limited detail; distillation attempt also attributed
Fireworks AICredential compromise
ZeaburCredential compromise
Lightning AICredential compromise, preceded by a separate supply-chain campaign
RailwayPrivilege escalation in its own build infrastructure
WarpA third-party vendor dependency

Wiz's own investigation into comparable cases in this cluster — not OpenCode's breach specifically, which it did not have inside access to — found evidence more consistent with plain LLMjacking resale than with model distillation. One resale operator Wiz tracked, which it nicknames "Xingjiabi," builds tooling that actively screens out and avoids users whose traffic looks like distillation, reportedly because that specific pattern gets accounts suspended faster than ordinary resale does. That is direct evidence, from an independent party actually inside this attacker ecosystem, that distillation is not the default explanation it's being treated as — including for the specific claim OpenCode made about its own breach.

5. Verdict

Unverified, and the better-documented evidence cuts against it. OpenCode confirmed a real intrusion into a legacy system holding live API keys, and confirmed real user-facing harm — that part stands. "Large-scale distillation attack" does not: it rests on one sentence from the company that experienced the breach, with no methodology, log excerpt, or usage-pattern evidence behind it, and the one outside party (Wiz) that has studied this attacker ecosystem up close found the opposite pattern — operators actively avoiding distillation-like behavior because it gets caught faster. The falsifier is simple: a technical postmortem from OpenCode showing the specific telemetry — prompt volume, output-token patterns, or model-output similarity scores — that distinguishes distillation from ordinary resale or credential theft would settle it. None has appeared in five-plus weeks.

The part of this story with better documentation is what happened when OpenCode's own engineers tried to investigate the breach using frontier AI models — and got refused. Raad has said the company's incident responders fed suspicious code to AI models during active response and the models declined to analyze it, flagging it as potentially malicious. It's a recognizable failure mode: Hugging Face reported a similar pattern in July 2026, where general-purpose model guardrails tuned to refuse "malware analysis" requests also blocked legitimate defensive security work, forcing security teams onto specialized tooling instead.

That was a bit frustrating in the moment, because we needed to actually look at what we were dealing with. The fix wasn't a better prompt. It was a different tier of access.
— Dax Raad, OpenCode co-founder, on X, October 2026

What to actually do

  1. Rotate any OpenAI, Anthropic or Google API key you ever linked through OpenCode's web Console — not keys you only ever stored locally with /connect, which OpenCode says never reached its servers.
  2. Check your provider-side usage logs (OpenAI, Anthropic, Google) for the window of October 16-19, 2026 for calls you don't recognize, rather than waiting on a notification email that already went out over a month ago.
  3. Treat "distillation attack" as an unconfirmed label in any internal incident notes or vendor-risk writeups until OpenCode publishes supporting technical detail — don't let an unverified claim harden into an accepted fact in your own records.
  4. If your own AI coding tools or agents hold stored credentials, confirm with the vendor whether those credentials live server-side (vendor-breach exposure) or only client-side (your-breach exposure only) — the distinction is exactly what separated exposed from unexposed OpenCode users here.

Data as of 2026-11-25

Sources: OpenCode's disclosure statement and Dax Raad's scope/timeline clarifications, on X, October 17, 2026; Anthropic's response statement, on X, October 2026; Wiz Research, "Black October for AI Developer Platforms", October 30, 2026; OpenAI, "Introducing Daybreak", August 10, 2026.