by NovemberWhiskey · 4y ago · 0 comments
If the script is deliberately malicious as originally published, then the publisher will provide a valid checksum; so it doesn't help.
If the script source is subverted by an attacker, then it only helps if the attacker doesn't also have the means to change the published checksum too.
If an attacker can modify the site which publishes the URL for the script and the checksum, they can modify both at the same time.
However I'm still not sure it really makes sense. Do you also manually review the code of the binaries that the bash scripts download?
is that much different than just storing the verified copies of the scripts?