LIVE LOG · recorded complete source-check dates between October 14 and November 11, 2026; excludes entries with incomplete or unverified source checks · site updated Nov 12, 2026, 12:09 AM ET

← All incidents

OpenCode confirms a breach and tells affected Console users that AI provider keys saved in their workspaces may have been exposed

Incident · OpenCode Console / cloud workspaces (saved third-party AI provider keys) · HIGH

Incident dateNight of Oct 16–17, 2026, per OpenCode ("last night" in its Oct 17 post). Its follow-up email to affected users gives the earliest possible exposure as Oct 17, 2026, 00:30 UTC (Oct 16, 8:30 p.m. ET), per a screenshot published by BleepingComputer.
DisclosedOct 17, 2026 (email to affected users that morning; public statement on X at 1:56 p.m. ET).
Added hereOct 17, 3:05 PM ET
Last verifiedOct 20, 2026

Summary

OpenCode, the open-source AI coding agent made by Anomaly, said on X on Oct 17, 2026 that it "had a security breach last night related to a large scale distillation attack that impacted 1.4% of OpenCode Console users", and that it had notified all of them by email that morning. It added that users who did not get an email were not affected, and that those affected were a subset of users with external providers. The email, which recipients shared publicly under the subject "Action Required: Potential provider key breach", says OpenCode identified unauthorized access to a legacy system it was in the process of decommissioning, and that third-party provider keys saved in a user's workspace (it names OpenAI and Anthropic as examples) may have been exposed. It asks users to revoke and replace those keys at each provider, update any apps that use them and review recent usage. Some users reported unexpected spend on provider keys they say were stored only in their OpenCode account. Those reports are self-reported and we have not verified them. OpenCode said in its first post that the incident is ongoing. Later on Oct 17, OpenCode's Dax Raad said the breach involves the hosted OpenCode Console, not the OpenCode app itself, and Anthropic said it had revoked Claude API keys it believes were affected. That evening Raad said OpenCode had already contacted everyone affected and that refunds were underway. Early on Oct 19, a member of OpenAI's Codex team said OpenAI had worked with OpenCode to get affected users who are also OpenAI API customers working again and to refund any credits drawn in the attack. A follow-up email OpenCode sent affected users, shown in a screenshot published by BleepingComputer on Oct 19, lists which of their saved keys were in the affected legacy Console system and puts the earliest possible exposure at 00:30 UTC on Oct 17, 2026 (8:30 p.m. ET on Oct 16). It says no other data appears to have been exposed so far and that OpenCode cannot confirm whether the keys were used without authorization. OpenCode has not said how the attacker got in, how many keys were involved, or how the breach relates to what it calls a distillation attack.

Severity

HIGH High (VibeIncidents editorial rating). OpenCode confirms a breach, and its email tells affected users that third-party AI provider keys saved in their workspaces may have been exposed. A leaked provider key can be used to run up charges on its owner's account, and some users report that happened. OpenCode puts the affected group at 1.4% of Console users and says it emailed all of them. It has not said how many keys were involved, and the incident is still being investigated, so this rating may change.

Kit, our email provider, gets your address only to send the newsletter. Every email has an unsubscribe link. Privacy policy.

Timeline

  1. Oct 16–17, 2026 (overnight)
    OpenCode says the breach happened "last night", per its Oct 17 post on X.
  2. Oct 16, 2026, 8:30 p.m. ET (00:30 UTC Oct 17)
    Earliest possible exposure of the affected keys, according to a follow-up email OpenCode sent affected users, as shown in a screenshot published by BleepingComputer on Oct 19. The email also says OpenCode is speaking with OpenAI, Anthropic and Google about whether fraudulent charges can be reimbursed.
  3. Oct 17, 2026, morning ET
    Users on r/opencode and X begin reporting unexpected usage on AI provider keys. Some say the keys were saved only in their OpenCode account (self-reported). We have not independently confirmed when the first reports appeared.
  4. Oct 17, 2026, morning
    OpenCode emails affected users under the subject "Action Required: Potential provider key breach" (per recipients' screenshots). A screenshot of the email is posted to r/opencode at 10:14 a.m. ET and reshared on X.
  5. Oct 17, 2026, 1:56 p.m. ET
    OpenCode posts on X that it had a security breach affecting 1.4% of OpenCode Console users, related to what it calls a large scale distillation attack, and that the incident is ongoing.
  6. Oct 17, 2026, 2:08 p.m. ET
    An edited version of the post adds that users who did not get an email were not affected.
  7. Oct 17, 2026, about 3 p.m. ET
    OpenCode's status page lists no security incident, and Anomaly has not published a GitHub security advisory or blog post about the breach.
  8. Oct 17, 2026, 5:04 p.m. ET
    Lydia Hallie of Anthropic's Claude Code team says on X that Anthropic has been working with OpenCode on the breach and has revoked Claude API keys it believes were affected.
  9. Oct 17, 2026, 5:38 p.m. ET
    OpenCode's Dax Raad (@thdxr) replies that the breach involves "the OpenCode Console, not OpenCode itself", and that keys used in the OpenCode app "never come to us".
  10. Oct 17, 2026, 8:01 p.m. ET
    Asked on X whether other affected users would get refunds, Raad replies that OpenCode has "already contacted everyone" and that "refunds are already underway".
  11. Oct 18, 2026, 8:04 a.m. ET
    Raad posts that attackers have been "non stop trying to attack our systems for the past 48 hours" and that, as a side effect, "everything is getting hardened".
  12. Oct 19, 2026, 12:12 a.m. ET
    Tibo (@thsottiaux), whose X profile lists Codex and ChatGPT at OpenAI, posts that OpenAI "worked with OpenCode to have their users who are also OpenAI API customers back in business and any credits refunded which would have been drawn in the attack."

How it happened

Most of what is known comes from OpenCode's email, as recipients shared it, and its post on X. The email says OpenCode identified unauthorized access to a legacy system that it was in the process of decommissioning, and that third-party provider keys saved in a user's workspace may have been exposed. OpenCode itself runs on your machine and keeps provider keys there. OpenCode's Dax Raad said on Oct 17 that the breach involves the OpenCode Console, its hosted service, "not OpenCode itself", and that keys used in the app "never come to us". The exposed keys are the ones users chose to save in their Console workspace. On X, OpenCode linked the breach to "a large scale distillation attack" but has not explained how that connects to the access to the legacy system. Its follow-up email to affected users, as shown in a screenshot published by BleepingComputer, gives the earliest possible exposure as 00:30 UTC on Oct 17, 2026, but OpenCode has not said how the access happened, when it was detected, how many keys were involved, whether the keys were encrypted at rest, or whether anything besides provider keys was in that system. We won't guess at those details, and we will update this entry if OpenCode publishes them.

How to check your app

Sources

Corrections and updates

  1. Oct 17, 2026
    Added OpenCode's clarification (Dax Raad, 5:38 p.m. ET) that the breach involves the OpenCode Console, not the OpenCode app, and Anthropic's statement that it revoked Claude API keys it believes were affected.
  2. Oct 18, 2026
    Added Dax Raad's Oct 17, 8:01 p.m. ET statement that OpenCode has contacted everyone affected and refunds are underway, and his Oct 18, 8:04 a.m. ET post about continued attack attempts. Updated the summary, timeline and checklist.
  3. Oct 19, 2026
    Added OpenAI's statement (Tibo, Codex team, Oct 19, 12:12 a.m. ET) that it worked with OpenCode to restore affected OpenAI API customers and refund credits drawn in the attack, plus The Hacker News coverage. Updated the summary, timeline, checklist and sources.
  4. Oct 20, 2026
    Added the earliest possible exposure time (00:30 UTC on Oct 17, 2026) from OpenCode's follow-up email to affected users, as shown in a screenshot published by BleepingComputer, and added BleepingComputer as a source. Updated the summary, timeline, technical notes and checklist.
  5. Oct 28, 2026
    Marked the early-morning start of user reports as not independently confirmed. Added two sources: an archive of the r/opencode post that dates it to 10:14 a.m. ET, and the earlier X post, quoted in the reshare we cite, that reports API keys running up charges.
Cite this entry
Title
OpenCode confirms a breach and tells affected Console users that AI provider keys saved in their workspaces may have been exposed
Added
Oct 17, 2026
URL
https://vibeincidents.com/incidents/opencode-provider-key-exposure-2026-10/
Suggested citation
VibeIncidents. "OpenCode confirms a breach and tells affected Console users that AI provider keys saved in their workspaces may have been exposed." Oct 17, 2026. https://vibeincidents.com/incidents/opencode-provider-key-exposure-2026-10/
If you ever pasted a provider key into a hosted dashboard, rotating it takes a few minutes. LockedVibe has a free guide to rotating exposed API keys. LockedVibe is our sister company (same owner) and has no say over this entry. Disclosure.