Similarly, however that whitelist of identities is specified becomes another vector, without a lot of PKI
Similarly, however that whitelist of identities is specified becomes another vector, without a lot of PKI
My goal is for readers to match the hash to one on Github so they know the code they're reading there to vet the package is what's on npm. For OSS maintainers, it's an immediate red flag to see a package version published with a hash that was never in the public repo.
This won't certify that the version is blessed by a legitimate author. It just delegates the problem to Github (or their competitors). It doesn't solve the problem of preventing all OSS library-based attacks, but plugs one of the leaks in trust that caused today's failure: that Github->NPM is not checked in any way.
Code signing still allows the fire to spread. What we need to be talking about is how to prevent the spark that starts a fire.