Flash

Flash·Safety & Risk·2026-10-18 20:06

OpenCode Hit by "Distillation Attack": API Keys of About 1.4% of Users Compromised

This time the attackers were not after passwords or credit card numbers. Open-source AI coding platform OpenCode admitted publicly on October 17 that attackers exploited a vulnerability in one of its legacy systems to gain unauthorized access to third-party model provider API keys stored in user workspaces.

Bright illustration of a laptop code screen with an API-key security warning
Illustration of the OpenCode distillation attack (AI-generated)

Latest

1 updates · newest first
  1. Update: TechCrunch reported on Oct 19 that users saw hundreds to over $1,000 in unauthorized charges; Anthropic and Google blocked suspected exposed keys while OpenAI helped restore access and issue refunds; the co-founder says attackers kept trying to break in for 48 hours, and the company says the incident is ongoing.

What happened

OpenCode says the incident affected about 1.4% of its Console (hosted workbench) users who had linked external AI provider accounts. The keys were connected to models from Anthropic, OpenAI and Google. With the keys in hand, the attackers ran repeated queries against top-tier models; affected users reported their account balances draining quickly, with some bills climbing into the hundreds of dollars.

OpenCode characterized the incident as a large-scale "distillation attack": the attackers used the stolen keys to harvest high-quality outputs from top-tier models to train their own models, with the bills landing on the victims. Distillation describes a technique where one AI model learns by studying the answers of another.

OpenCode says it is working with Anthropic, OpenAI and Google on remediation, and advises all users who linked external provider accounts to revoke and rotate their API keys and review usage on each provider's dashboard. How the unauthorized charges will be handled has not been specified by OpenCode or the three providers.

TechCrunch's October 19 follow-up added new developments: multiple users reported unauthorized charges of hundreds of dollars, some above $1,000; Anthropic and Google blocked the API keys believed to be exposed, while OpenAI worked with OpenCode to restore affected users' access and refund credits spent in the attack. Co-founder Dax Raad said on X that attackers kept trying to break into its systems for 48 hours straight, and the AI defensive agents the team deployed were hampered when model safety filters refused to analyze the attack payloads. OpenCode was later admitted to OpenAI's Daybreak Blue program. The company says the incident is ongoing and has not disclosed how attackers entered the legacy system or how the keys were stored.

Key facts

  1. Scope: About 1.4% of Console users — those who linked external model provider accounts
  2. Entry point: A vulnerability in a legacy system being retired, not the main service
  3. Keys in scope: API keys for Anthropic, OpenAI and Google models were all in scope
  4. Method: "Distillation attack": harvesting top-tier model outputs with stolen keys to train a competing model
  5. User impact: Some users' bills hit hundreds of dollars overnight; who covers the charges is unclear

Why it matters

What was stolen was not data but billable frontier-model access — a single key can yield training-data value. The convenience of storing keys for multiple providers in one workspace concentrates the risk along with it.
Useful Tap if this story helped you
Send to a friendMakes a share image for X, WeChat, Telegram and more

SourcesCrypto Briefing (Oct 17, 2026); TechCrunch (Oct 19, 2026).This is a compilation of public information and does not constitute investment advice.

From HIMIAO Horizon · himiao.ai

Grab todayDataCamp Premium annual special: $132 for the first yearHIMIAO Picks →

Follow HIMIAO Horizon

No sign-up · Unsubscribe any time

Email

Notifications

A ping on your phone or computer when the brief is out. No email needed.

HIMIAO PicksWeekly freebies: one email every Friday, a 5-minute read

Comments

  1. Loading comments…
Ask the cat