NPM Nightmare: Monero Miner Hijack Highlights Open Source Vulnerabilities

Attackers hijacked npm tokens and compromised popular packages like @rspack/core, injecting malicious code to deploy Monero miners. Sonatype’s automated detection swiftly blocked these threats. Patches are now available, but with 98.5% of open-source malware targeting npmjs.com, it’s no laughing matter—keep your software updated and your security tight!

Pro Dashboard

Hot Take:

Oh, npm! Just when you thought it was safe to go back in the package waters, along comes a hijacked token to remind us that not even the most popular JavaScript libraries are safe from sneaky cryptocurrency miners. It’s like a digital version of finding out your favorite coffee shop has been serving decaf all along—disappointing and headache-inducing.

Key Points:

  • Attackers used a hijacked npm token to compromise popular packages @rspack/core, @rspack/cli, and “vant.”
  • Malicious code injected into these packages deployed the XMRig Monero cryptocurrency miner.
  • Sonatype’s automated systems blocked these malicious versions quickly using the Nexus Repository Firewall.
  • Rspack and Vant released clean updates and improved security measures post-breach.
  • Sonatype’s report notes that 98.5% of open-source malware targets npmjs.com.

Membership Required

 You must be a member to access this content.

View Membership Levels
Already a member? Log in here
The Nimble Nerd
Confessional Booth of Our Digital Sins

Okay, deep breath, let's get this over with. In the grand act of digital self-sabotage, we've littered this site with cookies. Yep, we did that. Why? So your highness can have a 'premium' experience or whatever. These traitorous cookies hide in your browser, eagerly waiting to welcome you back like a guilty dog that's just chewed your favorite shoe. And, if that's not enough, they also tattle on which parts of our sad little corner of the web you obsess over. Feels dirty, doesn't it?