logoalt Hacker News

eiopa • today at 4:35 AM • 1 reply • view on HN

Yeah I am not a fan of curl bash either, but installing via most package managers (brew, npm etc) isn’t much better, since most of these skip sandboxing rn.

Maybe I am missing something, but the second you run the code, it has the same powers and risk profile as a bash curled from the internet. Maybe something about having explicit versioning?

(as an aside, I think this will change very soon…)


Replies

mikemcquaid • today at 6:24 AM

Homebrew is heavily sandboxed and has been using the macOS sandbox for the best part of a decade, long before many other package managers did.

We also offer a .pkg installer and other installation options so curl | bash not needed for install that either.

➕ show 1 reply