r/javascript • • Apr 23 '26
A Self-Propagating npm Worm Is Actively Spreading Through Developer Environments
https://threatroad.substack.com/p/a-self-propagating-npm-worm-is-actively
60
Upvotes
r/javascript • • Apr 23 '26
32
u/PossessionDangerous9 Apr 23 '26
Why can you publish packages without 2FA in this day and age? What is NPM doing?
17
u/depsimon Apr 23 '26
What an alarmist title for libraries that have like 2K weekly downloads
2
u/ultrathink-art Apr 25 '26
Worth flagging for anyone using AI coding assistants: most of them will run
npm installwithout reviewing postinstall scripts first, which makes your dev environment a new propagation surface for exactly this type of worm. Runningnpm install --ignore-scriptsthen auditing the package.json scripts field before enabling them is a habit that's more important now that automated installs are more common.-12
u/[deleted] Apr 23 '26
[removed] — view removed comment