Is it correct to say that the npm-generated provenance counts as SLSA v1 Build L2? #1002
Replies: 3 comments 7 replies
-
That seems reasonable. But still, the SLSA provenance is generated and signed by keys available to the build job itself. At the registry we verify that the provenance matches the content in the X.509 certificate, which makes sure that the content of the provenance is vetted, and if there is a mismatch the publish is not accepted. After successful verification we create a publish attestation, which is a way to signal that the package and provenance was successfully authorized and verified by the registry. |
Beta Was this translation helpful? Give feedback.
-
I think the npm generated provenance counts as SLSA Build L2 when generated on a hosted build platform which ensures the generated provenance is authentic.
|
Beta Was this translation helpful? Give feedback.
-
I think we should clarify this as part of #863. |
Beta Was this translation helpful? Give feedback.
-
Hopefully a quick, clarifying question:
Is it fair to say that, currently, the npm-generated provenance counts as SLSA v1 Build L2 since the predicate is entirely generated in userspace?
Cc @kommendorkapten
Beta Was this translation helpful? Give feedback.
All reactions