Home · Technology · Nov 3 archive

Anthropic's Claude Code Extension Backdoored for 11 Hours

· Confirmed

Technology Desk

In Short: An official extension for Anthropic’s Claude model was compromised and backdoored, potentially affecting up to 5,000 developers’ machines.

Anthropic logo
Photo: Anthropic / Wikimedia Commons (Public domain)

An official extension for Anthropic’s Claude model was backdoored and threatened as many as 5,000 developers’ machines, multiple sources reported Friday. The malicious version 2.1.313 was posted to the official Anthropic account, effectively superseding 2.1.312, and was available in the marketplace of Cursor, a maker of AI-assisted developer tools, for about 11 hours on October 29.

Anthropic pushed version 2.1.314 several hours after the previous version became available on Cursor, according to independent researcher Kevin Beaumont. Both Beaumont and the CTO and co-founder of security firm Phorian confirmed that version 2.1.313 was distributed through Anthropic’s official account on Cursor.

YouTube — Caretta SHOW YouTube

The compromised package was a VS Code extension available in the marketplace of Cursor, a maker of AI-assisted developer tools. Cursor said that the malicious extension attempts to install a persistent SSH backdoor using an added attacker-controlled SSH key, enabling the local SSH service, and opening a reverse SSH tunnel.

Researchers found a 66-line loader prepended to the extension’s main JavaScript bundle that collected host details, added an SSH key labelled svc-telemetry, tried to open a reverse SSH tunnel to an attacker server, and installed persistence on macOS and Windows.

Cursor has pulled a tampered build of Anthropic’s Claude Code extension, version 2.1.313, after its own extension marketplace served it for about 11 hours on October 29. The build was available for about 11 hours and Cursor plans to contact those users directly.

Developers who installed or updated Anthropic's Claude Code extension through the Cursor code editor between 5:27 a.m. And 1:35 p.m. PT on October 29 may have been impacted. According to Cursor and to analysis by OpenSourceMalware, code added to the start of extension.js adds an attacker's SSH key, tries to turn on the machine's SSH service, tries to open a reverse SSH tunnel to 134.209.82.225, sets up persistence, and sends host details to the same server.

Cursor said a tampered Claude Code extension in its VS Code marketplace tried to plant an SSH backdoor on developer machines on 29th October, 2026. Uninstalling the extension may not be sufficient. Cursor says it audited access and found no evidence that other extensions were tampered with.

Neither Anthropic nor Cursor has said how the attacker got access. Cursor disclosed the incident on October 29, identifying the affected package as Anthropic.claude-code version 2.1.313. Cursor said the malware’s attempt to enable SSH access would fail on most macOS and Windows computers because the operation required administrator privileges that the extension generally did not have.

What this adds

The incident adds to the ongoing concerns about supply-chain attacks in the software industry. It remains unclear how the attackers gained control of Anthropic’s verified Cursor account.

Background

An official extension for Anthropic’s Claude model was compromised and backdoored, potentially affecting up to 5,000 developers’ machines for about 11 hours on October 29, 2026.

What's confirmed

What's still developing

Sources