{"id":439967,"date":"2026-01-27T04:41:18","date_gmt":"2026-01-27T04:41:18","guid":{"rendered":"https:\/\/www.newsbeep.com\/au\/439967\/"},"modified":"2026-01-27T04:41:18","modified_gmt":"2026-01-27T04:41:18","slug":"malicious-vs-code-ai-extensions-with-1-5-million-installs-steal-developer-source-code","status":"publish","type":"post","link":"https:\/\/www.newsbeep.com\/au\/439967\/","title":{"rendered":"Malicious VS Code AI Extensions with 1.5 Million Installs Steal Developer Source Code"},"content":{"rendered":"<p>\ue804Ravie Lakshmanan\ue802Jan 26, 2026AI Security \/ Vulnerability<\/p>\n<p><a href=\"https:\/\/www.newsbeep.com\/au\/wp-content\/uploads\/2026\/01\/vscode.jpg\" style=\"clear: left; display: block; float: left;  text-align: center;\"><img decoding=\"async\" src=\"https:\/\/www.newsbeep.com\/au\/wp-content\/uploads\/2026\/01\/vscode.jpg\" alt=\"\" border=\"0\" data-original-height=\"470\" data-original-width=\"900\"\/><\/a><\/p>\n<p>Cybersecurity researchers have <a href=\"https:\/\/www.koi.ai\/blog\/maliciouscorgi-the-cute-looking-ai-extensions-leaking-code-from-1-5-million-developers\" rel=\"noopener nofollow\" target=\"_blank\">discovered<\/a> two malicious Microsoft Visual Studio Code (VS Code) extensions that are advertised as artificial intelligence (AI)-powered coding assistants, but also harbor covert functionality to siphon developer data to China-based servers.<\/p>\n<p>The extensions, which have 1.5 million combined installs and are still available for download from the official <a href=\"https:\/\/github.com\/microsoft\/vsmarketplace\/blob\/main\/RemovedPackages.md\" rel=\"noopener nofollow\" target=\"_blank\">Visual Studio Marketplace<\/a>, are listed below &#8211;<\/p>\n<p>ChatGPT &#8211; \u4e2d\u6587\u7248 (ID: whensunset.chatgpt-china) &#8211; 1,340,869 installs<br \/>\nChatGPT &#8211; ChatMoss\uff08CodeMoss\uff09(ID: zhukunpeng.chat-moss) &#8211; 151,751 installs<\/p>\n<p><a href=\"https:\/\/thehackernews.uk\/zero-trust-summit-d\" rel=\"nofollow noopener sponsored\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"lazyload\" alt=\"Cybersecurity\" src=\"https:\/\/www.newsbeep.com\/au\/wp-content\/uploads\/2026\/01\/threatlocker-inside-d.png\" width=\"729\" height=\"91\"\/><\/a><\/p>\n<p>Koi Security said the extensions are functional and work as expected, but they also capture every file being opened and every source code modification to servers located in China without users&#8217; knowledge or consent. The campaign has been codenamed MaliciousCorgi.<\/p>\n<p>&#8220;Both contain identical malicious code &#8212; the same spyware infrastructure running under different publisher names,&#8221; security researcher Tuval Admoni said.<\/p>\n<p>What makes the activity particularly dangerous is that the extensions work exactly as advertised, providing autocomplete suggestions and explaining coding errors, thereby avoiding raising any red flags and lowering the users&#8217; suspicion.<\/p>\n<p>At the same time, the embedded malicious code is designed to read all of the contents of every file being opened, encode it in Base64 format, and send it to a server located in China (&#8220;aihao123[.]cn&#8221;). The process is triggered for every edit.<\/p>\n<p>The extensions also incorporate a real-time monitoring feature that can be remotely triggered by the server, causing up to 50 files in the workspace to be exfiltrated. Also present in the extension&#8217;s web view is a hidden zero-pixel iframe that loads four commercial analytics software development kits (SDKs) to fingerprint the devices and create extensive user profiles.<\/p>\n<p>The four SDKs used are Zhuge.io, GrowingIO, TalkingData, and Baidu Analytics, all of which are major data analytics platforms based in China.<\/p>\n<p>PackageGate Flaws Affect JavaScript Package Managers<\/p>\n<p>The disclosure comes as the supply chain security company said it <a href=\"https:\/\/www.koi.ai\/blog\/post-shai-hulud-6-zero-days-in-js-package-managers-but-npm-wont-act\" rel=\"noopener nofollow\" target=\"_blank\">identified<\/a> six zero-day vulnerabilities in JavaScript package managers like npm, pnpm, vlt, and Bun that could be exploited to defeat security controls put in place to skip the automatic execution of lifecycle scripts during package installation. The flaws have been collectively named PackageGate.<\/p>\n<p>Defenses such as disabling lifecycle scripts (&#8220;&#8211;ignore-scripts&#8221;) and committing lockfiles (&#8220;package-lock.json&#8221;) have become crucial mechanisms to confronting <a href=\"https:\/\/thehackernews.com\/2025\/12\/researchers-spot-modified-shai-hulud.html\" rel=\"noopener nofollow\" target=\"_blank\">supply chain attacks<\/a>, especially in the aftermath of <a href=\"https:\/\/www.microsoft.com\/en-us\/security\/blog\/2025\/12\/09\/shai-hulud-2-0-guidance-for-detecting-investigating-and-defending-against-the-supply-chain-attack\/\" rel=\"noopener nofollow\" target=\"_blank\">Shai-Hulud<\/a>, which leverages postinstall scripts to spread in a worm-like manner to hijack npm tokens and publish malicious versions of the packages to the registry.<\/p>\n<p><a href=\"https:\/\/thehackernews.uk\/attack-surface-insight-d\" rel=\"nofollow noopener sponsored\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"lazyload\" alt=\"Cybersecurity\" src=\"https:\/\/www.newsbeep.com\/au\/wp-content\/uploads\/2026\/01\/Sprocket-d.jpg\" width=\"729\" height=\"91\"\/><\/a><\/p>\n<p>However, Koi found that it&#8217;s possible to bypass script execution and lockfile integrity checks in the four package managers. Following responsible disclosure, the issues have been addressed in pnpm (<a href=\"https:\/\/github.com\/pnpm\/pnpm\/releases\/tag\/v10.26.0\" rel=\"noopener nofollow\" target=\"_blank\">version 10.26.0<\/a>), vlt (<a href=\"https:\/\/github.com\/vltpkg\/vltpkg\/releases\/tag\/v1.0.0-rc.10\" rel=\"noopener nofollow\" target=\"_blank\">version 1.0.0-rc.10<\/a>), and <a href=\"https:\/\/bun.com\/blog\/bun-v1.3.5#security\" rel=\"noopener nofollow\" target=\"_blank\">Bun<\/a> (<a href=\"https:\/\/github.com\/oven-sh\/bun\/releases\/tag\/bun-v1.3.5\" rel=\"noopener nofollow\" target=\"_blank\">version 1.3.5<\/a>). Pnpm is tracking the two vulnerabilities as <a href=\"https:\/\/github.com\/pnpm\/pnpm\/security\/advisories\/GHSA-379q-355j-w6rj\" rel=\"noopener nofollow\" target=\"_blank\">CVE-2025-69264<\/a> (CVSS score: 8.8) and <a href=\"https:\/\/github.com\/pnpm\/pnpm\/security\/advisories\/GHSA-7vhp-vf5g-r2fw\" rel=\"noopener nofollow\" target=\"_blank\">CVE-2025-69263<\/a> (CVSS score: 7.5).<\/p>\n<p>Npm, however, has opted not to fix the vulnerability, stating &#8220;users are responsible for vetting the content of packages that they choose to install.&#8221; When reached for comment, a GitHub spokesperson told The Hacker News that&#8217;s working actively to address the new issue as npm actively scans for malware in the registry.<\/p>\n<p>&#8220;If a package being installed through git contains a prepare script, its dependencies and devDependencies will be installed. As we shared when the ticket was filed, this is an intentional design and works as expected,&#8221; the company said. &#8220;When users install a git dependency, they are trusting the entire contents of that repository, including its configuration files.&#8221;<\/p>\n<p>The Microsoft-owned subsidiary has also urged projects to <a href=\"https:\/\/github.blog\/security\/supply-chain-security\/strengthening-supply-chain-security-preparing-for-the-next-malware-campaign\/\" rel=\"nofollow noopener\" target=\"_blank\">adopt trusted publishing<\/a> and granular access tokens with enforced two-factor authentication (2FA) to secure the software supply chain. As of September 2025, GitHub has <a href=\"https:\/\/thehackernews.com\/2025\/09\/github-mandates-2fa-and-short-lived.html\" rel=\"nofollow noopener\" target=\"_blank\">deprecated<\/a> legacy classic tokens, limited granular tokens with publishing permissions to a shorter expiration, and removed the option to bypass 2FA for local package publishing.<\/p>\n<p>&#8220;The standard advice, disable scripts and commit your lockfiles, is still worth following,&#8221; security researcher Oren Yomtov said. &#8220;But it&#8217;s not the complete picture. Until PackageGate is fully addressed, organizations need to make their own informed choices about risk.&#8221;<\/p>\n<p>(The story was updated after publication to include a response from GitHub.)<\/p>\n","protected":false},"excerpt":{"rendered":"\ue804Ravie Lakshmanan\ue802Jan 26, 2026AI Security \/ Vulnerability Cybersecurity researchers have discovered two malicious Microsoft Visual Studio Code (VS&hellip;\n","protected":false},"author":2,"featured_media":439968,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[256,254,255,64,63,92765,53556,192592,192591,192593,192594,192595,14279,192596,192597,192600,98257,62991,192599,192598,105,192601],"class_list":["post-439967","post","type-post","status-publish","format-standard","has-post-thumbnail","category-artificial-intelligence","tag-ai","tag-artificial-intelligence","tag-artificialintelligence","tag-au","tag-australia","tag-computer-security","tag-cyber-attacks","tag-cyber-news","tag-cyber-security-news","tag-cyber-security-news-today","tag-cyber-security-updates","tag-cyber-updates","tag-data-breach","tag-hacker-news","tag-hacking-news","tag-how-to-hack","tag-information-security","tag-network-security","tag-ransomware-malware","tag-software-vulnerability","tag-technology","tag-the-hacker-news"],"_links":{"self":[{"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/posts\/439967","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/comments?post=439967"}],"version-history":[{"count":0,"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/posts\/439967\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/media\/439968"}],"wp:attachment":[{"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/media?parent=439967"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/categories?post=439967"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/tags?post=439967"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}