OpenCode data leak, working with OpenAI and others to handle it
Start here
The open-source AI code agent tool OpenCode suffered a security incident on the evening of October 16. The attacker launched a large-scale distillation attack and may have obtained the third-party AI service API keys that some users stored in the OpenCode Console workspace, affecting about 1.4% of Console users. OpenCode has notified users by email and is working with OpenAI, Anthropic, and Google to handle it. Anthropic and Google have blocked the suspected leaked keys, and OpenAI said it is handling the matter.
Generated by AI from reports · Updated 2026-10-21
Progress timeline
- iThome (Taiwan)Cybersecurity Daily: AI Code Agent Platform OpenCode Data Leak, Handled in Cooperation with OpenAI, Anthropic, Google
The open-source AI code agent tool OpenCode had a security incident on the evening of October 16, in which attackers launched a large-scale distillation attack and may have obtained third-party AI service API keys that some users stored in the OpenCode Console workspace, affecting about 1.4% of Console users. OpenCode has notified users by email and is cooperating with OpenAI, Anthropic, and Google to handle the matter. Anthropic and Google have blocked the keys suspected of being leaked, and OpenAI said it is helping users restore operations and refunding charges incurred by the attack. The attackers succeeded by compromising an OpenCode system that was about to be retired.