Please stop piping curl(1) to sh(1)
output.chrissnell.com
output.chrissnell.com
Or what about places that give you a Yum repo to install
cd /etc/yum.repos.d/
wget http://download.opensuse.org/repositories/isv:ownCloud:devel...
yum install owncloud-client
It's all the same to me. A user is just saying "I trust you enough to run this thing or this system isn't that important to me so the risk is acceptable".
I'd argue the Yum way is even more dangerous because if bad stuff isn't sent down now, an update could cause bad stuff to be installed in a month during a yum update. That's much harder to catch.
The shell script prematurely terminating isn't really a security concern and could be fixed by downloading and running the script separately.
I guess my argument is that if you don't trust the source, don't install the application without looking through the code or running through some analysis software.
I would say that sites that tell users to install software in this fashion should warn them about the dangers so people can make informed decisions.
a signed or checksummed package is a completely different matter entirely. no, it's not foolproof. yes, it takes knowledge to verify. but it's much better than just running executable code straight off the web.
A fun and educational game that demonstrates why you shouldn't do this: http://russianroulette.sh/
curl ... | gpg-check-pipe | sh
Hey, that someone could be me :-0