OpenCode Console breach may have exposed users’ AI provider API keys

OpenCode has warned that an intruder reached a legacy system at the company on the night of 16 October and may have exposed third-party AI provider keys stored in OpenCode Console, its optional hosted workspace. The affected group is 1.4% of Console users, all of whom had linked an outside provider, and the company emailed them on 17 October urging them to revoke and replace those keys.
Keys pasted into Console were the ones at risk, while keys added in the OpenCode command-line and desktop apps stay in a local SQLite database and never reach the company, co-founder Dax Raad said. Because a provider key is a bearer credential, deleting it from Console does not revoke it, and Console budgets cannot cap usage that bypasses its gateway.
Some users reported unauthorised charges, including claims of $281 on an OpenAI key, $168 and $400 on Anthropic accounts and about $200 of Google usage. OpenCode said the incident is ongoing, described it as related to a large-scale distillation attack, and said it is working with Anthropic, OpenAI and Google; it has not confirmed that any key was copied or used.