Npm install could be dangerous
github.com
Npm install could be dangerous
1–10 of 100 posts
Re: Npm install could be dangerous
#2Re: Npm install could be dangerous
#3Re: Npm install could be dangerous
#4Re: Npm install could be dangerous
#5It's not just Npm, RubyGems has essentially the same issue. I think the real lesson is "be careful what you install".
Re: Npm install could be dangerous
#6Re: Npm install could be dangerous
#7That's why it's important to have end-to-end package signing with a reasonable UI, so people can choose to selectively trust the sources they need and get alerted before new dependencies get pulled in.
Sadly I don't know of any pkg manager that implements this correctly.
Re: Npm install could be dangerous
#8Somehow I feel like using something that just simulates rm -rf /* would have brought the point across just as well and a bit safer...
Re: Npm install could be dangerous
#9dangerous.com appears to be a saucy outfits retailer. Irrespective of the name, piping the html to sh is probably fine.
Re: Npm install could be dangerous
#10And of course, most things like npm either dont support this or dont support it well, or nobody cares about it