Re:Understand filesystem takeover vulnerabilities in NPM Jav...
by inimino on Friday January 10, 2020 @12:27AM
(#22008539)
Yes, and then the question is, should you be putting programs you don't trust at all in your PATH?
[ Parent
| on HN ]
Re:Understand filesystem takeover vulnerabilities in NPM Jav...
by tomxor on Friday January 10, 2020 @04:52PM
(#22015996)
Yes, if i trust them enough to add and not replace binaries.
Re:Understand filesystem takeover vulnerabilities in NPM Jav...
by inimino on Sunday January 12, 2020 @10:25PM
(#22031579)
But once you run any of those binaries, it's free to replace any of your other (non-root-owned) binaries in `~/.local`. So the trust you're talking about seems to be a preference, but I don't think there's any particularly plausible threat model that makes one of these safer than the other.