Loading cryptocurrency prices...

AI-Powered Ransomware Found in VS Code Extension, Removed

AI-Generated Malicious VS Code Extension with Ransomware and Vidar-Stealing npm Packages Highlight Growing Supply Chain Attack Risks

  • A malicious Visual Studio Code extension with Ransomware features was released using AI-generated code.
  • The extension encrypts, zips, and uploads files from a test directory and uses GitHub for command-and-control functions.
  • Datadog Security Labs identified 17 npm packages distributing the Vidar information stealer.
  • These npm packages executed Vidar through post-install scripts, using Telegram and Steam accounts as dead drops for command-and-control servers.
  • Supply chain attacks continue to target open-source registries, emphasizing the need for developer caution.

A Visual Studio Code (VS Code) extension named “susvsex” with built-in ransomware capabilities was uploaded on November 5, 2025. The extension, created with apparent assistance from Artificial Intelligence, automatically compresses, uploads, and encrypts files from designated test directories on Windows and macOS systems. John Tuckner, a security researcher at Secure Annex, flagged the extension, which was quickly removed by Microsoft from the official VS Code Marketplace on November 6. More details on the extension can be found in Tuckner’s report and on the marketplace page.

- Advertisement -

The Malware activates upon specific VS Code events, leveraging a function called “zipUploadAndEncrypt” that archives the target directory, uploads it to a remote server, and replaces files with encrypted versions. The current configuration targets a staging directory, limiting immediate damage. The extension communicates with a private GitHub repository using embedded access tokens, polling for commands in an “index.html” file and submitting results to “requirements.txt.” The repository’s owner, linked to the GitHub account “aykhanmv,” reportedly resides in Baku, Azerbaijan.

Meanwhile, Datadog Security Labs uncovered 17 malicious npm packages disguised as benign software development kits that deliver the Vidar info-stealing malware. These packages, uploaded by users “aartje” and “saliii229911,” were first detected on October 21, 2025, and were removed after about 2,240 downloads. The full list of package names is available in their disclosure.

The attack involves a post-install script in the package.json file that downloads a ZIP archive from a domain linked to malicious activity and runs the Vidar executable within it. Some variants use PowerShell commands embedded in the package.json to initiate the download before passing control to JavaScript code. Vidar 2.0 samples utilize hard-coded Telegram and Steam accounts as dead drop points to locate the command-and-control servers.

Security researchers Tesnim Hamdouni, Ian Kretz, and Sebastian Obregoso noted the variation in post-install scripts might help evade detections, as outlined in their analysis. This case adds to a series of supply chain attacks targeting open-source platforms like npm, PyPI, RubyGems, and Open VSX, underscoring the importance of vetting dependencies, reviewing changelogs, and monitoring for typosquatting or dependency confusion prior to installation.

- Advertisement -

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

Previous Articles:

- Advertisement -

Latest News

Clear Street Prepares $10B-$12B Crypto IPO Led by Goldman Sachs

Clear Street, a New York brokerage, plans a public offering with a valuation between...

BRICS Expands Gold Pact to 33 Nations, Boosts Dollar-Free Trade

The BRICS Gold pact now includes 33 countries aiming to trade precious metals independently...

Bitcoin Treasury Firms Face “Darwinian Phase” Amid Market Downturn

Bitcoin treasury companies face structural challenges as equity prices drop below Bitcoin net asset...

Shiba Inu Whale Withdraws 169B SHIB from Coinbase Sparking Speculation

A whale withdrew 169.13 billion SHIB tokens from Coinbase in six transfers over 17...

Crypto Firms Raise $16M for Hong Kong Tai Po Fire Relief Efforts

Over 30 cryptocurrency firms and fundraising groups have contributed about $16 million to Hong...
- Advertisement -

Must Read

Top 9 Most Legit Bitcoin Faucets

Bitcoin faucets are platforms where you can earn Bitcoin free. Some other faucet apps and websites allow users to receive different cryptocurrencies for free....