22 days ago
TechCrunch Oct 19, 2026

Hackers hit AI coding tool OpenCode, running up charges on users’ AI accounts

OpenCode, a popular open source AI coding agent competing with Claude Code and Cursor, experienced a security breach on October 17, 2026, impacting about 1.4% of its users on the OpenCode Console platform. Hackers accessed an older system storing users' API keys—digital passwords granting access to AI services—and ran unauthorized AI operations, resulting in significant unexpected charges on affected accounts. Multiple users reported sudden billing spikes, with some seeing charges in the hundreds and others exceeding $1,000. OpenCode promptly notified impacted users and began processing refunds, while AI providers like OpenAI, Anthropic, and Google blocked compromised keys to contain the incident.

The breach illustrated the growing vulnerability faced by companies reliant on AI models that have strict safety restrictions and cannot analyze potentially malicious code during cyberattacks. OpenCode's security team struggled to counteract continuous hacking attempts over 48 hours, using AI defensive agents that eventually hit limits as safety filters prevented examining the exploit code. However, after gaining access to OpenAI’s Daybreak Blue program, which offers less restricted AI models for security purposes, OpenCode improved its investigative capabilities. The incident highlights the persistent "asymmetry problem" where AI defenses are hindered by guardrails that block critical threat analysis but do not stop attackers.

OpenCode clarified that its main open source app and command-line tools were not affected, as the breach was confined to Console workspaces where some API keys were stored. The company advised users to revoke and replace API keys with providers directly, given the ongoing situation. This episode follows several recent AI-enabled cyber incidents worldwide, including attacks using AI penetration-testing tools against banks and unauthorized AI agent access to organizational systems in countries like India. The event underscores the escalating arms race in cybersecurity as AI adoption grows.

This breach occurred concurrently with increased attention on the security challenges posed by AI agents. Industry experts, including David Sacks from the President’s Council of Advisors on Science and Technology, criticize how AI model safeguards can undermine defense efforts by refusing to analyze attack payloads. The incident has reignited conversations about the need for independent monitoring and control systems separate from AI model suppliers to better manage AI’s risks. OpenCode and others in the sector continue to explore solutions to balance safety with the capability to respond effectively to sophisticated AI-driven threats.

0
0 Read source
Share this post
Facebook Twitter LinkedIn

Discussion

0 comments

No comments yet

Start the discussion with a take, question, or market read.