GPT and Claude Balances Wiped Overnight, OpenCode Explodes
OpenCode, an open-source AI coding tool, suffered a major security breach that exposed API keys belonging to about 1.4% of its Console users. The leaked keys—covering OpenAI, Anthropic, and Gemini—were stored in user workspaces and were left unprotected due to a legacy system that was in the process of being retired.
Attackers used the stolen keys to run up massive charges on victims' accounts, with some users reporting hundreds to over $1,700 in unauthorized usage. The hackers did not resell the keys; instead, they used the compute to generate high-quality training data for their own models, effectively stealing expensive model outputs while the costs were billed to victims.
OpenCode confirmed the incident as a large-scale distillation attack and alerted affected developers by email. Anthropic said it had revoked all suspected leaked Claude API keys, and OpenCode said it was working with OpenAI, Anthropic, and Google to respond. Even OpenCode co-founder Dax Raad said his personal account was attacked, calling it a new era of AI-automated hacking.
The main advice for affected users is to immediately revoke and replace any exposed API keys in the official provider consoles, not just change passwords or delete local configurations. Users should also review recent usage and billing records, keep evidence of abnormal activity, and contact providers for investigation and possible refunds. The incident highlights the growing risk of entrusting API keys to third-party AI platforms, since in the AI era API keys function as developers' second identity and must be protected carefully.
marsbit10/19 08:36