Cybersecurity researchers have once again found (and eradicated) malicious npm packages, this time delivering ransomware and password-stealing trojans on unsuspecting users.
“These typosquatting packages mimic noblox.js, a popular Roblox game API wrapper that exists on npm as both a standalone package, along with legitimate variants such as noblox.js-proxied (ending in ‘d’ not ‘s’),” shares Sonatype’s security researcher, Juan Aguirre.
We're looking at how our readers use VPNs with streaming sites like Netflix so we can improve our content and offer better advice. This survey won't take more than 60 seconds of your time, and we'd hugely appreciate if you'd share your experiences with us.
A sinister prank?
Analysis of the malicious libraries has revealed that their authors had stuffed them with malware, the MBRLocker ransomware that impersonates the notorious GoldenEye ransomware, a password stealing trojan, as well as a spooky video.
Aguirre points out that the two typosquatting libraries couldn’t do any real damage since they were caught not long after they were uploaded, though they still managed to clock 281 and 106 downloads respectively.
“...but it’s clear what type of scale the threat actors were hoping for going after such a popular component,” notes Aguirre.
Interestingly, this attempt to deliver ransomware comes just a few days after Sonatype researchers had uncovered an audacious attempt by threat actors to hijack the account of the developer of the widely used UAParser.js library to replace the legitimate code with malicious one infused with malware and trojans.
While Sonatype believes the fake roblox libraries were probably planted as a prank, the incident is a further indication that adversaries aren’t going to stop abusing popular open source repositories anytime soon.