News for hackers. Stuff that matters.
Re:Backdoor in event-stream library dependency by nneonneo on Monday November 26, 2018 @05:51PM (#18537593)
When I visit a random website, it is very hard for that website to compromise my computer or my private data. The only really viable way is a zero-day in my browser, or deception (e.g. phishing, malicious download).

When I install an app on my iPhone, it is very very hard for that app to compromise my phone or my private data.

In both of these cases, I can download and run almost any code, and be fairly confident that it won't significantly harm me. Why? Because they're extremely locked down and sandboxed with a high degree of isolation. On the other hand, if I install random software on my desktop computer, or random packages off NPM, I don't have such safety any more.

The prevalence of app stores and the Web itself speaks to the fact that it _is_ possible to trust random strangers without opening yourself up to a big security risk.

Re:Backdoor in event-stream library dependency by 83457 on Monday November 26, 2018 @09:50PM (#18538920)
I think what you just described are platforms where you don't have to trust strangers.
Re:Backdoor in event-stream library dependency by swsieber on Monday November 26, 2018 @10:13PM (#18539022)
Yes, and I think they meant to. Node isn't one of those.

Edit: partially because of design decisions around package permissions.

Re:Backdoor in event-stream library dependency by jonknee on Tuesday November 27, 2018 @11:23AM (#18543645)
What does that have to do with development? My point was nearly everyone uses libraries that are written by strangers from the internet. It mostly works.