NPM Nightmare: Popular Packages Turn Cryptomining Culprits in Sneaky Supply Chain Attack

In a twist worthy of a cybersecurity sitcom, the popular npm packages @rspack/core, @rspack/cli, and Vant were hijacked, turning unwitting users into Monero miners. These cryptomining antics were foiled by diligent researchers, leaving developers scrambling to patch their packages and issue heartfelt apologies to their now slightly warmer community.

Pro Dashboard

Hot Take:

Well, it seems like even JavaScript bundlers and UI libraries can’t escape the allure of cryptocurrency bling. Who knew the npm package you downloaded for your latest mobile app might just be moonlighting as a Monero miner? Next time you see your CPU fan going into overdrive, it might not be your video editing software — it could just be a sneaky npm package making a little extra cash on the side!

Key Points:

  • Three npm packages — @rspack/core, @rspack/cli, and Vant — were compromised, allowing malicious versions to install cryptominers.
  • The attack was recognized by Sonatype and Socket researchers, who identified the exploitation of stolen npm account tokens.
  • The malware executed using npm’s postinstall script, fetching instructions from an external server and mining Monero cryptocurrency.
  • Compromised package versions were swiftly addressed with new, clean releases after the breaches were discovered.
  • This incident adds to a growing list of supply chain attacks targeting cryptocurrency through software vulnerabilities.

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?