Description
For some scenarios it might be necessary to verify a language ecosystem's package name (or other metadata) which requires inspecting the contents of the package artifact(tarball) itself.
For example, npm package provenance references the artifact by package name. The subject of the in-toto attestation is a purl referencing the package name with a sha512 of the package tarball.
If you run npm install package.tgz
it will install the package with the name in the package.json
metadata located inside the tarball. This could open users up to attacks where users think they are downloading and verifying package A but are in reality installing (and potentially overwriting) package B.
What should a SLSA verifier do (if anything) in this case? If verification is checking the source code repo, is that good enough?
Metadata
Metadata
Assignees
Type
Projects
Status