News for hackers. Stuff that matters.
Re:How to build an NPM worm by pvg on Friday July 13, 2018 @01:12AM (#17520662)
I think in this particular case, the user's npm credentials were compromised. In a system where you have separate and independent credentials for generating a valid package and for publishing, this specific attack might have failed.

Clicking your heels three times and saying 'GPG', of course, doesn't fix much.

Re:How to build an NPM worm by raggi on Friday July 13, 2018 @01:19AM (#17520682)
Once you identify a privileged user like this reusing credentials the steps to rooting their box and stealing everything else aren't far away. In this case it wasn't needed, but in any case the threat model and recovery model for packages remains unchanged and my recommendation stands.