Sunday, October 18, 2026Story 2 of 3
API keys stored in OpenCode leaked, and some users' balances were drained
OpenCode, an AI coding tool, leaked third-party API keys that users had stored with it.
Confidence in this AI-assisted summary Medium

Key points
- 1.4% of Console users were affected: those who had linked keys from providers such as OpenAI or Anthropic.
- An email to users says someone got into an old system that was being shut down.
- One user reported $400 spent on an Anthropic account. OpenCode says it is working with the providers.
- Users who got no email were not affected. The incident is ongoing and details are not yet public.
Why it matters
Commentary
The second story this Sunday is an incident that costs real money. OpenCode is an open-source tool that lets you switch between Claude, GPT and others, and many people use it with their own API keys.
OpenCode calls this a "large scale distillation attack." Distillation means asking a strong AI huge numbers of questions and training your own model on the answers. On October 16 we reported that distillation is cutting into Anthropic's revenue. Some observers think that as the big labs tighten their defenses, attackers are turning to stolen keys instead.
What to do today: if you got the email, revoke and recreate your keys in each provider's dashboard and check your usage history. Even if you did not, it is a good day to stop reusing the same key across many tools.