Malicious Claude Code Extension Distributed Through Cursor Marketplace

· Original article ↗

Summary

Cursor reported that malicious Claude Code extension version 2.1.313 was available in its marketplace for about 11 hours. Phorion found it attempted to install an SSH backdoor; Cursor estimated up to 5,000 users were affected.

Key points

  • Cursor reported the malicious extension was available from approximately 09:27 to 20:35 UTC on October 29, 2026, and identified affected macOS and Windows packages.
  • Cursor estimated that up to 5,000 users were affected.
  • Phorion found the extension attempted to add an attacker-controlled SSH key to authorized_keys and open a reverse SSH tunnel to 134.209.82[.]225.
  • The extension also attempted to establish persistence and send host details to the attacker.
  • Coding errors caused SSH enablement to fail on most macOS and Windows hosts.
  • Sophos recommends checking for version 2.1.313 during the exposure window; uninstalling the extension alone does not remove the backdoor. Remove the SSH key, persistence mechanisms, and tunnel processes, and rotate accessible credentials.

Article Details

Event Type
Malicious extension distributed through the Cursor extension marketplace.
Impact
A malicious version of Anthropic’s Claude Code extension (2.1.313) was available from approximately 09:27 to 20:35 UTC on October 29, 2026. Cursor estimated that up to 5,000 users were affected. The extension attempted to add an attacker-controlled SSH key, establish a reverse SSH tunnel, persist on hosts, and send host details to the attacker. Coding errors reportedly caused SSH enablement to fail on most macOS and Windows hosts.

Indicators of compromise

TypeIndicatorContext
IPV4134[.]209[.]82[.]225Attacker-controlled endpoint targeted by the extension for a reverse SSH tunnel.

MITRE ATT&CK

Vendors

Products

Related Articles