Podcast Reviews npm Package Attacks and a Poisoned VS Code Extension

· Original article ↗

Summary

The episode discusses malicious npm packages linked to DPRK and TeamPCP, a poisoned Nx Console extension that exposed GitHub repositories, and npm’s staged-publishing feature, including its potential benefits and limitations.

Key points

  • The hosts say npm staged publishing adds an interactive human approval step, but it is enabled per package and may not help single-maintainer projects.
  • A researcher linked three npm packages to the threat actor behind the March Axios compromise; the packages were reportedly harvesting developer credentials since early April.
  • Two npm maintainers were reportedly compromised, enabling TeamPCP to publish more than 600 malicious versions; one maintainer managed over 540 packages.
  • The malicious package payloads appeared to contain Mini Shai-Hulud content, but the hosts said they had not been fully analyzed.
  • A compromised Nx developer account was used to publish a poisoned Nx Console VS Code extension after a TanStack-related theft of a GitHub CLI OAuth token.
  • A GitHub employee installed the extension; GitHub estimated about 3,800 exposed repositories, while the hosts discussed uncertainty about the extension’s availability window.
  • The hosts also discussed a CISA repository described as private that was not private, emphasizing secrets visibility, credential rotation, and repository-permission controls.

Article Details

Event Type
Multiple supply-chain compromises involving malicious npm packages and a poisoned VS Code extension, including credential theft and compromise of developer and maintainer accounts.
Impact
Three npm packages linked to the March Axios compromise reportedly harvested developer credentials from early April. TeamPCP published more than 600 malicious package versions after compromising two npm maintainers; three affected packages had more than 5 million weekly downloads. A malicious Nx Console extension published on May 18 was consumed by a GitHub employee after a developer’s GitHub CLI OAuth token was stolen through the TanStack compromise on May 11. GitHub estimated that approximately 3,800 repositories were exposed; the speakers also mentioned estimates of up to 5,000. The extension was removed from the Visual Studio Marketplace and OpenVSX, though a speaker said it remained obtainable through a CDN or other means beyond the stated removal window.

People

Threat Actors

Malware

Vendors

Products

Tools

Countries

Related Articles