3 ms·
Why do you need Spectre for that? Just install backdoor. It's not like someone runs npm from restricted user.
by vbezhenar 7y ago
Why do you need Spectre for that? Just install backdoor. It's not like someone runs npm from restricted user.
- scurvy 7y agoI thought it was standard practice for framework package managers to run as non privileged users and install binaries in local dirs.
- vbezhenar 7y agoNever 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.