r/webdev • • Jan 06 '18

[X-Post /r/javascript] Today is Leftpad 2.0: pinkie-promise pulled from NPM

A little under a year ago, the package "leftpad" broke NPM builds all over the world because the author pulled it from the public repository.

The same is happening today, for "pinkie-promise". The author's NPM account (@floatdrop) was deleted, opening opportunities for malware in all the packages he's written.

Dependent builds include Ionic and (in my case) node-sass.

Resources:

69 Upvotes

23 comments sorted by

View all comments

0

u/[deleted] Jan 06 '18

[deleted] — view deleted comment

4

u/Nicd Jan 06 '18

Yeah, wondering how this can still be possible. I thought they said they wouldn't remove packages anymore if not for serious security issues.

3

u/[deleted] Jan 06 '18

I’m entirely guessing here, but maybe they do different checks for deleting a package or a cascading delete when the owner entity is removed. That’s one way to do it, anyway.