[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$frhM7XR41E8sVuji4lH2hvA7LvwliSiYDpc0MTQqKGdY":3},{"lesson":4},{"id":5,"slug":6,"article_id":7,"title":8,"body":9,"prevention":10,"framework_refs":11,"framework_notes":19,"status":27,"created_at":28,"published_at":29,"article":30,"tags":34,"podcasts":47,"controls":48},"cd27e0b0-451d-4fdb-a7c0-a193e3cd1c16","malicious-vs-code-extension-plants-ssh-backdoor-via-supply-chain-attack","83e1e57b-8ad1-45cb-b21c-1f2fa59dd6b1","Malicious VS Code Extension Plants SSH Backdoor via Supply Chain Attack","A trojanized version of the Claude Code extension was published to the Open VSX marketplace, exploiting developer trust in third-party extension registries to deliver a persistent SSH backdoor. Attackers leveraged the open nature of community marketplaces, where vetting processes are often less rigorous than official storefronts, to reach a high-value target audience: software developers with access to source code, credentials, and sensitive environment variables. Once installed, the extension silently established a reverse tunnel giving attackers persistent remote access — all without triggering obvious alarms. This incident underscores the danger of treating IDE extensions as inherently trustworthy, and highlights how the software supply chain has become a primary attack vector against developer environments.","**Immediate actions:**\n- Audit all installed VS Code-compatible extensions against known-good version hashes and remove or quarantine version 2.1.313 of the Claude Code extension immediately.\n- Block outbound SSH tunneling connections from developer workstations at the network perimeter until a full investigation is complete.\n\n**Long-term improvements:**\n- Establish an approved extension allowlist enforced via policy so developers can only install vetted, organisation-approved extensions from trusted sources.\n- Integrate software composition analysis (SCA) and extension integrity verification into developer onboarding and CI\u002FCD pipelines.\n- Prefer official, vendor-maintained marketplaces over community registries, and require cryptographic signature verification for any third-party tooling.\n\n**Detection measures:**\n- Deploy endpoint detection and response (EDR) tooling on developer workstations to alert on unexpected SSH daemon creation, outbound tunnel establishment, or environment variable exfiltration attempts.\n- Implement egress monitoring and anomaly detection for unusual outbound connections originating from developer machines, particularly on non-standard SSH ports.",[12,13,14,15,16,17,18],"CIS Control 2: Inventory and Control of Software Assets","NIST SP 800-53 SI-2: Flaw Remediation","OWASP A06:2021 Vulnerable and Outdated Components","MITRE ATT&CK T1566: Phishing","CIS Control 14: Security Awareness and Skills Training","ISO\u002FIEC 27001:2022 A.8.8: Management of technical vulnerabilities","NIS2 Article 21(2)(b)",{"NIS2 Article 21(2)(b)":20,"MITRE ATT&CK T1566: Phishing":21,"NIST SP 800-53 SI-2: Flaw Remediation":22,"OWASP A06:2021 Vulnerable and Outdated Components":23,"CIS Control 14: Security Awareness and Skills Training":24,"CIS Control 2: Inventory and Control of Software Assets":25,"ISO\u002FIEC 27001:2022 A.8.8: Management of technical vulnerabilities":26},"NIS2 mandates supply chain security measures including policies around secure acquisition and use of third-party software, directly applicable to the unvetted extension registry usage that enabled this attack.","The attack used a lookalike malicious package to deceive developers into installing it — a supply-chain variant of deception that mirrors phishing tactics targeting trust rather than clicks.","A formal process for monitoring third-party software sources for malicious or tampered releases would have detected the poisoned extension on Open VSX before widespread installation.","This control specifically addresses the risk of using unverified third-party components; verifying extension integrity and provenance before installation would have prevented the backdoor from being introduced.","Training developers to scrutinise extension sources, verify publisher authenticity, and treat community marketplaces with appropriate scepticism would reduce the likelihood of installing malicious packages.","Maintaining an authorised inventory of permitted software and extensions would have flagged the unauthorised or unexpected version 2.1.313 before it executed on developer machines.","This control requires organisations to monitor for vulnerabilities and threats in software they use, which extends to tracking the integrity of third-party developer tooling from external registries.","published","2026-10-30T12:22:36.00617+00:00","2026-10-30T12:22:35.971+00:00",{"id":7,"url":31,"slug":32,"title":33},"https:\u002F\u002Fwww.helpnetsecurity.com\u002F2026\u002F10\u002F30\u002Fclaude-code-extension-ssh-backdoor\u002F","claude-code-extension-poisoned-with-persistent-ssh-backdoor-2d80a0","Claude Code extension poisoned with persistent SSH backdoor",[35,41],{"id":36,"name":37,"slug":38,"description":39,"color":40},"7261eb8f-acd4-4d93-a489-7fdd652ec0ea","Security Awareness","security-awareness","Phishing, social engineering, human error","#22c55e",{"id":42,"name":43,"slug":44,"description":45,"color":46},"f0c2a0af-58aa-4128-87c9-6acd30f2dc48","Supply Chain","supply-chain","Third-party risk, compromised dependencies","#8b5cf6",[],[49,53,57],{"slug":50,"name":51,"problem":52},"secrets-management","Secrets management","API keys, tokens and passwords stop leaking from code, chat and configuration files.",{"slug":54,"name":55,"problem":56},"application-allowlisting","Application allowlisting","Any program that reaches a computer can run, including ransomware and the remote-access tools attackers bring with them.",{"slug":58,"name":59,"problem":60},"endpoint-detection-response","Endpoint detection and response (EDR and XDR)","Malware and hands-on-keyboard attackers on laptops and servers get spotted and stopped."]