OpenCode hack exposes API keys amid AI distillation attacks
Recorded: Oct. 19, 2026, 6:02 p.m.
| Original | Summarized |
OpenCode hack exposes API keys amid AI distillation attacks News Featured PHP warns admins of two critical flaws, emergency patches coming tomorrow Mozilla, Google, Apple block compromised eMudhra CA certificates Windows Server 2025 gets support for quick machine recovery Revolut outage disrupts online banking operations worldwide OpenAI agents disabled safety monitoring, one lied about it PHP ships emergency patches for critical PHP2Shell flaws ClickFix has never been bigger, and AI tools are its most convincing lure yet Microsoft PowerToys adds CursorHide, Button Lock mouse tools Tutorials Latest How to access the Dark Web using the Tor Browser How to enable Kernel-mode Hardware-enforced Stack Protection in Windows 11 How to use the Windows Registry Editor How to backup and restore the Windows Registry How to start Windows in Safe Mode How to remove a Trojan, Virus, Worm, or other Malware How to show hidden files in Windows 7 How to see hidden files in Windows Webinars Latest Qualys BrowserCheck STOPDecrypter AuroraDecrypter FilesLockerDecrypter AdwCleaner ComboFix RKill Junkware Removal Tool Deals Categories eLearning IT Certification Courses Gear + Gadgets Security VPNs Popular Best VPNs How to change IP address Access the dark web safely Best VPN for YouTube Forums Virus Removal Guides HomeNewsSecurityOpenCode hack exposes API keys amid AI distillation attacks OpenCode hack exposes API keys amid AI distillation attacks By Bill Toulas October 19, 2026 The open-source AI coding project OpenCode has notified some users that stored API keys they used with external providers were exposed in a security breach. Distillation attack on OpenCode ran for 48 hourssource: Dax Raad OpenCode notice to usersSource: Alex Spinu Once attackers have valid credentials, only 37% of their actions are blocked Overall prevention scores can hide what happens after initial access. Once attackers are using valid credentials, prevention drops sharply.The Blue Report 2026 measures defenses technique by technique across 338 million simulations run in customer production environments. Related Articles: AI Bill Toulas Previous Article Post a Comment Community Rules You need to login in order to post a comment You may also like: Popular Stories PHP warns admins of two critical flaws, emergency patches coming tomorrow Mozilla, Google, Apple block compromised eMudhra CA certificates Hackers exploit SiteGuard WAF flaw to run commands as admins Sponsor Posts See How Employees Use AI. Then, Turn Insight Into Action Pentest your web apps on-demand. Find what humans miss. Scope and launch a pentest in minutes. Inside the Chinese-language marketplaces powering the scam centre economy: join a live training. Overdue a password health-check? Audit your Active Directory for free Get your free 30-day browser security assessment Follow us: Main Sections News Community Forums Useful Resources Welcome Guide Company About BleepingComputer Terms of Use - Privacy Policy - Ethics Statement - Affiliate Disclosure Copyright @ 2003 - 2026 Bleeping Computer® LLC - All Rights Reserved Login Username Password Remember Me Sign in anonymously Sign in with Twitter Not a member yet? Register Now Help us understand the problem. What is going on with this comment? Spam Abusive or Harmful Inappropriate content Strong language Other Read our posting guidelinese to learn what content is prohibited. Submitting... |
According to Bill Toulas, a tech writer and infosec news reporter with over a decade of experience covering open-source, Linux, malware, data breach incidents, and hacks, the open-source AI coding project OpenCode has notified users that stored API keys used with external providers were exposed in a significant security breach. The incident was triggered by a large-scale distillation attack that impacted 1.4% of OpenCode Console users who had linked external AI providers, including Anthropic, OpenAI, and Google. Multiple users reported unauthorized API charges and the suspension of projects within Google Cloud as a direct consequence of the breach. OpenCode, described as a model-agnostic AI coding agent that enables users to understand code, write features, and fix bugs through natural-language instructions via terminal, desktop, or code editor interfaces, allows users to connect AI models from multiple providers to streamline development. The project's co-founder Dax Raad detailed the attack, stating that it was a large-scale distillation attack that occurred overnight and targeted systems for at least 48 hours using AI agents. He explained that OpenCode's investigation was initially blocked when the AI models utilized began refusing requests due to built-in security safeguards. The situation was stabilized after OpenCode adopted OpenAI's Daybreak AI cybersecurity model for defensive operations, which it had been approved to use on the same day. Distillation, a legitimate machine-learning technique that trains smaller models using responses from more powerful models to create cheaper, faster versions with retained capabilities, became an attack when it involved large-scale training through unauthorized queries. The project maintainer noted that the earliest possible exposure of affected users' keys occurred on October 17, 2026, at 00:30 UTC, and that no data beyond the keys themselves appears to have been exposed. OpenCode confirmed it was working with Google, OpenAI, and Anthropic to address the incident but declined to provide further details at the time of the report. User reports indicated that rogue charges resulting from the private key leaks ranged from several hundred dollars to as high as $1,700 in unauthorized transactions. The email sent to impacted users mentioned the possibility of reimbursement for those affected. Additionally, some users reported that Google suspended their projects after detecting "abusive activity consistent with hijacked resources." BleepingComputer, the source of the report, contacted OpenCode for additional details but had not received a response by the time of publication. The breach underscores the vulnerability of relying on external AI providers within open-source coding tools. While OpenCode's defensive measures eventually mitigated the immediate impact, the incident highlights the critical need for robust security protocols and rapid response mechanisms when AI agents are used to interact with external systems. |