OpenCode Console Breach May Have Exposed OpenAI, Anthropic, and Google API Keys
A hacker accessed a legacy system and may have exposed API keys that users had saved in a hosted workspace service.
Overview
An intruder accessed a legacy systemOlder hardware or software kept in service because critical operations still depend on it at OpenCode on the night of October 16, potentially exposing third-party AI provider keysThe secret value that locks or opens a message that users had saved in the company's hosted service. The incident affected 1.4% of Console users, all of whom had linked an outside provider to their workspace. OpenCode notified these users via email on the morning of October 17, instructing them to revoke the compromised keys and replace them with new ones. The exposed keys are bearer credentials, meaning anyone holding a copy can run billable requests against the owner's account until the provider revokes the key. Because the keys were stored in the hosted service, deleting them from the platform does not stop unauthorized use, and the company's internal budget limits cannot cap the damage. Some users have already reported financial losses, with one individual citing unauthorized usage costs of $281 for an OpenAI key and $168 for an Anthropic key.
Terms in this story
- legacy system
- Older hardware or software kept in service because critical operations still depend on it. Organizations in healthcare and manufacturing often struggle to protect a legacy system that runs specialized equipment but can no longer run modern security tools or updates.
- keys
- The secret value that locks or opens a message. Many breach and ransomware stories come down to who holds the cryptographic key, since strong encryption protects data only as long as the key stays secret. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
- API Keys
- A secret string a program sends with an API request to identify itself and get access. Software teams sometimes accidentally upload an API key to a public code repository, allowing attackers who scan for leaked keys to rack up cloud bills or read private databases. Security+ objective 4.6 lists the term
- database
- An organized digital store of structured records, such as customer accounts, orders, or messages, queried by software. Behind almost every website and mobile app sits a database, and attackers target misconfigured or unpatched databases to copy millions of user records at once.
- script
- A short program written in an interpreted language to automate tasks in a browser, shell, or application. System administrators write scripts to automate daily maintenance, while attackers often use a script to download malware and disable security settings without dropping a compiled file.
- unauthorized access
- Signing in to or viewing a computer system, account, or database without permission. Breach notifications often report unauthorized access when an intruder uses stolen credentials or an unpatched flaw to enter an internal network.
- distillation attack
- Systematically querying a large AI model to train a smaller copycat model on its outputs. AI labs monitor their APIs for a distillation attack where a competitor uses automated accounts to harvest millions of reasoning traces instead of training a model from scratch.
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the The Hacker News website. Cite the article, not this page.
Read the full article on The Hacker News (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Breach or attack
"An intruder reached a legacy system at OpenCode..." Found by reading the article; these exact words are in it - Who is affected: "OpenAI, Anthropic, and Google API Keys..."
Copied word for word from the article - Security+ 3.3 Compare and contrast concepts and strategies to protect data.
"OpenCode Console Breach May Have Exposed OpenAI, Anthropic, and Google..." Found in the headline - Security+ 4.6 Given a scenario, implement and maintain identity and access management.
"......May Have Exposed OpenAI, Anthropic, and Google API Keys..." Found in the headline - Security+ 5.3 Explain the processes associated with third-party risk assessment and management.
"......October 16 and may have exposed the third-party AI provider keys that users had saved..." Found in the opening sentences - CYBR 101 week 6: AI, how it is attacked, and what it does for attackers and defenders
"OpenCode Console Breach May Have Exposed OpenAI, Anthropic, and Google API Keys..." Found in the headline
How a story is connected to the course, and every objective, week and job role
Same story at other outlets
- OpenCode Data Breach Exposes API Keys Linked to Third-Party Services
- OpenCode hack exposes API keys amid AI distillation attacks
- OpenCode Breach Could Affect OpenAI, Anthropic and Google
- OpenCode Security Breach Exposes Third-Party API Keys of its Console Users
- OpenCode API Key Breach: Third-Party AI Credentials May Have Been Exposed