Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align with SLSA3+ for verifiable provenance #32

Open
achrinza opened this issue Sep 3, 2022 · 1 comment
Open

Align with SLSA3+ for verifiable provenance #32

achrinza opened this issue Sep 3, 2022 · 1 comment

Comments

@achrinza
Copy link
Member Author

achrinza commented Nov 19, 2023

There are three ways to achieve SLSA levels of assurance:

Method SLSA Security Level SLSA Provenance Statement Version Accepted by NPM Registry? Status
Standalone npm provenance Build L2 v1.0 Yes Stable
SLSA Node.js Builder Build L3 v0.2 Yes Beta
GitHub Artifact Attestation Build L2 ??? ??? ???

SLSA Build L2 vs L3

SLSA Build L2 only guarantees the authenticity of subject of the provenance document - This means that we can only guarantee that the provenance was created within a Github-hosted runner, but we can't guarantee that the contents of the provenance is accurate. This meaans that L2 is useful for preventing post-build tamper, but not during-build tamper.

SLSA Build L3 extends L2 by enforcing during-build tamper through a security boundary. This makes the provenance unforgeable.

Standalone npm provenance

#TODO

SLSA Node.js Builder

This is an "official" builder which is builds on the BYOB framework.

Limitations

GitHub Artifact Attestation

#TODO
see: slsa-framework/slsa-github-generator#3618 (comment)

General Limitations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Icebox
Development

No branches or pull requests

1 participant