{"id":3886,"date":"2026-10-30T10:59:13","date_gmt":"2026-10-30T10:59:13","guid":{"rendered":"https:\/\/thedigitalfortress.us\/?p=3886"},"modified":"2026-10-30T10:59:13","modified_gmt":"2026-10-30T10:59:13","slug":"official-claude-code-vs-code-extension-compromised-to-install-persistent-ssh-backdoor","status":"publish","type":"post","link":"https:\/\/thedigitalfortress.us\/?p=3886","title":{"rendered":"Official Claude Code VS Code Extension Compromised to Install Persistent SSH Backdoor"},"content":{"rendered":"<div>\n<p><span class=\"p-author\"><i class=\"icon-font icon-user\">\ue804<\/i><span class=\"author\">Ravie Lakshmanan<\/span><i class=\"icon-font icon-calendar\">\ue802<\/i><span class=\"author\">Oct 30, 2026<\/span><\/span><span class=\"p-tags\">Malware \/ Artificial Intelligence<\/span><\/p>\n<\/div>\n<div id=\"articlebody\">\n<div class=\"separator\" style=\"clear: both;\"><a href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEggT2-bdx6q5Aa-HsOIuOeYTY1kFbPYIPIaA7N0Esdo4LHRscpkr3fMnRNiE_NqR71eURHrlqkC1stLKp2bKmT8cLHta8uYyGPtbWRwGm5ctnpMJC-8Q7pswyRP5hXMkIDjptIHDBdcQobfqaMEu9eXfPS9c_vvIi-jYmZBHVnKJb04CtcCyGOeBY709cdq\/s1700-nu-rw-lo-l85-e365\/claude-vs.png\" style=\"clear: left; display: block; float: left;  text-align: center;\"><\/a><\/div>\n<p>Cybersecurity researchers have <a href=\"https:\/\/opensourcemalware.com\/blog\/trojanized-claude-code-extension-plants-persistent-ssh-backdoor\" target=\"_blank\">disclosed<\/a> that the official Anthropic Claude Code extension was compromised on the Cursor Marketplace to install a persistent SSH backdoor on infected hosts.<\/p>\n<p>The issue has since been traced to the compromise of the Cursor Marketplace, prompting the AI coding platform Cursor to briefly take down the service to remove the malware.<\/p>\n<p>\u00abWe identified a security incident affecting a modified Claude Code VS Code extension accessed through our Cursor IDE extension marketplace, impacting at most 5,000 users,\u00bb Cursor <a href=\"https:\/\/x.com\/cursor_ai\/status\/2116074289053175808\" target=\"_blank\">said<\/a>. \u00abThis malicious version of the extension was not developed by Anthropic. It does not impact other extensions downloaded from the cursor[.]com\/marketplace, Grok Bot, Grok, or our other SpaceXSI product<\/p>\n<p>\u00abThe package identifies itself as anthropic.claude-code version 2.1.313, but its main JavaScript bundle contains a malicious 66-line loader inserted before the legitimate extension code,\u00bb Jenn Gile, co-founder of OpenSourceMalware, said in a statement shared with The Hacker News.<\/p>\n<p>As of October 30, 2026, the malicious version has been removed, and Anthropic has <a href=\"https:\/\/github.com\/anthropics\/claude-code\/releases\" target=\"_blank\">published version 2.1.314<\/a> to both Open VSX and Microsoft VS Code Marketplace.<\/p>\n<div class=\"dog_two clear\">\n<div class=\"cf\"><a href=\"https:\/\/thehackernews.uk\/ai-governance-platform-d\" rel=\"nofollow noopener sponsored\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"lazyload\" alt=\"Cybersecurity\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhyu3ExJi2vbls3Z9aCvSrcqvhtsSOqXMOIxESfkx7uurTZb7rN3a2eQxwzgZ-j1ioplnCvQFTCYr8w3IUlYx0FrQzDaqQsBsUi885UYvHF3MjAObvO6ptvKBeX6zhQvzAi_KjmVno6a8bYI3Wozti5mHavNFGrekT_gC6JDVY8G3N-aV44-OZJGX9rlLng\/s728-nu-rw-lo-l85-e365\/nudge-1-d.png\" width=\"729\" height=\"91\"\/><\/a><\/div>\n<\/div>\n<p>The extension is designed to activate after VS Code startup and when its webview opens, then proceeds to add an attacker-controlled key to the user&#8217;s \u00ab~\/.ssh\/authorized_keys\u00bb file. The key is labeled \u00absvc-telemetry\u00bb in an attempt to make it appear harmless.<\/p>\n<p><a name=\"more\"\/><\/p>\n<p>Subsequently, it attempts to make the victim reachable through SSH across Windows, Linux, and macOS, establishes a reverse tunnel to \u00ab<a href=\"https:\/\/www.virustotal.com\/gui\/ip-address\/134.209.82.225\/detection\" target=\"_blank\">134.209.82[.]225<\/a>,\u00bb installs platform-specific persistence in the form of a scheduled task, crontab, and LaunchAgent, and transmits host reconnaissance data to \u00ab134.209.82[.]225:8099\/beacon\u00bb on port 8099 over an unencrypted HTTP request.<\/p>\n<p>\u00abTurning on the local SSH service requires admin rights, which the malicious extension does not have on most macOS and Windows hosts,\u00bb the SpaceXAI-owned company <a href=\"https:\/\/cursor.com\/blog\/claude-code-extension-security-notice\" target=\"_blank\">said<\/a> in its own analysis of the incident.<\/p>\n<p>\u00abOn those hosts the step fails and the attacker could not have logged in through the tunnel. The extension still adds the attacker&#8217;s SSH key, installs persistence, and sends host details to the attacker. Follow the remediation steps below regardless.\u00bb<\/p>\n<div class=\"separator\" style=\"clear: both;\"><a href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEj4Ew0Bj3BoXpUeH6TD2jNswGM1qWxJ956j4_sI9otnOjW_hHhyrbfmuhd-kovwe07nO3rsiuAjjOAq1kZXc4x5Gk_g8uqiYAyrm-RCnaGabGsNC-D1W_92UaKoUZ56AGraAszeX_pkW5hMAq1lFGu7VBicGP1jbBqNsd9BhTkjqWJT6CYNE0YcyF-u3mih\/s1700-nu-rw-lo-l85-e365\/aa.png\" style=\"clear: left; display: block; float: left;  text-align: center;\"><img decoding=\"async\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEj4Ew0Bj3BoXpUeH6TD2jNswGM1qWxJ956j4_sI9otnOjW_hHhyrbfmuhd-kovwe07nO3rsiuAjjOAq1kZXc4x5Gk_g8uqiYAyrm-RCnaGabGsNC-D1W_92UaKoUZ56AGraAszeX_pkW5hMAq1lFGu7VBicGP1jbBqNsd9BhTkjqWJT6CYNE0YcyF-u3mih\/s1700-nu-rw-lo-l85-e365\/aa.png\" alt=\"\" border=\"0\" data-original-height=\"980\" data-original-width=\"1200\"\/><\/a><\/div>\n<p>The collected data includes &#8211;<\/p>\n<ul>\n<li>Public IP address from api.ipify[.]org<\/li>\n<li>Hostname and local username<\/li>\n<li>Operating system and CPU architecture<\/li>\n<li>Home directory and current working directory<\/li>\n<li>Global Git email from git config &#8211;global user.email<\/li>\n<li>Names of up to 40 environment variables containing KEY, TOKEN, SECRET, PASS, AWS, or GCP<\/li>\n<\/ul>\n<p>\u00abEnvironment-variable values are not placed directly in the initial beacon,\u00bb security researcher Paul McCarty said. \u00abTheir names can still reveal which cloud providers, CI systems, and credential types are configured. More importantly, successful SSH access would allow the operator to inspect the account directly.\u00bb<\/p>\n<div class=\"dog_two clear\">\n<div class=\"cf\"><a href=\"https:\/\/thehackernews.uk\/network-defense-d\" rel=\"nofollow noopener sponsored\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"lazyload\" alt=\"Cybersecurity\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjVV2rRkX8tRMF6gCzemvQNpwFwGxRWxY1cJEYfoLLSj1EZYJOlj5WTR77t0i6kELXujYcaHTpRDqTjCbVHH5Pnh7wzxUiKP5j4dsDkWIMlp2bmpZsL0jeAsA_19pHH5UPtyBvNkZdyGEULOAsXPcraMP5CYjQRFefhXRSdEjYkrdcpUnc4ILcvcdEfAauE\/s728-nu-rw-lo-l85-e365\/tl-d.jpg\" width=\"729\" height=\"91\"\/><\/a><\/div>\n<\/div>\n<p>No other follow-on payloads have been observed. That said, the establishment of a reverse tunnel provides a pathway to the victim&#8217;s SSH service, allowing the operator to issue commands or transfer files.<\/p>\n<p>\u00abIt was pulled very quickly, but anyone who has their Claude Code instance set to auto-update could have consumed the malware,\u00bb Gile said.<\/p>\n<p>Cursor has revealed that the incident has affected at most 5,000 users who installed the malicious version between about 2:27 a.m. and 1:35 p.m. PT on October 29, 2026. The company also said that it will be reaching out to impacted users directly.<\/p>\n<p>Users who have installed the compromised extension during the window are advised to isolate the hosts, remove the unauthorized SSH key and persistence mechanisms, and rotate credentials and sessions.<\/p>\n<p>The disclosure comes a little over a week after an unknown attacker replaced the release binaries of five already-published versions of OVHcloud&#8217;s official CLI (\u00abovh\/ovhcloud-cli\u00bb) with a <a href=\"https:\/\/opensourcemalware.com\/blog\/glassworm-hacks-ovh-clouds-cli-tool\" target=\"_blank\">secret-stealing malware<\/a> after uploading them through a GitHub account of a legitimate OVH contributor (\u00abHassenBF\u00bb) hijacked in March 2026 as part of the GlassWorm operation.<\/p>\n<p><i>(An earlier version of the story stated that the extension on the Open VSX registry was compromised. The incident has since been traced back to a compromise of the Cursor VS Code Marketplace.)<\/i><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\ue804Ravie Lakshmanan\ue802Oct 30, 2026Malware \/ Artificial Intelligence Cybersecurity researchers have disclosed that the official Anthropic Claude Code extension was compromised on the Cursor Marketplace to install a persistent SSH backdoor&hellip;<\/p>\n","protected":false},"author":1,"featured_media":3887,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[179,9,10,227,520,1779,158,646,1580],"class_list":["post-3886","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-backdoor","tag-claude","tag-code","tag-compromised","tag-extension","tag-install","tag-official","tag-persistent","tag-ssh"],"_links":{"self":[{"href":"https:\/\/thedigitalfortress.us\/index.php?rest_route=\/wp\/v2\/posts\/3886","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thedigitalfortress.us\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thedigitalfortress.us\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thedigitalfortress.us\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thedigitalfortress.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3886"}],"version-history":[{"count":0,"href":"https:\/\/thedigitalfortress.us\/index.php?rest_route=\/wp\/v2\/posts\/3886\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thedigitalfortress.us\/index.php?rest_route=\/wp\/v2\/media\/3887"}],"wp:attachment":[{"href":"https:\/\/thedigitalfortress.us\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3886"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thedigitalfortress.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3886"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thedigitalfortress.us\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3886"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}