logoalt Hacker News

_3u10last Wednesday at 6:28 AM1 replyview on HN

I’ve never seen code that is downloaded run itself. Why not be the change you want to see in the world and run sudo or spawn your browser in a jail. Or download as another user.


Replies

endymi0nlast Wednesday at 6:53 AM

Welcome to npm post-install scripts... https://docs.npmjs.com/cli/v11/using-npm/scripts

show 2 replies