
The OpenCode Breach and Distillation Attack: How Leaked Tokens Hit Open-Source AI Tools
Picture coding calmly in your favorite editor, only to wake up to a $1,500 bill in your Anthropic or OpenAI dashboard for millions of overnight requests in an unfamiliar language. That is exactly what hit users of the open-source assistant OpenCode's cloud console. Unauthorized access struck a legacy authentication service, affecting roughly 1.4% of developers who stored keys in an external profile. The real twist, though, is the attack vector itself: hackers didn't breach servers for ransom—they stole tokens to run automated distillation of frontier models through other people's accounts and train their own AI for free.





