Skip to content
Start with Identity
News

OpenCode Console breach may have exposed users' saved AI provider keys

OpenCode says an intruder reached a legacy system on the night of October 16 and may have exposed OpenAI, Anthropic and Google keys that 1.4% of OpenCode Console users had saved. Keys stored locally by the CLI and desktop apps were not affected. Some users report unexplained charges.

By SWI Community TeamOct 17, 2026

OpenCode, maker of an AI coding agent, told users on October 17 that an intruder reached a legacy system the night before and may have exposed third-party AI provider keys (OpenAI, Anthropic or Google) saved in OpenCode Console, its optional hosted service. It emailed the 1.4% of Console users with an outside provider linked; users who got no email were not affected, it said. Keys kept by the OpenCode command-line and desktop apps in a local SQLite database "never come to us," co-founder Dax Raad wrote. OpenCode has not said how the intruder got in, what the legacy system was, or whether any key was used. Users have publicly reported unexplained provider charges, one of $1,700, according to The Hacker News; OpenCode has not confirmed them.

Why it matters

A provider API key is a bearer credential with a billing account attached. Stolen AI keys are resold or burned for model access, the pattern called LLMjacking, and the bill is how most victims find out. Any hosted tool that stores your keys to call models on your behalf is holding a secret it can leak.

If you were notified, revoke the key in the provider's dashboard (deleting it in Console does not revoke it), issue a new one, and update every script that used it. Review provider usage back to October 16. Give each tool its own key with a spend cap or alert, so one breach has a known blast radius. Where a provider supports short-lived or scoped credentials, prefer them over a long-lived key pasted into a third-party service.

Source: OpenCode on X

Last reviewed By SWI Community TeamSuggest a correctionHow we research
Independent analysis. No vendor sponsorship. Editorial policy · Report a correction