Originally published on October 17, 2026 Last updated on October 19, 2026

OpenCode’s Breach, and What It Could Cost Its Users

October 17, 2026. Reporting checked through 20:30 UTC. The cost model uses U.S. dollars; reported losses remain in the currencies used by the people who posted them.

OpenCode has confirmed a security breach affecting 1.4% of its Console users with linked external providers. It said it emailed everyone affected that morning and was working with Anthropic, OpenAI, and Google. In the same statement, it described the incident as ongoing and connected it to a “large scale distillation attack.” [1]

Colin Parsons reported $281 in OpenAI usage and $168 at Anthropic, a combined $449. Preston Zeller said a forgotten key had incurred more than $1,700 overnight. These are user reports, not provider records, and neither amount has been independently verified. [2] [3]

No one knows the total yet. If Console has one million users and each affected user incurs an average of $100 in unauthorized usage plus $150 in recovery time, the total would be $3.5 million before refunds and other disruption losses. Those are hypothetical figures, not a measurement of this breach.

What OpenCode has disclosed

Matt Johansen’s post includes an image of a Reddit post reproducing a customer notice headed “Action Required: Potential provider key breach.” The notice says someone gained unauthorized access to a legacy system OpenCode was decommissioning. Third-party provider keys saved in workspaces, including OpenAI and Anthropic keys, may have been exposed. It tells recipients to revoke and replace those keys through their provider dashboards, update applications, and review recent usage. It also apologizes and says more information will follow. The underlying email has not been authenticated, so the image confirms only the text shown in the post. [4]

WhenWhat was reported
Overnight before the October 17 announcementOpenCode says the breach happened the previous night but gives no precise intrusion window or time zone. [1]
October 17, morningOpenCode says it sent notifications to affected users. [1]
Earlier on October 17Matt Johansen reported receiving DMs about API charges. [5]
Later on October 17Johansen said OpenCode was hacked and keys were stolen; his post includes the notice image. [5]
October 17Dax Raad said his personal accounts were also being attacked and commented on AI-powered hacking. [6]

Johansen’s follow-up quotes his earlier post about DMs. Raad is describing attacks on his own accounts. Neither explains how someone got into Console or gives a verified loss total.

OpenCode’s public GitHub security advisories cover earlier local-server vulnerabilities. The latest entry is dated September 24, and none links those earlier flaws to the October Console incident. [7]

Why the hosted Console matters

OpenCode’s hosted Console is an optional service for individuals and teams, with workspaces, model access, usage controls, and connections to external providers. Using the coding agent does not require using Console. [8]

Console stores credentials for linked providers and routes requests through its gateway. Workspace members can use a provider without seeing its underlying key. The provider bills the resulting token usage to the linked provider account, and those requests do not consume Console credits. [9]

A breach at OpenCode could leave users with a bill from Anthropic, OpenAI, or Google. Someone with a provider credential can use it to send requests charged to that provider account. Depending on the credential’s permissions and billing settings, the attacker may consume paid credits or generate additional charges. OpenAI’s security guidance lists unexpected charges, quota depletion, and interrupted access as possible consequences of a compromised API key. [10]

Nothing disclosed so far indicates that credentials configured only on a user’s own machine were taken. Parsons says he used his keys only with OpenCode, but does not say whether he configured them locally or through Console. [2] There is also no report that source code, conversations, SSH keys, GitHub tokens, or ChatGPT login credentials were stolen. Having an OpenCode integration does not mean the provider itself was breached.

OpenCode said users who did not receive an email were not affected. One later commenter reported a drained balance without receiving a notice, but that account is unverified. Anyone seeing unexplained usage should investigate it, even without an email. [1] [11]

What a distillation attack would mean

Distillation uses a model’s outputs to train another model. Developers can use it legitimately to make a smaller model from a larger one. Anthropic’s February explanation of abusive distillation describes coordinated querying intended to collect training material without authorization. [12]

If that was the purpose here, an attacker using compromised accounts could run up charges for the model responses they wanted to collect. Users would bear the inference charges until the credentials stopped working or a provider intervened. That would fit OpenCode’s description, but it remains only a theory about the attack.

The “distillation attack” label describes how the attackers may have intended to use model access. It does not identify the initial vulnerability or the attackers, say how much training data they collected, or show that an AI system autonomously carried out the intrusion.

Raad’s comments about AI-powered attacks do not answer those questions. Claims that AI-generated code caused the breach also require evidence from the affected systems.

No public statement explains how the credentials were protected. The keys may have been stored unencrypted, taken from a running service, or obtained through another access path. It is too early to call this a plaintext-storage failure.

The losses users are reporting

These reports have not been independently verified.

ReporterAmount as reportedContext
Colin Parsons$281 OpenAI + $168 AnthropicSame period, starting at 2 a.m. Eastern; says the keys were used only with OpenCode and have been rotated. [2]
Preston ZellerMore than $1,700Forgotten key charged overnight; says he thought a hard limit was enabled, but it was not. Provider unspecified. [3]
razorpolar$400Unauthorized Anthropic spending
Mission_Maximum_2329€200Google budget notices; project reportedly suspended
Gold_End_7719US$5Claude usage; also reports a Google project suspension
Cultural-Insurance97About $10Unauthorized usage; provider unspecified
Capable-Guide98About “10 bucks”Says automatic recharge was off
bleakj“Over a grand”Google Cloud; currency unspecified

Because bleakj repeats the same claim, that report appears once. [11] The same person or bill may appear under different names on Reddit and X. Ambiguous currency labels and possible overlaps prevent a reliable combined subtotal.

These posts are not a random sample. Someone with a large surprise bill has a reason to speak up; someone whose exposed key was never used may have nothing to report. Some claims describe team accounts, and several credentials can lead back to the same bill. The posts cannot tell us how many exposed accounts were actually abused or what the average loss was across everyone affected.

Estimating the bill

Total user cost = unauthorized charges and lost paid credits − reimbursements + recovery time + additional disruption losses.

Count unauthorized spending once for each distinct provider bill. Prepaid credits count once too: the original purchase and the later unauthorized use are not two separate losses. Promotional credits need separate treatment because their face value may not represent money the user paid.

Recovery takes time: someone has to find affected credentials, check logs, update services, and deal with support. That time is an opportunity cost. An employed developer’s two lost hours may produce no extra cash payment, but they still displace work.

A suspended project or an interrupted service can cause further losses, but only where there is evidence. The same lost working time should not appear in both the recovery and downtime totals.

This user-cost calculation excludes OpenCode’s response expenses, provider compute costs, and any value an attacker assigns to a training dataset. Adding them could also count the same activity more than once.

The missing denominator

The 1.4% figure is useful only with the total number of Console users. The homepage’s claim of more than 16 million monthly developers describes the wider product population. Multiplying that figure by 1.4% to announce 224,000 victims would substitute one population for another. [13] [8]

An August 20 founder post reported 300,000 active OpenCode Go subscribers. That is a paid-plan metric from an earlier date. It does not tell us how many people used Console in October or whether Go subscribers were the compromised group. [14]

Because a workspace can let multiple people use one provider connection, the count is not straightforward. A shared $400 bill must not become $4,000 because ten workspace members were affected. Conversely, one person can have several provider accounts. Any per-user model would need to count shared bills once, then allocate them across the affected population. [9]

Assumptions about individual costs

The table assumes average costs across the entire affected group, including people with no unauthorized usage. The reports do not provide a measured average.

Assumed component per affected personSmaller burdenReference illustrationLarger burden
Unauthorized API spending, after removing duplicate bills$10$100$400
Recovery time1 hour2 hours4 hours
Assumed value of that time$75/hour$75/hour$75/hour
Combined burden before reimbursement$85$250$700

The reports do not show how common any charge level is. For example, a $100 average could describe a group in which a quarter incurs $400 each and the rest incur no usage charges. That is an illustration of the assumption, not a finding about this breach.

The $400 scenario is a group average, not a cap on individual losses. Zeller reports a much larger individual bill. [3]

The two- and four-hour estimates, along with the $75 hourly rate, are assumptions too. Time costs vary by country, employment arrangements, the number of connected services, and how much investigation a user undertakes. Replacing one unused key is a different recovery task from repairing several production integrations.

Conditional estimates of the total

Here are the totals at the reported 1.4% rate. Each row assumes a different Console population. The first row uses the older subscriber figure only as a rough reference, not as the incident denominator.

Assumed Console usersImplied affected users at 1.4%At $85 per affected userAt $250 per affected userAt $700 per affected user
300,0004,200$357,000$1.05 million$2.94 million
1 million14,000$1.19 million$3.5 million$9.8 million
3 million42,000$3.57 million$10.5 million$29.4 million

These totals are before reimbursements and exclude additional disruption losses. We do not know which population is closest to reality, so the figures are not a floor, ceiling, or confidence interval. Some exposed users may lose no money and spend little time responding, while some organizations could incur much larger costs.

At an assumed $250 per affected user, every 100,000 Console users adds $350,000 to the total. That figure can change once OpenCode supplies the actual population and providers report the average unauthorized spend.

Under the one-million-user illustration, the $3.5 million total consists of $1.4 million in unauthorized API usage and $2.1 million in recovery time. Reimbursements would reduce the API-usage portion.

Refunds change who ultimately pays

If half the assumed unauthorized spending in that illustration were reimbursed, users’ remaining burden would fall to $2.8 million. Full reimbursement would leave $2.1 million in recovery time. Additional proven disruption would increase those amounts.

No one has announced incident-specific reimbursements, and no provider has published a total for the unauthorized spending.

Once a charge is refunded, it no longer counts as a user loss. The provider or OpenCode may absorb that cost, but it does not belong in the user-cost total. Restored paid credits do not count as losses either. Any restrictions on their use should be made clear.

We cannot calculate the total until OpenCode reports the affected population and providers report their billing data.

What affected users can do now

Check the provider accounts whose credentials were saved in the hosted Console, plus any account showing unexplained activity. OpenAI’s published guidance recommends reviewing usage, rotating suspected leaked keys, updating production applications, and contacting support to investigate. [10]

  1. Revoke the exposed credential at its issuing provider. Removing a saved copy from an application does not invalidate any copy someone else holds.
  2. Create a replacement where needed and update every legitimate service using the old key. Verify that the old credential no longer works.
  3. Preserve usage records and charge details, including the relevant key identifier, project, and timestamps. Review activity before and after the notification; the precise intrusion window has not been disclosed.
  4. Open a support case for unexplained usage or a suspended project. Ask whether the charges can be reversed and what evidence the provider needs.
  5. Review provider-side spending controls, permissions, and credential lifetimes before restoring routine use.

A budget alert can arrive after spending has occurred. Google’s current documentation distinguishes alerts-only budgets, which do not automatically stop spending, from spend-cap budgets available for supported services. OpenAI similarly distinguishes spend alerts from hard enforcement and cautions that enforcement is not instantaneous. [15] [10]

If an attacker has a usable underlying provider key, requests could go directly to that provider without passing through a gateway’s budget checks. That route is possible, but there is no evidence that it happened here. Provider-side restrictions matter even when a tool offers its own spending controls.

What OpenCode still needs to disclose

Customers need more than the 1.4% figure to understand the scope. They need the absolute numbers of affected users, workspaces, credentials, and distinct provider billing accounts, along with an explanation of how those categories overlap. Provider totals should distinguish attempted requests from completed billable usage and separate paid credits from new charges.

The technical explanation should cover the initial access route, the period of unauthorized access, and which credentials the legacy system could still reach. Customers also need an account of how OpenCode identified the affected group, checked other data, and confirmed that the breach was contained. Anyone replacing keys needs confirmation that the original exposure has been closed.

The financial update should include a claims process for unauthorized charges and lost paid credits. Customers need to know who handles the claims, what evidence they need, and when to expect a decision.

Sources

The list includes original posts by OpenCode, Dax Raad, Matt Johansen, Colin Parsons, and Preston Zeller. Johansen’s image shows a Reddit post reproducing the customer notice. The underlying email and provider invoices have not been authenticated.

  1. OpenCode’s October 17 statement.
  2. Colin Parsons’s original report of OpenAI and Anthropic charges. Currency unspecified; the $449 combined figure is the sum of his two reported amounts.
  3. Preston Zeller’s original report of more than $1,700 in overnight charges. Provider and currency unspecified.
  4. Customer notice shown in Matt Johansen’s post.
  5. Matt Johansen’s follow-up showing the customer notice, quoting his earlier post about DMs and API charges.
  6. Dax Raad’s October 17 post.
  7. OpenCode’s public GitHub security advisories, checked October 17.
  8. OpenCode documentation: Console introduction.
  9. OpenCode documentation: Console providers, credential storage, and billing.
  10. OpenAI: Best practices for API key safety, checked October 17. This is general provider guidance, not an OpenAI statement confirming the OpenCode incident.
  11. Public customer discussion and firsthand reports on r/opencode. The individual $400 Anthropic report is also available separately. Comments include repeated reports by the same user; amounts are not independently verified.
  12. Anthropic: Detecting and preventing distillation attacks, February 23. This source explains the technique and general pattern; it does not link the actors named there to this breach.
  13. OpenCode homepage, showing more than 16 million monthly developers when checked.
  14. Jay’s August 20 post reporting 300,000 active OpenCode Go subscribers, also covered in RuntimeWire’s contemporaneous report. Historical Go subscriptions are not the October Console-user denominator.
  15. Google Cloud: Budgets and budget alerts, checked October 17.
  16. Evan Otero’s post about the OpenCode breach.
  17. Lydia Hallie’s post about the OpenCode breach.
  18. Dax Raad’s related post about Lydia Hallie’s report.
  19. Thomas Sottiaux’s post about the OpenCode breach.
  20. Dax Raad’s related post about Thomas Sottiaux’s report.