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.
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.
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.
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