OpenCode breach exposes users’ AI access keys and leads to unwanted charges
Attackers broke into an older OpenCode system and stole digital keys used to access AI services. OpenCode said 1.4% of its Console users were affected. Some users reported hundreds of dollars in unwanted charges, with a few reporting more than $1,000.
- Organization
- OpenCode
- Industry
- Technology
- Country
- Not stated in the article; headquarters location is unknown.
- Reported
- October 31, 2026
What happened
Attackers accessed an older system connected to OpenCode Console, its online platform. They stole API keys, which are digital passwords that let software use AI services. The stolen keys were used to run up charges on users’ accounts. OpenCode has not explained how attackers got in or the full extent of the misuse. The company said the incident was still ongoing when the article was published.
Who was affected
The breach affected 1.4% of OpenCode Console users, but the article gives no head count. OpenCode said its separate coding app and text-command tool were not affected.
How much it cost
$1K
A few users reported unwanted charges above $1,000 on individual accounts; this figure is a reported threshold, not the total cost. Other users reported charges in the hundreds of dollars, and refunds were underway.
How they responded
OpenCode emailed affected users and told them to cancel and replace their exposed keys with each AI provider. Anthropic and Google blocked keys they believed were exposed. OpenAI worked with OpenCode to restore access and refund customers for use during the attack. OpenCode also used AI tools to investigate and defend its systems, then gained access to OpenAI tools with fewer restrictions on security work.
Why this matters
Stolen digital access keys can let attackers spend money through someone else’s account. Monitoring spending alerts and quickly canceling exposed keys can help limit the damage. Security teams also need tools that let them examine harmful code during an attack.
Words to know
- API key
- A digital password that lets software access a service, sometimes with charges billed to its owner.
Sources
This breakdown was written automatically from the news reports above. Figures reflect what was public at the time and may change.