SDSignal Desk

OpenCode breach exposes stored AI keys, and defenders hit model refusals mid-response

· Updated · Signal Desk newsroom

Analysis of reporting by TechCrunch. How we work

Image: TechCrunch

Attackers exposed API keys for 1.4% of OpenCode Console users, with some developers reporting charges above $1,000 on OpenAI, Anthropic and Google accounts. OpenCode calls it a distillation attack; skeptics say that is unproven. Its team said commercial models refused to help during 48 hours of intrusion attempts.

Key takeaways

  • OpenCode says attackers got into an older system and exposed API keys for 1.4% of OpenCode Console users.
  • Developers reported overnight charges in the hundreds of dollars, a few above $1,000.
  • OpenCode calls it a large-scale distillation attack; some skeptics say it was a plain breach.
  • Anthropic and Google blocked exposed keys; OpenAI worked on restoration and refunds.
  • Commercial models refused to assist responders until OpenAI admitted the team to its Daybreak Blue program.

What happened

OpenCode, the open source coding agent that has been drawing developers from Claude Code and Cursor, says attackers got into an older system and exposed API keys belonging to 1.4% of users of OpenCode Console, its online platform, TechCrunch reports. Those keys unlock paid accounts at OpenAI, Anthropic and Google, and developers reported spend alerts firing overnight, with charges in the hundreds of dollars on individual accounts and a few above $1,000. Co-founder Dax Raad stressed that the open source app and command-line tool were not affected; only keys users chose to store in Console workspaces were exposed.

The company calls it a large-scale distillation attack, meaning the stolen access was likely used to generate model outputs at volume; some skeptics say that framing is unproven and this was a plain breach. OpenCode notified affected users quickly and pushed refunds. Anthropic and Google blocked exposed keys, and OpenAI worked on restoration and refunds. The company has not said how attackers got in, how keys were stored or how far misuse went, and says the incident is ongoing.

Concentrated risk

Storing third-party API keys in a cloud console concentrates risk: one older, under-watched system became a door to paid accounts across three providers. Developers who stored keys there should revoke and reissue them directly with each provider and set hard spend caps rather than alerts alone. Tooling companies that do not need to hold raw provider keys should avoid it; credential approaches that keep secrets away from agents (1Password for agents) point in that direction.

Refusals during the response

While the team fought what Raad described as 48 hours of nonstop intrusion attempts, the commercial models it used for analysis began refusing once the malicious code tripped safety filters. Help improved only after OpenAI admitted the team to its Daybreak Blue program for vetted defenders; OpenAI’s Daybreak tooling has been used by security firms (Check Point and Daybreak). Hugging Face hit a similar ‘asymmetry problem’ in July. A guardrail that cannot distinguish a responder from an attacker fails defenders when it matters, and access-based fixes work for funded projects with lab relationships but not for a solo maintainer hit at 2 a.m.

Security researchers say inconsistent refusals are pushing some toward downloadable foreign open-weight models, the opposite of the restrictions’ intent; the same night, OpenCode made GLM-5.3-Flash free, from a family researchers say approaches restricted systems’ cyber capability. David Sacks, co-chair of the President’s Council of Advisors on Science and Technology, cited the OpenCode and Hugging Face episodes as evidence guardrails backfired. Clear, fast verification paths for incident response would help. More in our cybersecurity coverage, tools coverage and Anthropic coverage.

Who feels it

Developers
Revoke stored keys and set hard spend caps.
AI labs
Pressure for transparent defender verification.
Dev-tool startups
Holding customers’ keys is a liability.
Policymakers
The incident is already shaping the guardrails debate.

What to watch

  1. OpenCode’s post-incident report.
  2. Evidence for or retreat from the distillation claim.
  3. Refund completion across providers.
  4. Defender-access programs from Anthropic or Google.

FAQ

What happened to OpenCode?

Attackers accessed an older system and exposed stored API keys for 1.4% of OpenCode Console users.

Was the OpenCode app affected?

No; the open source app and CLI were not affected, only keys stored in Console workspaces.

What should affected users do?

Revoke and reissue keys with each provider and set hard spend caps.

Why did AI models refuse to help?

Malicious code in the analysis tripped safety filters until OpenAI admitted the team to Daybreak Blue.

Read the original

Continue at the source.

TechCrunch

Companies: Anthropic

More on Anthropic

All Anthropic coverage →