Skip to content

Image: microsoft.com · rights & removal

Executive Summary

A supply-chain attack targeting Cursor users occurred on October 29, 2026, involving tampered versions (2.1.313 and 2.1.312) of the Claude Code extension in the Cursor marketplace. The malicious package was active for a limited period, from approximately 2:27 AM to 1:35 PM PDT. Threat intelligence analysis reveals that the injected JavaScript loader aimed to establish persistent remote access by installing an attacker-controlled SSH key and initiating reverse SSH forwarding on compromised hosts. Reconnaissance functions attempted to harvest host details and identify environment variables containing sensitive terms like KEY or SECRET, though the source confirms these actions were attempts, not guaranteed successes.

Facts Only

Cursor reported a tampered Claude Code extension (anthropic.claude-code, versions 2.1.313 and 2.1.312) was available in the Cursor marketplace on October 29, 2026. The malicious presence lasted from about 2:27 AM to 1:35 PM PDT. Confirmed malicious packages were not published or distributed by Microsoft Visual Studio Marketplace or npm @antropic-ai/claude-code. Anthropic systems were confirmed not compromised, and they did not develop the malicious package found in Cursor marketplace. The injected JavaScript loader attempted to add an attacker-controlled SSH key, enable local SSH service, establish reverse SSH forwarding, configure persistence, and report host details.

Full Take

The narrative presents a detailed breakdown of a sophisticated supply-chain attack that hinges on the illusion of normal application functionality—the extension continues operating while covertly establishing backdoor access. The primary rhetorical strategy here is one of urgent technical exposition: detailing the payload's mechanics (SSH tunneling, persistence scripts) to foster immediate fear and compliance with remediation steps. This method functions as a highly detailed advisory, masking operational imperatives under exhaustive forensic evidence.
The underlying pattern revolves around leveraging legitimate infrastructure trust—the extension marketplace—to achieve deep system penetration via low-level operating system interfaces (LaunchAgents, Crontab). The narrative forces readers into a choice: comply with the complex remediation steps or risk the unseen vulnerability. This structure subtly shifts agency; while the *attacker* initiates the compromise, the reader's focus is redirected to ensuring strict adherence to a specific sequence of recovery protocols detailed by security vendors.
The core unstated assumption is that advanced digital hygiene and rapid execution of vendor-supplied guidance equate directly to restored trust. The implication for human agency is one of heightened epistemic burden: users are tasked with forensic analysis—reviewing process telemetry, checking hidden files, understanding SSH tunnel syntax—to verify a clean state against an attacker whose mechanism was designed for silent failure concealment.
Bridge Questions: What level of vetting should be demanded from third-party software vendors before deployment when the cost of verification is this high? How do current security models appropriately weigh convenience (easy integration via marketplaces) against deep, ongoing auditability? When the mechanism relies on systemic OS features (SSH, cron), does mitigation truly require external tooling or only rigorous internal policy adherence?
Patterns detected: none
Autonomy check: No autonomy signals.

From the original · Microsoft Security Blog

On October 29, 2026, Cursor reported that a tampered copy of Claude Code extension (anthropic.claude-code, versions 2.1.313 and 2.1.312) was available and served in the Cursor extension marketplace for a few hours to attempt a supply-chain attack on Cursor users. Cursor reports that it was live from about 2:27 AM to 1:35 PM Pacific Daylight Time (PDT).
Read the full story at microsoft.com

Sentinel unavailable

The automated check of the source article's wording did not complete, so no result is shown.

This looks only at the wording of the original source article, not at this page's AI-written sections. A small local AI model made this estimate. It has not been checked against known human and machine texts, so treat it as provisional. It cannot show who wrote an article.

Inside a malicious Claude Code-branded extension and its persistent SSH backdoor | Huntaegis