A malicious campaign involving 148 npm packages, masquerading as student web proxies, successfully transformed visitors' browsers into a distributed denial-of-service (DDoS) botnet.
This operation persisted for approximately two weeks in May, as detailed in recent research from JFrog. The attackers specifically targeted end-users visiting the proxy sites rather than developers who might install the compromised packages.
JFrog's analysis revealed that the operators exploited the npm registry as a free hosting platform for a booby-trapped proxy website. This allowed them to lure students seeking to bypass internet restrictions. Once a user visited the malicious proxy site, their browser was reportedly enlisted into the botnet, contributing to DDoS attacks against unspecified targets. The research did not specify the exact nature of the targets or the scale of the botnet's capacity.
The campaign's discovery highlights ongoing threats within the open-source software supply chain. While the npm registry is a vital resource for developers, it can also be a vector for malicious activities if not adequately monitored. JFrog's security team identified and reported the malicious packages, leading to their removal from the registry. The incident underscores the importance of continuous vigilance and security practices for both package maintainers and users within the JavaScript ecosystem.
Sources and references
Original report
148 npm Packages Disguised as Student Proxies Turned Browsers Into a DDoS Botnet
The Hacker News
Read on The Hacker News (opens in a new tab)Ref 00WASKN5
Follow this story
Get Cybersecurity in your inbox — new stories in 40 words or fewer, once a week.
Subscribe