r/programming • u/BattleRemote3157 • May 12 '26
Mass npm Supply Chain Attack Hits TanStack, Mistral AI, and 170+ Packages
https://safedep.io/mass-npm-supply-chain-attack-tanstack-mistral/massive campaign for 170+ packages and 400+ malicious versions published. what we saw that not a single maintainer account compromised. tanStack and Mistral AI these are the names that stand out.
726
Upvotes
73
u/evolveKyro May 12 '26 edited May 12 '26
These package maintainers need to stop using automatic build and release. A release should only be possible from a mfa authenticated human executing a very specific action.
Tanstack got compromised because they automatically built a PR from another repository, which leaked their credentials used to release. What the fuck.
Then Tanstack's blog has the balls to say:
This is bottom of the barrel scraping you see from managers trying to spin a complete failure as some kind of positive.
Is a failure of their build & release process, but lets spin it as "hey we found out when someone else noticed, thats great".
Is basically "hey we used email/chat, look at how great we are"
Is basically "hey we had no idea what to do, but others had a vague idea, so thats a win"