logoalt Hacker News

Gigachadtoday at 12:44 AM3 repliesview on HN

On linux realistically whatever user you installed the malicious NPM package with has access to everything you care about anyway.


Replies

silon42today at 9:53 AM

I had an idea to always run 2 users, the "main" one (or more) and a "project one"... one could sudo to the project user, but that one could not sudo out... (npm would only be installed for the project user).

lrvicktoday at 1:40 AM

Every user, since privesc is so easy on most operating systems.

show 1 reply