|
|
|
|
|
by theshrike79
1082 days ago
|
|
If I serve you a 2000 line unformatted bash script from an URL and tell you to pipe it to bash, will you do it? Should you do it? Do you have the mental fortitude to format it and go through it line by line looking for possible exploits? It's 100% trivial to have it run rm or shred on all files you have access to while simultaneously printing correct looking install progress messages. |
|
I see how flatpak is an improvement, but I don't see how piping into bash is any worse than "install this .deb file / npm package / pip package." If the package author wanted to do something malicious, it's just as easy (if not easier) to put the malicious code in the package itself rather than a bash installer for the package.