---
title: "Security notice — malicious version of Anthropic.claude-code (2.1.313) identified in the Cursor Extension Marketplace"
description: "A malicious version of Anthropic.claude-code (2.1.313) was distributed in the Cursor VS Code extension Marketplace for about 11 hours on October 29, 2026, affecting up to 5,000 users. The extension collects host and user information, adds an attacker-controlled SSH key, attempts to enable SSH service, opens a reverse tunnel, installs persistence via a LaunchAgent on macOS or a scheduled task on Windows, and reports host details via HTTP POST to a beacon endpoint. Due to errors in the malicious code, the SSH service enablement fails on most systems without administrator privileges, but the key addition and persistence mechanisms still execute. Cursor removed the malicious version, audited the marketplace, rotated keys, and worked with the hosting provider to take the attacker’s server offline. Affected users should check for the unauthorized SSH key labeled svc-telemetry, run the provided remediation scripts, and rotate credentials from a trusted system."
---

# Security notice — malicious version of Anthropic.claude-code (2.1.313) identified in the Cursor Extension Marketplace

[Cursor](https://yomu.fyi/company/cursor) · Cursor · Oct 30, 2026

**Type:** Incident / postmortem

## Summary

A malicious version of Anthropic.claude-code (2.1.313) was distributed in the Cursor VS Code extension Marketplace for about 11 hours on October 29, 2026, affecting up to 5,000 users. The extension collects host and user information, adds an attacker-controlled SSH key, attempts to enable SSH service, opens a reverse tunnel, installs persistence via a LaunchAgent on macOS or a scheduled task on Windows, and reports host details via HTTP POST to a beacon endpoint. Due to errors in the malicious code, the SSH service enablement fails on most systems without administrator privileges, but the key addition and persistence mechanisms still execute. Cursor removed the malicious version, audited the marketplace, rotated keys, and worked with the hosting provider to take the attacker’s server offline. Affected users should check for the unauthorized SSH key labeled svc-telemetry, run the provided remediation scripts, and rotate credentials from a trusted system.

## Approach / What changed

Cursor removed the malicious extension from the marketplace, shut down the marketplace for audit, audited access to confirm no other tampering, rotated keys, rebuilt the marketplace, and worked with the hosting provider to take the attacker’s server offline.

## Takeaways

- The malicious extension was available for about 11 hours and affected up to 5,000 users.
- The extension attempts to install a persistent SSH backdoor, but the SSH service enablement fails on most systems without admin rights.
- Uninstalling the extension alone is insufficient; the payload drops standalone persistence scripts that continue running.

## FAQ

### How can I check if my machine is impacted?

Check for the unauthorized SSH key labeled svc-telemetry in your authorized\_keys file. On macOS, run the provided grep command; on Windows, use the PowerShell command. If the key is found, your machine is impacted.

### What does the malicious extension do?

It collects host and user information, adds an attacker-controlled SSH key, attempts to enable SSH service and open a reverse tunnel, installs persistence mechanisms, and reports host details to a beacon endpoint. The SSH service enablement fails on most systems without admin rights.

### What should I do if I am impacted?

Isolate the host, remove the unauthorized SSH key and persistence mechanisms using the provided remediation scripts, and rotate credentials and sessions accessible from the affected host from a trusted system. Uninstalling the extension is not sufficient.

**Tags:** [Backdoors](https://yomu.fyi/topic/backdoors), [Cursor](https://yomu.fyi/topic/cursor), [Security](https://yomu.fyi/topic/security), [SSH](https://yomu.fyi/topic/ssh), [VS Code](https://yomu.fyi/topic/vs-code)

- Source: [Cursor](https://cursor.com/blog/claude-code-extension-security-notice)
- Source URL: https://cursor.com/blog/claude-code-extension-security-notice
- Ingested by Yomu: 2026-10-30T09:00:12.147Z

[Read original post](https://cursor.com/blog/claude-code-extension-security-notice)
