Over 67,000 Fake npm Packages Flood Registry in Worm-Like Spam Attack
Source The Hacker News
Rated by Threat Radar
Data as of 20 Nov 2025, 02:24 UTC
What to do
AI-suggested
European organizations should implement advanced package vetting processes that include manual and automated analysis of package contents beyond installation scripts, focusing on dormant scripts requiring manual execution. CI/CD pipelines should avoid wildcard execution of JavaScript files (e.g., avoid commands like 'node *.js') to prevent accidental triggering of malicious scripts. Security teams should monitor dependency trees for unusual or rapidly proliferating packages, especially those with suspicious naming patterns or interdependencies. Employing internal mirrors or proxies for npm packages can help control and audit external dependencies before integration. Organizations should collaborate with npm and GitHub to report suspicious packages and stay updated on threat intelligence related to supply chain attacks. Enhancing developer awareness about the risks of running arbitrary scripts from packages and scrutinizing README instructions is critical. Finally, security tooling should evolve to detect dormant malicious code patterns and worm-like propagation behaviors, incorporating behavioral analytics and anomaly detection to identify large-scale spam campaigns early.
Description
Cybersecurity researchers are calling attention to a large-scale spam campaign that has flooded the npm registry with thousands of fake packages since early 2024 as part of a likely financially motivated effort. "The packages were systematically published over an extended period, flooding the npm registry with junk packages that survived in the ecosystem for almost two years," Endor Labs