FRSCA: Factory for Repeatable Secure Creation of Artifacts provides a simple-to-install solution that aims to help secure the supply chain by building secure pipelines. It also provides abstractions and definitions with security guardrails ensuring all builds follow supply chain security best practices.
GUAC: Graph for Understanding Artifact Composition leverages metadata to provide deeper visibility and enable users to quickly understand security issues throughout the software supply chain, their blast radius, and how to remediate their root causes. Learn more as we build this out in the open source with our blog article.
https://www.kusari.dev/products/securesupplychain/
See also: https://slsa.dev/
That sounds like some combination of Crev[0], Sigstore[1], and Trillian[2].
[0] https://github.com/crev-dev/cargo-crev/blob/master/cargo-cre...
Not familiar with Python's ecosystem at all, but judging from this commit[1] it doesn't seem to have anything it(?)
[1]: https://github.com/pytorch/pytorch/commit/bc92444b34dfbe3841...
Regardless - I want to be protected even when the Author of the package themselves is compromised (either by their tokens being stolen or them manually compromising the project)
1. https://github.com/ossillate-inc/packj flags malicious/risky packages.
Regarding manually reviewing software, it would be very easy to create a malicious majority of verifiers who certify malware, because malicious “verification“ takes much less resources than truthful verification. Rather than verifiers being payed, verifiers would need to themselves pay for the right to verify, in order to throttle malicious “verification”.
But realistically, you need verifiers that you trust in the first place, and if those exist, digital signatures are sufficient.
Then npm/pypi/cargo/whatever are given a list of the parties you trust and the number of certifications each bit needs before it can be downloaded.
Edit: of all the responses, none provide any mechanism for the software-verifier to be compensated. Says a lot about how much we value that kind of work as an industry.