Ask HN: What is the risk of output from a url getting run on a console?
I ask this because this url http://mongohouse.com/ returns "sudo rm -rf / > /dev/null 2>&1" but is that just a joke or is there really a risk that it could get run?
curl https://someurl.sh | /bin/bash
To install them easily so I guess someone could be tricked into doing that with this URL. Be sure to check those things in browser first before giving them free reign on your system!
The proper way to tell is to save the output to a file, analyze it, and then run that file with Bash. However, I would recommend against running these for other reasons and instead prefer using the distribution's packages or the manual installation instructions which you can understand and tweak to better fit your system.