# Claude Code extension poisoned with persistent SSH backdoor

DevFeed: [Claude Code extension poisoned with persistent SSH backdoor](<https://devfeed.tech/articles/claude-code-extension-poisoned-with-persistent-ssh-backdoor-107699.md>)

Original publisher: [Read original article](<https://www.helpnetsecurity.com/2026/10/30/claude-code-extension-ssh-backdoor/>)

Author: Sinisa Markovic

Published: 2026-10-30T11:15:26Z

Content type: news

Language: en

Sources: [Help Net Security](<https://devfeed.tech/sources/help-net-security.md>)

Topics: [ssh](<https://devfeed.tech/topics/ssh.md>), [VS Code Extension](<https://devfeed.tech/topics/vscode-extension.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [ai](<https://devfeed.tech/tags/ai.md>), [anthropic](<https://devfeed.tech/tags/anthropic.md>), [aws](<https://devfeed.tech/tags/aws.md>), [backdoor](<https://devfeed.tech/tags/backdoor.md>), [bug](<https://devfeed.tech/tags/bug.md>), [claude-code](<https://devfeed.tech/tags/claude-code.md>), [cybercrime](<https://devfeed.tech/tags/cybercrime.md>), [eclipse-foundation](<https://devfeed.tech/tags/eclipse-foundation.md>), [extension](<https://devfeed.tech/tags/extension.md>), [macos](<https://devfeed.tech/tags/macos.md>), [macos-security](<https://devfeed.tech/tags/macos-security.md>), [malicious](<https://devfeed.tech/tags/malicious.md>), [marketplace](<https://devfeed.tech/tags/marketplace.md>), [news](<https://devfeed.tech/tags/news.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [package](<https://devfeed.tech/tags/package.md>), [security](<https://devfeed.tech/tags/security.md>), [ssh](<https://devfeed.tech/tags/ssh.md>), [supply-chain-attacks](<https://devfeed.tech/tags/supply-chain-attacks.md>), [version](<https://devfeed.tech/tags/version.md>), [visual-studio](<https://devfeed.tech/tags/visual-studio.md>), [visual-studio-marketplace](<https://devfeed.tech/tags/visual-studio-marketplace.md>), [vs-code](<https://devfeed.tech/tags/vs-code.md>)

## AI overview

The Open VSX build of Claude Code extension 2.1.313 injected code that ran as soon as the extension loaded. It added an attacker's SSH key, opened a retrying outbound tunnel, and installed reboot persistence on macOS, Linux, and Windows. It also reported host details and names of environment variables that might contain credentials, while leaving their values on the machine. On macOS, a faulty check often prevented the payload from enabling SSH without administrator rights, but the backdoor could work where Remote Login was already enabled or enabled later. Cursor reported the version was available for about 11 hours, with up to 5,000 users potentially affected; the compromised build was not in Microsoft's Visual Studio Marketplace. Uninstalling alone may leave scripts and persistence behind. Affected users are advised to check for the `svc-telemetry` key, use cleanup guidance, isolate or rebuild machines, rotate reachable credentials and sessions from a trusted system, and inspect SSH logs for logins using that key.

## Source excerpt

A tampered build of Anthropic's Claude Code extension for VS Code-compatible editors planted an SSH backdoor on developers' machines, researchers at macOS security firm Phorion have found. The malicious package, version 2.1.313, was published on Open VSX, an open-source marketplace for VS Code extensions run by the Eclipse Foundation. VS Code's default extension store is Microsoft's Visual Studio Marketplace, which never carried the compromised extension. Its terms of use limit it to Microsoft's own products, ... More -> The post Claude Code extension poisoned with persistent SSH backdoor appeared first on Help Net Security.