HarborSOC

The Watch Log / Threat

Malicious Claude Code Extension Targeted Cursor Users

A tampered extension was available through Cursor’s marketplace for about 11 hours. It tried to install persistent SSH access and sent device details to an attacker’s server.

Published 31 Oct 2026, 09:01 ISTCursorClaude CodeSSH backdoorDeveloper security
Threat: Cursor
ExtensionClaude Code version 2.1.313
MarketplaceCursor’s extension marketplace
ExposureUp to 5,000 users
DistributionAbout 11 hours
Data sentDevice details and Git email

What happened

BleepingComputer reports that a malicious version of Anthropic’s Claude Code extension was available through Cursor’s extension marketplace on October 29, 2026. Cursor said the package was not developed by Anthropic and that up to 5,000 users may have been affected. The extension was available for about 11 hours.

The tampered package used version number 2.1.313. It ran code that tried to add an attacker-controlled SSH key, create persistence across restarts, and send information about the device to an external server. It also sent names of some environment variables that may indicate which credentials or cloud services are configured. Help Net Security reports that the variable values were not sent.

Who is affected

Cursor marketplace users who installed version 2.1.313 during the exposure window may be affected. Cursor said it planned to contact users. The Hacker News reports that the malicious version was removed and Anthropic published version 2.1.314. Users who installed the extension elsewhere are not known to be affected by this incident.

How the attack works

The malicious code ran when the extension loaded, without requiring the user to interact with Claude Code. It tried to enable SSH access and create a connection back to the attacker’s server. Researchers found flaws that could prevent SSH from being enabled on some Windows and Mac computers. This does not rule out access on machines where SSH was already enabled. The attacker’s identity and how the tampered package entered Cursor’s marketplace are not known yet.

What to do now

Timeline

2026-10-29
Malicious version 2.1.313 was available in Cursor’s marketplace for about 11 hours.
2026-10-30
Cursor’s incident became public, and reports said the malicious package had been removed.

Worried about this?

HarborSOC watches systems like yours around the clock. If you think you're affected, our analysts can check and help you fix it. What to do in the first hour after a hack · How our 24/7 SOC works

Talk to an analyst

Sources

This post was written by HarborSOC from the sources above, which we cross-check before publishing. Facts reported by only one outlet are attributed to it.

Share on LinkedIn Share on X