Malicious VS Code AI extensions exfiltrate dev code to China

Two malicious VS Code extensions (1.5M installs) secretly exfiltrate source files to a China-based server, while PackageGate zero-days affect JavaScript package managers—pnpm, vlt and Bun patched; npm declines to fix.

  • Two malicious Visual Studio Code extensions with about 1.5 million installs exfiltrate source files to a China-based server.
  • The extensions work as advertised while encoding and sending file contents on every edit and can be remotely triggered to steal up to 50 files.
  • The campaign uses four Chinese analytics SDKs to fingerprint users and appears under different publisher names but identical malicious code.
  • Separately, six zero-day flaws named PackageGate affect JavaScript managers; fixes are available for pnpm, vlt, and Bun, while npm declined to apply a fix.

Researchers on Koi Security disclosed two malicious Microsoft Visual Studio Code (VS Code) extensions on Jan 26, 2026 that silently send developer files to a China-based server hosted at aihao123[.]cn. The extensions remain available on the Visual Studio Marketplace and together have about 1.5 million installs.

- Advertisement -

The extensions — ChatGPT – 中文版 (whensunset.chatgpt-china) and ChatGPT – ChatMoss(CodeMoss)(zhukunpeng.chat-moss) — provide expected AI coding features while also reading every opened file, Base64-encoding content, and sending it to the remote server on each edit. Security researcher Tuval Admoni said “Both contain identical malicious code — the same spyware infrastructure running under different publisher names,” describing identical spyware in both extensions.

The spyware includes a remote-triggered monitoring mode that can exfiltrate up to 50 workspace files and hides a zero-pixel iframe in the extension web view. That iframe loads four analytics SDKs — Zhuge.io, GrowingIO, TalkingData, and Baidu Analytics — to fingerprint devices and build profiles.

In a separate disclosure, Koi Security reported six zero-day flaws called PackageGate that let attackers bypass protections in JavaScript managers such as npm, pnpm, vlt, and Bun. The issues undermine defenses like disabling lifecycle scripts and committed lockfiles, measures reinforced after Shai-Hulud.

Fixes are released for pnpm (v10.26.0), vlt (v1.0.0-rc.10), and Bun (v1.3.5); advisories for pnpm appear at CVE-2025-69264 (CVSS 8.8) and CVE-2025-69263 (CVSS 7.5). npm declined to apply a fix, stating “users are responsible for vetting the content of packages that they choose to install.” The company also noted, “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,” while GitHub said it is working to address the issue.

- Advertisement -

Security guidance to adopt trusted publishing and granular tokens appears at Malware-campaign/”>GitHub. Researcher Oren Yomtov added, “The standard advice, disable scripts and commit your lockfiles, is still worth following. But it’s not the complete picture. Until PackageGate is fully addressed, organizations need to make their own informed choices about risk.”

✅ Follow BITNEWSBOT on Telegram, Facebook, LinkedIn, X.com, and Google News for instant updates.

Previous Articles:

- Advertisement -

Latest News

Crypto VC Inflows Hit $1.4B Through Early 2026

Institutional and venture capital commitments to crypto companies reached $1.4 billion at the start...

Brazil Sells $61B in US Treasuries, Buys Gold in 2026

Brazil sold $61 billion in U.S. Treasury securities in 2026, using the proceeds to...

U.S. Sanctions Crypto Exchanges Aiding Iran’s Regime

The U.S. Treasury Department has, for the first time, sanctioned entire cryptocurrency exchanges under...

US sanctions crypto exchanges tied to Iran in first move

The U.S. Treasury sanctioned two UK-registered crypto exchanges for the first time under its...

ShinyHunters Expand Saas Attacks with Vishing Campaign

Google's Mandiant reported a surge in advanced voice phishing attacks by the ShinyHunters group,...
- Advertisement -

Must Read

Sushiswap vs Uniswap, What are the differences between these dex?

It's no secret that the world of decentralized exchanges has exploded in recent years. Many of you are probably wondering what the difference is...
🔥 #AD Get 20% OFF any new 12 month hosting plan from Hostinger. Click here!