What 5,400 malicious NPM packages reveal about supply chain risk in 2026
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Summary
Databricks analyzed about 5,400 confirmed malicious npm packages published from December 2025 to October 2026. Attacker-created packages are 89% of the set but 0.2% of downloads, while compromised legitimate packages are 7% and over 99%. Of packages published through trusted publishing, 85% are compromises, which points to attacks on build pipelines. Only 54% declare install scripts, and 38% contact legitimate shared services. The registry takedown has a median of 7 days, and 16% remain installable. Most figures come from Databricks' own scanner and are not independently sourced.