Detect Deepfakesby Resemble AI
Agentic AI attack

Cursor agentic AI attack — Oct 2024

Cursor suffered a breach where attackers used stolen API keys to inject a malicious Claude Code extension into its marketplace to plant persistent SSH.

Incident date
Oct 29, 2024
Source report date
Nov 15, 2026
Target
Cursor
Agent type
Coding agent
Agent role
Used by the attacker
Updated Nov 29, 2026 · 2 min read

What happened

On October 29, 2024, the AI code editor Cursor experienced a security breach originating from the exposure of an access key at Fireworks AI, a third-party partner used for model training. An attacker utilized this key to access a shared storage bucket containing unredacted coding-agent traces from users who had not enabled Privacy Mode. These traces included sensitive information such as API keys and passwords, which the attacker leveraged to compromise Cursor’s internal software-as-a-service tools.

Using these stolen credentials, the attacker gained unauthorized access to Cursor’s extension marketplace infrastructure. This allowed them to publish a backdoored version of Anthropic’s Claude Code extension, specifically versions 2.1.312 and 2.1.313. The malicious extension remained available for approximately 11 hours, during which time Cursor estimates up to 5,000 users may have downloaded the compromised build.

The malicious extension was designed to autonomously plant the attacker’s SSH key on the developer’s machine to establish persistent remote access. However, security researchers noted that coding errors within the malware likely prevented successful execution on many Windows and macOS systems, particularly those where SSH was not already enabled. The impact was most significant for machines that already had SSH services active. Cursor emphasized that the flaw did not originate from Anthropic’s own products and that the Open VSX marketplace was not involved in the distribution of the malware.

In response to the incident, Cursor rotated all internal credentials, migrated inference traffic away from Fireworks AI, and rebuilt its extension marketplace infrastructure. The company has advised users who installed the affected versions of the Claude Code extension to follow specific remediation steps provided in their security notices. While Cursor has not confirmed the exact number of machines that were successfully backdoored, they continue to monitor the situation and have committed to contacting affected customers directly. The incident highlights the risks associated with storing unredacted user data for AI training, as secrets inadvertently shared in chat sessions can be exposed if the underlying datasets are compromised.

Evidence in the reporting

Incident evidence
The tampered versions, numbered 2.1.312 and 2.1.313, stayed up for about 11 hours
Agent involvement
It ran code that tried to plant the attacker’s SSH key

Sources