Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why do you need Spectre for that? Just install backdoor. It's not like someone runs npm from restricted user.


I thought it was standard practice for framework package managers to run as non privileged users and install binaries in local dirs.


Never saw that. You're typing npm install and npm runs under your current user (probably not root, but who cares about root when valueable data belongs to you, not root) and runs any package install scripts it just downloaded from npm website. There's no separate user to run npm, at least in default installs.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: