01What is DSSE Attestation Viewer?
Build systems such as GitHub Actions and Sigstore clients attach attestations to release artifacts. An attestation is a signed claim about a file, such as how it was built. The claim is wrapped in a DSSE envelope and its contents are base64 encoded, so opening the JSON tells you very little. This viewer decodes the envelope and lays out what it says. A DSSE envelope has three parts: payloadType, payload and signatures. The payload is the base64 encoding of the signed bytes. Each signature holds a sig value and may hold a keyid hint. The tool accepts a bare envelope, a Sigstore bundle with a dsseEnvelope field, or a JSON Lines file, where it reads the first line and tells you so. It reports the bundle mediaType when there is one, the payload size in bytes, and every signature. When the payload is an in-toto Statement, the tool lists its _type, predicateType and each subject with its digests. For SLSA provenance v1, with predicateType https://slsa.dev/provenance/v1, it picks out buildType, builder.id, externalParameters, internalParameters, resolvedDependencies, invocationId, startedOn and finishedOn. Older SLSA v0.2 predicates get a shorter view of builder.id, buildType, invocation and materials. The full decoded payload sits below the summary as formatted JSON. The tool also shows the PAE string. DSSE does not sign the payload directly. It signs the pre-authentication encoding: the text DSSEv1, then the byte length of payloadType, the payloadType itself, the byte length of the payload and the payload, each separated by one space. Lengths count bytes, not characters. Seeing this string helps when a verifier you wrote rejects a signature that other tools accept. For example, an envelope whose payloadType is http://example.com/HelloWorld and whose payload is hello world produces the PAE DSSEv1 29 http://example.com/HelloWorld 11 hello world. The built-in SLSA sample is 703 bytes, so its PAE starts with DSSEv1 28 application/vnd.in-toto+json 703. The tool does not verify signatures, certificates or transparency log entries, and it does not check that subject digests match any file. Use cosign, the GitHub CLI or another Sigstore client for that. It does warn when the payloadType does not match an in-toto payload, when there are no subjects, and when the envelope has no signatures. It stops with a clear message when a bundle holds a plain message signature, or when you paste a bare in-toto Statement with no envelope around it. Decoding happens in your browser.
Release engineers, security reviewers and developers who need to read build provenance attached to software artifacts. The tool runs entirely in your browser, so your data never leaves your device.
02How to use DSSE Attestation Viewer
- Download or copy the attestation JSON, either a DSSE envelope or a Sigstore bundle
- Paste it into the input box
- Read the envelope panel for payloadType, signatures, predicateType and subjects
- Check the SLSA provenance panel for builder and source details
- Copy the decoded payload or the PAE string if you need them elsewhere
03Worked examples
- Input:
{"payloadType":"http://example.com/HelloWorld","payload":"aGVsbG8gd29ybGQ=","signatures":[{"keyid":"","sig":"MEUCIQ..."}]} - Result:
payloadType: http://example.com/HelloWorld Payload size: 11 bytes PAE: DSSEv1 29 http://example.com/HelloWorld 11 hello world - Not an in-toto payload, so there is no Statement panel.
- Input:
Sigstore bundle v0.3 wrapping a DSSE envelope whose payload is an in-toto Statement v1 with SLSA provenance v1 - Result:
Source: Sigstore bundle (application/vnd.dev.sigstore.bundle.v0.3+json) predicateType: https://slsa.dev/provenance/v1 Subjects: app.tar.gz sha256:a1b2c3 buildType: https://slsa-framework.github.io/github-actions-buildtypes/workflow/v1 builder.id: https://github.com/actions/runner/github-hosted resolvedDependencies: 1: git+https://github.com/example/app@refs/heads/main metadata.invocationId: https://github.com/example/app/actions/runs/1/attempts/1 PAE: DSSEv1 28 application/vnd.in-toto+json 703 {"_type":... - externalParameters omitted here for length; PAE trimmed.
- Input:
DSSE envelope with an in-toto Statement v0.1 and SLSA provenance v0.2 for pkg-1.2.0.tgz - Result:
predicateType: https://slsa.dev/provenance/v0.2 Subjects: pkg-1.2.0.tgz sha512:9f86d081884c7d65 builder.id: https://github.com/slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@refs/tags/v1.9.0 buildType: https://github.com/slsa-framework/slsa-github-generator/generic@v1 materials: 1: git+https://github.com/example/pkg@refs/tags/v1.2.0 Payload size: 645 bytes - The v0.2 view shows invocation and materials instead of buildDefinition. Invocation omitted here.
- Input:
Envelope with payloadType application/json holding an in-toto Statement with an empty subject list - Result:
Warning: payloadType is "application/json"; in-toto Statements use "application/vnd.in-toto+json". Warning: Statement has no subjects. PAE: DSSEv1 16 application/json 137 ... - The payload still decodes; the warnings flag what a verifier policy would likely reject.
- Input:
{"mediaType":"application/vnd.dev.sigstore.bundle.v0.3+json","verificationMaterial":{},"messageSignature":{}} - Result:
Error: This Sigstore bundle holds a messageSignature, not a DSSE envelope, so there is no payload to decode. - Input:
{"_type":"https://in-toto.io/Statement/v1","subject":[]} - Result:
Error: This looks like a bare in-toto Statement, not a DSSE envelope. An envelope wraps it as base64 in a payload field.
04Common use cases
- Reading which workflow, repository and commit built a release from its SLSA provenance
- Checking the subject names and sha256 digests listed in an attestation
- Debugging a custom DSSE verifier by comparing its PAE bytes with the expected string
- Inspecting a Sigstore bundle downloaded from a package registry or a GitHub attestation
- Confirming that an attestation's predicateType is the one a policy expects
- Reading older SLSA v0.2 provenance from slsa-github-generator releases
- Finding out why a bundle has no payload, because it carries a message signature instead
05Tips
- A .intoto.jsonl file can hold several envelopes; paste one line at a time to see each.
- Match the subject digest with sha256sum of your downloaded file before trusting anything else.
- externalParameters holds the inputs a user controlled, so review it closely.
- If your verifier fails, compare its PAE length fields with the ones shown here, since they count bytes, not characters.
- Run cosign verify-blob-attestation or gh attestation verify for real signature checks.
06Related concepts
DSSE, in-toto attestation, SLSA provenance, Sigstore bundle, PAE, supply chain security.
Frequently Asked Questions
What is DSSE Attestation Viewer?
DSSE Attestation Viewer is a free, browser-based developer tool on AIDToolStack. Decode a DSSE envelope or Sigstore bundle. Read the in-toto Statement, subjects, predicateType and SLSA provenance, and see the signed PAE bytes. It requires no installation or sign-up and works entirely in your browser.
Is DSSE Attestation Viewer free to use?
Yes. No sign-up, no fees and no usage cap.
Does DSSE Attestation Viewer store my data?
No. It runs in your browser; nothing is uploaded.