What 5,400 Malicious npm Packages Reveal about Software Supply Chain Risk in 2026
A Databricks review of about 5,400 malicious npm packages from the past year found that compromised legitimate packages made up only 7% of the set but more than 99% of downloads. After npm revoked long-lived tokens, attackers shifted to compromising CI pipelines and publishing through OIDC trusted publishing, and 38% of packages hid command-and-control traffic in legitimate services such as Cloudflare Workers and Discord webhooks. The registry took a median of seven days to remove malicious packages.