Which is what we are building with Asset Transparency to provide a public transparency log backed database of URL content digests.
https://www.transparencylog.com
We have started to build tools for integrating into release pipelines too:
https://www.transparencylog.com/software-release-process-int...
I think it would be great to see package management systems use things like this. Go already does.
If anyone wants to get started quickly checkout our CLI tool: