Databricks analyzes 5,400 malicious npm packages
Understand this story
Databricks analyzed approximately 5,400 confirmed malicious npm packages from December 2025 to October 2026, finding that attacker-created malicious packages accounted for 89% of the count but only 0.2% of related downloads; compromised legitimate packages accounted for only 7% but more than 99% of downloads. This batch of packages was published in the first year after npm revoked long-lived authentication tokens. According to Databricks' statistics, the main spread of supply chain risk is concentrated in a small number of compromised legitimate packages rather than a large number of self-created packages.
AI overview based on source reports · Updated 58 min ago
Coverage timeline
Follow the coverage to explore different perspectives.
- Databricks BlogWhat 5,400 Malicious npm Packages Reveal about Software Supply Chain Risk in 2026
An analysis of roughly 5,400 confirmed malicious npm packages published between December 2025 and October 2026 finds that attacker-created packages make up 89% of the set but only 0.2% of recorded downloads, while compromised legitimate packages are 7% of the set and over 99% of downloads. The report also describes a shift from stolen tokens to compromised build pipelines via OIDC trusted publishing, attacker reliance on legitimate shared services such as Cloudflare Workers and chat-platform webhooks, and a class of packages targeting AI development tooling including MCP servers and assistant configuration files. It reports that 87% of packages have a public advisory (median 1.7 days for unattributed packages) while registry takedowns follow at a median of 7 days, and that 37% of attacker-created packages were unpublished by their own publishers at a median of seven hours.
Activity for this story
Not enough continuous observations to show a trend yet.