Inside a malicious Claude Code-branded extension and its persistent SSH backdoor

In this article Attack chain overviewAttack chainHost reconnaissance collectionSSH authorization and tunnel identitiesProtocol Tunneling (T1572): reverse SSH forwardingPlatform-specific startup persistenceMitigation and protection guidanceImmediate actionsRemediation actionsFollow-up Investigation and recoveryMicrosoft Defender XDR detectionsThreat intelligence reportsMicrosoft Defender XDR Threat analytics Advanced hunting queriesMITRE ATT&CK techniquesIndicators of compromise (IOCs)Learn More On October 29, 2026, Cursor reported that a tampered copy of Claude Code extension (anthropic.claude-code, versions 2.1.313 and 2.1.312) was available and served in the Cursor extension marketplace
…