curl https://project.com/script.sh | sh
...you're relying on three things:1. That the people running the project are trustworthy
2. That the server hasn't been compromised
3. That the CA system will ensure you're talking to the correct server
(I can think of recent news stories where each of those were violated.)
If, instead, you go to `https://project.com`, read the instructions, and paste in the following command...
curl https://project.com/script.sh | hashpipe <somehash> | sh
..then you're relying on those same three things! Someone who wants to serve a modified version of `script.sh` just has to serve modified instructions as well. You also have a new requirement: you have to get a trusted install of hashpipe first.