OpenCode recently disclosed that its online platform, OpenCode Console, suffered a security breach affecting approximately 1.4% of users. API keys for AI services stored by some users may have been exposed, and unauthorized API calls and high charges occurred. The company said it has notified affected users by email, and the incident is still under investigation.

OpenCode said the incident was related to a large-scale data distillation attack, but the specific attack method has not been made public, and some researchers have questioned that claim. After the incident, Anthropic and Google banned API keys they believed had been leaked, while OpenAI worked with OpenCode to restore access and refunded related credits to affected API customers. Some users reported unauthorized charges of hundreds of dollars, or even more than $1,000, on their accounts, and OpenCode said it is processing refunds.

Developer, hacker, vulnerability, attack

OpenCode co-founder Dax Raad emphasized that the impact was limited to the Console platform, and the open-source app and command-line tools were not affected. He also revealed that attackers spent 48 consecutive hours trying to breach the system. The team used AI defense agents for emergency investigation, but some models stopped analyzing because malicious code triggered safety filtering mechanisms. OpenCode then gained access to OpenAI's Daybreak Blue program to improve its ability to handle defensive security tasks.

This incident has once again sparked discussion about AI safety guardrails. In July this year, Hugging Face also said that safety restrictions on commercial AI models hindered its analysis of intrusion logs from autonomous AI agents.

Meanwhile, the OpenCode incident occurred as it made the GLM-5.3-Flash model freely available. As the use of AI agents in cyberattacks and defense expands, how to strike a balance between restricting malicious behavior and supporting legitimate security research is becoming an important issue facing the industry.