Distillation attack on OpenCode drains users' API keys for Anthropic, OpenAI, Google models

Reddit r/artificial News

Summary

Anomaly Innovations disclosed that attackers breached OpenCode Console, stealing stored API keys for Anthropic, OpenAI, and Google models from about 1.4% of users and running high-volume queries in what the company called a "large scale distillation attack," draining user balances into the hundreds of dollars.

No content available
Original Article
View Cached Full Text

Cached at: 10/18/26, 12:25 PM

# Distillation attack on OpenCode drains users' API keys for Anthropic, OpenAI, Google models Source: [https://vectorwire.ai/article/distillation-attack-on-opencode-drains-users-api-keys-for-anthropic-openai-googl-a5ce5a](https://vectorwire.ai/article/distillation-attack-on-opencode-drains-users-api-keys-for-anthropic-openai-googl-a5ce5a) Anomaly Innovations disclosed that attackers breached OpenCode Console, hijacking stored API keys for Anthropic, OpenAI, and Google models and running up… Anomaly Innovations disclosed on October 17, 2026, that attackers breached its OpenCode Console platform and hijacked stored API keys belonging to roughly 1\.4% of Console users[1](https://vectorwire.ai/article/distillation-attack-on-opencode-drains-users-api-keys-for-anthropic-openai-googl-a5ce5a#source-1),[2](https://vectorwire.ai/article/distillation-attack-on-opencode-drains-users-api-keys-for-anthropic-openai-googl-a5ce5a#source-2)\. The keys connected to models from[https://vectorwire.ai/models/vendors/anthropic](https://vectorwire.ai/models/vendors/anthropic)[Anthropic](https://vectorwire.ai/entity/anthropic), OpenAI, and[Google](https://vectorwire.ai/models/vendors/google)\. The company described the incident as a "large scale distillation attack"\. Attackers exploited vulnerabilities in a legacy system to gain unauthorized access to API keys stored in user workspaces, then ran repeated queries against high\-end AI models using the stolen credentials\. Affected users reported account balances draining rapidly, with some bills climbing into the hundreds of dollars\. ## How the attack worked The attackers were not pursuing passwords or payment information\. They targeted access to expensive AI model endpoints, offloading compute costs onto the compromised users' accounts\. The term "distillation attack" points to a specific objective: using a powerful model's outputs at scale to train or refine a separate, cheaper model\.ANALYSISRunning high\-volume queries against frontier models through stolen keys is consistent with knowledge\-distillation workflows, where an attacker extracts a target model's behavior by collecting large numbers of input\-output pairs\. OpenCode, an open\-source AI coding platform built by Anomaly Innovations, said it is working with Anthropic,[OpenAI](https://vectorwire.ai/models/vendors/openai), and Google on remediation\. The company advised affected users to rotate or revoke their API keys immediately\. ## Broader agent\-security context The breach lands the same day India's CERT\-In confirmed that AI agents had penetrated Indian firms and operated undetected for days, an incident that prompted Rubrik to warn that AI agents are accelerating the speed at which vulnerabilities are discovered and exploited[\[1\]](https://vectorwire.ai/article/cert-in-confirms-ai-agents-breached-indian-firms-operated-undetected-for-days-350fcb)\. Separately, Vector Wire's recent analysis of the agentic AI stack flagged the control plane, the layer that governs whether an agent's proposed action is permitted, as persistently underbuilt across the industry[\[2\]](https://vectorwire.ai/article/agent-stack-stratifies-as-control-plane-layer-stays-underbuilt-ecf295)\. ANALYSISThe OpenCode incident illustrates a concrete failure mode in that underbuilt layer: stored third\-party credentials sat in user workspaces without sufficient access controls, and a legacy system provided the entry point\. The attack surface grows as more coding agents and developer tools store API keys for multiple upstream model providers in a single console\. OpenCode has not disclosed the total number of affected accounts or the aggregate financial impact beyond individual bills reaching hundreds of dollars\.

Similar Articles

Three Chinese labs just got caught hacking 1.4% of OpenCode's users' personal OpenAI and Anthropic API key usage for distillation, typically stealing hundreds to thousands of dollars from each

Reddit r/singularity

OpenCode suffered a large-scale distillation attack in which the OpenAI, Anthropic, and Google API keys of roughly 1.4% of console users were stolen to siphon tokens for training distilled models. The attackers are likely affiliated with Chinese labs; this marks the first mass distillation attack targeting ordinary consumers, underscoring that individual users have become targets of AI data theft.

OpenCode Hacked: User credentials leaked

Hacker News Top

OpenCode disclosed a security breach involving a large-scale distillation attack that leaked user credentials, impacting 1.4% of OpenCode Console users. The company is working with Anthropic, OpenAI, and Google to remediate the ongoing incident.

Opencode breached, rotate keys to be safe.

Reddit r/LocalLLaMA

OpenCode 披露遭遇大规模蒸馏攻击导致的安全漏洞,影响了 1.4% 的 Console 用户,正与 Anthropic、OpenAI 和 Google 合作进行补救。