I’ve been out of the loop with npm for a while, but are there still no package namespaces?
You too can run malware from NPM (I mean without consequences)
61–70 of 122 posts
Re: You too can run malware from NPM (I mean without consequences)
#62Earlier quoted context omitted.
Huh. I read TFA in detail (and shared with my team), but I didn’t see any analysis. (?)
It seems to be this: https://intel.arkm.com/explorer/entity/61fbc095-f19b-479d-a0... 500 USD, not bad for a month of work if the author is from a 3rd world country.
"Developing" or "poor" country may be a more accurate phrase.
Re: You too can run malware from NPM (I mean without consequences)
#63Earlier quoted context omitted.
I think malware check should be opt-in for package authors, but provide some kind of 'verified' badge to the package. Edit: typo
I always thought this would be the ideal monetization path for NPM; enterprises pay them, NPM only supplies verified package releases, ideally delayed by hours/days after release so that anything that slips through the cracks has a chance to get caught.
Re: You too can run malware from NPM (I mean without consequences)
#64Earlier quoted context omitted.
I think most people are fine with promoting a cool project you work on, but it's best practice to disclose that in the article. Even something like "If your project was set up with LavaMoat (a project I've been working on), ..." would be enough. I think that's why they made the comment.
Yup, and thanks - I should have made the comment myself but got distracted.
Re: You too can run malware from NPM (I mean without consequences)
#65Re: You too can run malware from NPM (I mean without consequences)
#66Earlier quoted context omitted.
“within hours” is at least one hour too late, and most likely multiple hours.
Absolutely not. you get npm packages by pulling not them pushing them to you as soon as a new version exist. The likelyhood of you updating instantly is close to zero and if not, you should set your stuff up so that it is. Many ways to do that. Even better if compared to a month or two - which is how long it often takes for a researcher to find a carefully planted malware. Anyway, the case where reactive tools (detec…
Re: You too can run malware from NPM (I mean without consequences)
#67npm 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
I would worry that that results in a false sense of security. Even if the actual badge says "passes some heuristics that catch only the most obvious malicious code", many people will read "totally 100% safe, please use with reckless abandon".
Re: You too can run malware from NPM (I mean without consequences)
#68npm 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
Or at a minimum support yubikey for 2fa.
Re: You too can run malware from NPM (I mean without consequences)
#69I’ve been out of the loop with npm for a while, but are there still no package namespaces?