Hacker News new | ask | show | jobs
by zobzu 4159 days ago
awareness for this is always good many now just have scripts doing curl blah | sudo and expecting the blah url will always serve the content they expect. signed versions seems to be the current best way to not have problems, even thus its not perfect.

And of course, most things like npm either dont support this or dont support it well, or nobody cares about it

1 comments

The good part about npm is that if you run it as `sudo` it will de-authenticate when it's running any script in it's package files. So at least those won't be run with sudo permission.