When downloading files (mainly software/installers) from pages in browsers, sometimes it comes also with a cryptographic hash or a signature to verify the authenticity of a file against data manipulation (example below).
Why there isn't something that automatically says to the browser "Hey, this is the link to download the file and this is the link to download the signature, download both and check its authenticity"?
Is there a vulnerability issue?
And if there exists some extension or something else that does this, please tell me.
It would be really nice to have something that automatically checks the integrity and authenticity of downloaded files.


subresource integrity(SRI) to prevent this very type of attack (although only for script files and stylesheet files, and not downloadable files). I think the OP is asking if there is an automated method for verifying the integrity of downloadable files, similar what we have with SRI for script and stylesheet files. – mti2935 Jan 02 '21 at 21:27