News for hackers. Stuff that matters.
Re:Defeating the NPM Worm by csense on Saturday April 23, 2016 @06:52PM (#11557763)
This is why I every time I install something that uses NPM, I create a dedicated user account for it.

Although even if NPM scripts only have access to files they need to access, the damage is bad enough (e.g. if some malicious dependency of a dependency of a dependency checks if it can find a DOM and if so siphon off a copy of every password field to the attacker, every user of your website has just been compromised even if your server's /usr/bin directory is safe).

Re:Defeating the NPM Worm by feduzi on Wednesday April 27, 2016 @06:52PM (#11585247)
A dedicated user account... wow (https://www.exploit-db.com/local/).

In this amount of software people build and considering that really 90% of it is total crap, we'll never be secure unless we really be picky with what we use. But that does not work with our lazy nature and all that things about bicycles you hear (like not to invent one; why would I do something by myself if I can just use someone's else solution... duhhh).

We need better quality in our software, so we can trust it.