Ok, if you feel so strongly about it, then before you paste the link into your terminal and hit enter to execute it, how about you uh... open the shell script it will execute in your browser and read the contents of it?
You use this idea that people are executing stuff they don't know and blaming the tools for it but don't think to read the script yourself?
As an FYI - unless the script is on a site like GitHub (which you can assume to be behaving truthfully), it's possible for a server to respond differently according to the user agent, allowing a malicious file to be served if it's downloaded via `curl` or `wget`.
wget -q https://get.coollabs.io/coolify/install.sh -O install.sh; sudo bash ./install.sh
to wget -q https://get.coollabs.io/coolify/install.sh -O install.sh; cat install.sh
Once the script is locally on your file system there is no way to change the contents.The fact that the software was signed doesn't mean anything if you don't actually verify each signature, and even then it only means that what they put up is what you downloaded. It doesn't mean it's not malware. It doesn't mean it doesn't have a back door. It doesn't mean it's not filled with security holes.
Do you also verify each line of software you install? If you trust the author of certain software, why do you mistrust their install script?
It should be viewed in the same way that a package author on NPM or PyPI may publish a malicious package, either themselves or via their account being compromised. It's not particularly common, but nor is it impossible and could present a good targe.
specifically? Specifically: they are even WORSE from a security standpoint because you don't have the option of "personally verifying each line". Just because someone's stuck it in a nice easy-to-install package doesn't mean it's not a virus / malware / whatever.
are you suggesting that you read the source code of every app / tool you download before you execute it? If not, hello... pot. kettle?
Or those awful programs that give you a stub when you try to download the app, only to download the actual payload to, again, god-knows-where.
Or even worse, packaging your app in a docker container!
Seriously people, give a CURL-compatible URL to your actual payload and then get the hell out of the way
No one should be running that without personally verifying each line. What if I want to uninstall it? (I haven’t looked at this script) but many don’t effectively clean up properly after uninstalling, as that’s an afterthought.
What is specifically wrong with the dozens of existing packaging solutions we already have?