עברית 📰 Blog
← Back to Blog
AI News

OpenCode Console breach: what leaked and what to do

Masterphub Editorial
AI News Desk
October 21, 2026

Share this article

OpenCode Console breach: what leaked and what to do
Short answer: Attackers got into a legacy OpenCode system and exposed OpenAI, Anthropic and Google API keys that 1.4% of Console users had saved in the cloud. Keys used only in the local CLI or desktop app were not touched. If your key was in Console, revoke it with the provider.

OpenCode is an open source coding agent. On the night of October 16, someone broke into an old system tied to its Console, the hosted workspace where teams can store their own provider keys.

The company emailed affected users the next morning. If you did not get that email, you were not affected.

Who was hit

Only people who pasted an OpenAI, Anthropic or Google key into OpenCode Console. The CLI and desktop app keep keys in a local SQLite file on your own machine. Those never reach OpenCode's servers.

Some users reported charges of hundreds of dollars within about a day. Anthropic and Google revoked the exposed keys, and refunds were issued for charges made during the breach.

A correction on what is going around

Some posts say the attackers were slowed by AI safety filters. The reports say it was the other way: the defenders' AI models refused to help analyze the attack code.

What to do

  1. Revoke the key in the provider's own dashboard. Deleting it from Console does nothing, the stolen copy still works.
  2. Do not click links in "urgent" emails. Go straight to the provider's site.
  3. Check your billing for the last few days.
  4. Set a spending limit. Always.

The bottom line: a key stored in someone else's cloud is only as safe as their oldest system.

Sources: The Hacker News, DevOps.com, Crypto Briefing

Share this article