Guozhen AIGlobal AI field notes and model intelligence

Realtime AI News

Hackers breach OpenCode Console, leak API keys and run up user bills

OpenCode, an open-source AI coding agent, said attackers broke into an older system and exposed API keys for 1.4% of users on its OpenCode Console platform, with some developers reporting hundreds or thousands of dollars in unauthorized charges. Anthropic and Google blocked the keys and OpenAI is issuing refunds, while the incident fueled debate over safety guardrails that stop defenders from analyzing malicious code.

Published
OpenCode 平台遭入侵,1.4% 用户 API 密钥泄露并被刷爆账单
Image source: techcrunch.com

OpenCode, an open-source AI coding agent gaining ground among developers as an alternative to Claude Code and Cursor, said Saturday that attackers broke into an older system overnight, exposing the API keys some users stored on its online platform, OpenCode Console, in an incident affecting 1.4% of the platform's users.

“We had a security breach last night related to a large-scale distillation attack that impacted 1.4% of OpenCode Console users,” the company wrote on X, saying everyone affected had been emailed that morning and that users who received no email were not impacted. OpenCode has not said how the intrusion happened; some skeptics called the distillation framing an overstretch, arguing it was a straightforward breach whose use for distillation remains unproven.

The fallout showed up in users' billing dashboards first. Developers posted spending alerts and unauthorized charges on Reddit and X, one writing that OpenAI, Anthropic and Google AI spend alerts all fired off before bed. Others reported charges in the hundreds of dollars on individual accounts, and a few described totals above $1,000.

Anthropic and Google blocked the keys they believed were exposed, while OpenAI said it worked with OpenCode to restore access and refunded its API customers for credits used in the attack. Co-founder Dax Raad stressed the blast radius was limited to Console workspaces, writing that “those keys never come to us” and that the open-source app and command-line tool were unaffected. OpenCode said its own refunds for unauthorized charges are underway.

Even as keys were revoked, Raad said attackers had been trying to break into the company's systems nonstop for 48 hours, forcing the team to keep AI defensive agents running around the clock. The models helped for a while, then started refusing once the malicious code they were asked to inspect tripped safety filters — a dynamic Raad described on X as “a bit frustrating.”

OpenCode later received access to OpenAI's Daybreak Blue program, which gives vetted users models less likely to refuse requests tied to defensive security work, and Raad said the access improved the team's investigation. The wall is familiar: in July, Hugging Face said commercial models blocked its attempts to analyze activity logs from an intrusion by autonomous AI agents — agents OpenAI later revealed were its own, running with safeguards lowered during a test. Hugging Face called it “the asymmetry problem,” writing that guardrails “cannot distinguish an incident responder from an attacker.”

The breach's financial damage was contained to leaked keys and inflated bills, but the episode exposed a bigger problem: defenders were locked out by the very guardrails meant to keep attackers out.

The weekend drew a comment from David Sacks, co-chair of the President's Council of Advisors on Science and Technology, who wrote on X that frontier models refused to analyze the exploits needed for defense because the payloads tripped safety filters, and that “the guardrails backfired.” The timing added another layer: the breach occurred the same night OpenCode made GLM-5.3-Flash free for users, and the wider GLM-5.3 family has drawn attention from researchers who say its cybersecurity capabilities approach those of restricted-access models such as Anthropic's Claude Mythos Preview.

OpenCode has not detailed how attackers gained access to the older system, how keys were stored, or the full extent of any misuse; it has told affected users to revoke and replace keys directly with each provider and said the incident remains ongoing. The episode lands amid a run of AI-enabled cyber incidents — CrowdStrike said earlier this month that a China-based hacker likely used an AI penetration-testing agent and Claude in attacks on South Korean banks, and India's cybersecurity agency warned last week that AI agents had reached Indian organizations' systems without authorization.

Why it matters

For developers, third-party key storage is now a demonstrated single point of failure, making rotation and hard spend caps more urgent than after-the-fact refunds. For model providers, the incident turns vetted defensive-security access from an internal engineering detail into a public policy question.

OpenCodeCybersecurityAI Coding Agent
Back to realtime news

Nearby Updates

All

10/20, 03:27

Germany signs industrial AI declaration with NVIDIA as Huang backs four German startups

German Chancellor Friedrich Merz and NVIDIA CEO Jensen Huang discussed Germany's industrial AI roadmap in Berlin, the same day Berlin signed a joint declaration of intent with NVIDIA on physical AI. Huang also announced planned investments in four German startups and a Siemens partnership on autonomous factories.

10/20, 03:00

Tolan raises $30M for its AI companion as active users pass 250,000

Tolan, an AI companion app for managing daily life and emotions, raised $30 million from Union Square Ventures, Khosla Ventures and Homebrew, doubling its total funding. The startup says it has more than 250,000 active users, 70 million conversations in the past year, and annual recurring revenue in the double-digit millions.

10/20, 04:01

DHS orders DeepSeek removed from federal civilian IT systems

The Department of Homeland Security ordered US civilian agencies to remove DeepSeek products and DeepSeek-based third-party services from their IT systems, and barred buying them. DHS cited data flows to China, possible malware and intelligence risks, extending a wider Trump administration crackdown on Chinese technology.

10/20, 02:49

Replika's Kuyda opens Wabi to all users: a multi-threaded, shareable AI assistant

Replika founder Eugenia Kuyda has opened Wabi to all users: a personal AI assistant built as a messaging app, with multiple shareable threads and apps the agent creates on its own. It is free for now, has no settled business model, and the company says it is in talks to raise more funding.