Live data from Hacker News

You too can run malware from NPM (I mean without consequences)

github.com

1–10 of 122 posts

Re: You too can run malware from NPM (I mean without consequences)

#5
post #3

npm should take responsibility and up their game here. It’s possible to analyze the code and mark it as suspicious and delay the publish for stuff like this. It should prevent publishing code like this even if I have a gun to my head

I think malware check should be opt-in for package authors, but provide some kind of 'verified' badge to the package.

Edit: typo

Re: You too can run malware from NPM (I mean without consequences)

#7
post #3

npm should take responsibility and up their game here. It’s possible to analyze the code and mark it as suspicious and delay the publish for stuff like this. It should prevent publishing code like this even if I have a gun to my head

i can guarantee you npm will externalize the cost of false-positive malware scans to package authors.
Post reply on HN