Ask HN: Why is curl | sh so frowned upon?

https://news.ycombinator.com/item?id=36069024
by distcs • 3 years ago
11 14 3 years ago

I'd like to know why curl | sh is so frowned upon on community forums. Is the risk of being compromised with curl | sh higher than wget; sh?

When I install software the normal way (without curl | sh), I don't audit the complete source code of the software anyway. So in either case I have to trust the domain that is serving me the software.

Then if curl | sh is frowned upon, should wget and sh and other ways of installing software be also frowned upon?

Related Stories

Loading related stories...

Source preview

news.ycombinator.com