On the early morning of October 16, someone broke into a legacy OpenCode system — the open source coding agent that competes head-on with Claude Code and Cursor — and stayed there trying to extract something of value for 48 straight hours, according to its own cofounder. What they got were API keys: OpenAI, Anthropic and Google credentials that developers had stored in OpenCode Console, the hosted layer that lets a team share access to a model without each person seeing the real key. OpenCode reported that 1.4% of Console users were affected — a number that sounds small until you see the actual amounts: one developer reported $281 in OpenAI charges and $168 in Anthropic charges, another calculated losses of $1,700 dollars, and there are reports of Google Cloud projects suspended for exceeding budget. If your agency handles client API keys to run coding agents — and most of us who work with AI do — this is not someone else's security news. It is a mirror.
What Exactly Happened
The timeline, cross-confirmed by TechCrunch and The Hacker News, is as follows: an intruder reached a legacy OpenCode system on the night of October 16. On the morning of the 17th, OpenCode emailed affected users with the subject line "Action Required: Potential provider key breach." That same afternoon it posted on X that the incident was still open. A day later, cofounder Dax Raad confirmed that the attackers had been trying nonstop to get into the company's systems for 48 hours.
OpenCode described the attack as related to a "large-scale distillation attack" — that is, someone using the stolen keys to extract massive responses from the models in order to train or fine-tune a cheaper model of their own. The company did not explain how they reached the legacy system, how many keys were exposed, or since when the unauthorized access had existed. Several security analysts pointed out that the "distillation" connection is, for now, a claim without public evidence.
Console Yes, CLI and Desktop No
One important detail kept this incident from being catastrophic: the keys stored locally by OpenCode's desktop app and command line, in a SQLite database on the user's machine, were not touched. The problem was exclusive to OpenCode Console, the optional hosted service where a workspace stores the provider key and Console makes the calls on the team's behalf, so nobody else has to see it. Raad summed it up this way: Console keys "never reach us" — but somehow they did reach whoever got into the legacy system.
The Numbers That Are Confirmed
Beyond the individual loss figures that circulated on social media (not independently verified, but consistent across several reports), there is data that both primary sources confirm:
- 1.4% of OpenCode Console users had an external provider linked and were notified by email — anyone who did not receive the email, according to the company, was not exposed.
- The affected keys cover all three major providers: OpenAI, Anthropic and Google, which confirms that the vector was storage in Console and not a flaw specific to a single provider.
- Anthropic and Google blocked the keys they identified as exposed; OpenAI worked with OpenCode to restore access and refund credits used during the attack.
Why "Deleting the Key" Is Not Enough
Here is the technical part almost nobody explains well when talking about this kind of incident: an API key is a bearer credential — whoever holds a copy can make billable requests until the provider, not the tool, revokes it. Deleting the key from the OpenCode Console dashboard does not revoke it with OpenAI, Anthropic or Google. And the budget limits configured inside Console are no help either if the attacker makes calls directly against the provider's API, because Console only sees the traffic that passes through its own door.
That is the trap many teams fall into: they set a spending limit in the tool they use every day and assume they are protected, when the real control lives one level up, in each provider's dashboard.
What This Means for Agencies and Developers
For a development agency that delivers work with coding agents inside infrastructure — its own or a client's — this incident leaves three very concrete practices:
- One key per project, not one key per agency. If every client or every tool has its own key, a leak limits the damage to that project and makes tracing misuse much simpler.
- Spending alerts are configured with the provider, not just with the tool. A limit inside Cursor, Claude Code or any hosted console does not protect against traffic that never passes through there.
- A "compromised vendor" protocol that can be run in under a day. When a tool your stack depends on announces a breach, you need to be able to answer in hours — not days — which keys from which clients touched that vendor, so you can revoke and rotate them before the first unexpected charge appears.
None of the three takes more than an afternoon of work to implement. They cost far more when improvised after the "Action Required" email.
OpenCode did the right thing once it realized what had happened: it notified users, is refunding unauthorized charges, and worked with all three providers to contain the damage. But the incident confirms something we at Geek Vibes often repeat to our clients: the convenience of a hosted console that hides the API key carries a security cost that is rarely discussed before adopting it. If your coding agent stack stores client keys in any third-party dashboard, this is a good moment to audit who has access, check whether each project has its own credential, and confirm that spending alerts are where they really matter. If you want us to review how API keys and AI budgets are configured in your agency or your product, write to us at hello@geekvibes.agency.



