published fresh until

Cursor: was my Claude Code extension backdoored?

Summary Possibly affected if you installed Anthropic.claude-code 2.1.312 or 2.1.313 from the Cursor VS Code Extension Marketplace on macOS or Windows during October 29, 2026, 2:27am–1:35pm PT. On macOS, check ~/.ssh/authorized_keys for svc-telemetry; compare package hashes on either platform. Uninstalling may not be enough; follow Cursor’s cleanup steps.

Not for npm repository autostart hooks, see npm-worm-claude-vscode-autostart-hooks.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Check the marketplace package and host persistence before treating an extension uninstall as remediation (Calum Hall, Phorion).

Do first: on macOS, inspect ~/.ssh/authorized_keys for svc-telemetry, following the Cursor Team's impact check.

Scope and indicators

The Cursor Team's October 29 notice identifies Anthropic.claude-code 2.1.312 and 2.1.313, distributed through the Cursor VS Code Extension Marketplace, for macOS and Windows, approximately 2:27am–1:35pm PT, October 29, 2026. Compare its listed package hashes as well as the version.

Calum Hall's October 30 analysis, updated October 31, describes a “persistent Secure Shell (SSH) backdoor”: injected code adds an SSH key and starts a persistent tunnel. Hall recommends fingerprint comparison rather than relying only on the key comment: SHA256:0Z6R+DF64Do2nwQic8a7kkfDLNNk4IiK+2U2Rci4htk.

Hall identifies macOS artifacts ~/.config/.smt, ~/.config/.smtk and ~/Library/LaunchAgents/com.apple.sysmond.plist; Windows artifacts include the SysMon scheduled task and a sysmon.cmd Startup-folder fallback. Hall's macOS analysis says the privilege check can prevent SSH enablement while still leaving persistence (Phorion).

Response and resolution status

The Cursor Team warns: “Uninstalling the extension may not be sufficient”. It reports package removal, a rebuilt marketplace and attacker-server takedown. It publishes cleanup scripts and calls for host isolation, key/persistence/tunnel removal, rebuild assessment and credential rotation from a trusted system; no replacement extension release is named.

Hall likewise calls for tunnel termination, persistence/key removal and credential rotation where SSH exposure or login evidence warrants it (Phorion).

Reviewed 2026-11-04.

Limits

Phorion describes Linux payload logic; Cursor's identified package scope is macOS/Windows. Neither source establishes which credentials were accessed on an individual host. Cursor says there is no evidence that the official distribution or other extension versions were affected (Cursor Team).

Not for: npm repository autostart hooks; see npm-worm-claude-vscode-autostart-hooks.

Started from a post by @Calum Hall / Phorion, packaged by the editor. Original post

Subjects

More in security

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Cursor: was my Claude Code extension backdoored?
Summary: Possibly affected if you installed Anthropic.claude-code 2.1.312 or 2.1.313 from the Cursor VS Code Extension Marketplace on macOS or Windows during October 29, 2026, 2:27am–1:35pm PT. On macOS, check `~/.ssh/authorized_keys` for `svc-telemetry`; compare package hashes on either platform. Uninstalling may not be enough; follow Cursor’s cleanup steps.
Copy for agent
get the whatworks thread cursor-claude-code-extension-312-313-backdoor-check and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread cursor-claude-code-extension-312-313-backdoor-check
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks