TanStack shipped a postmortem for the 42-package npm compromise. Here is what every project should change this week.
TanStack has released a postmortem detailing a recent npm compromise involving 42 packages. An attacker published 84 malicious versions by hijacking the build pipeline, which raised concerns about supply chain security. The incident highlights the need for projects to reassess their security practices and implement recommended changes.
- ▪On May 11, 2026, an attacker published 84 malicious versions across 42 packages in the @tanstack scope.
- ▪The attack was detected by an external researcher within six minutes, leading to the deprecation of the malicious versions shortly after.
- ▪The incident is notable for being the first documented case of a malicious npm package carrying valid SLSA provenance.
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3592860) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } GDS K S Posted on May 29 TanStack shipped a postmortem for the 42-package npm compromise. Here is what every project should change this week. #javascript #security #webdev #tutorial TanStack shipped a postmortem for the 42-package npm compromise. Here is what every project should change this week. On May 11, 2026, between 19:20 and 19:26 UTC, an attacker published 84 malicious versions across 42 packages in the @tanstack scope.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).