Skip to content
Novus Examples
json1.3 KB

SLSA Verification Summary Attestation (VSA)

A VSA — the attestation a verifier issues so downstream consumers do not have to re-verify the whole chain — recording a PASSED result against a fictional SLSA L3 policy and the level distribution of dependencies. Every package, version, hash and licence is fictional — the tree describes nothing real.

Preview — first 45 linesjson
{
  "_type": "https://in-toto.io/Statement/v1",
  "subject": [
    {
      "name": "orchard-gateway-4.2.0.tgz",
      "digest": {
        "sha256": "06af88e316cf889e0b72645f235f77c900d48972456b1ff6ba4df49ae24be734"
      }
    }
  ],
  "predicateType": "https://slsa.dev/verification_summary/v1",
  "predicate": {
    "verifier": {
      "id": "https://verify.orchard.example/sample-verifier"
    },
    "timeVerified": "2026-01-01T00:00:00Z",
    "resourceUri": "pkg:npm/orchard-gateway@4.2.0",
    "policy": {
      "uri": "https://policy.orchard.example/sample/slsa-l3.yaml",
      "digest": {
        "sha256": "300c9b4e8860f45ccf2c81c4b1c09520eab361181d89f8e18c560019135bc5c1"
      }
    },
    "inputAttestations": [
      {
        "uri": "https://build.orchard.example/attestations/8814",
        "digest": {
          "sha256": "be16c79bedc4033e7d425083a67d5a8f50460757adda59ed299ac32b5aba6700"
        }
      }
    ],
    "verificationResult": "PASSED",
    "verifiedLevels": [
      "SLSA_BUILD_LEVEL_3"
    ],
    "dependencyLevels": {
      "SLSA_BUILD_LEVEL_3": 4,
      "SLSA_BUILD_LEVEL_2": 3,
      "SLSA_BUILD_LEVEL_0": 2
    },
    "slsaVersion": "1.0"
  },
  "novus_sample_note": "SAMPLE — fictional supply-chain data. Every package, registry, version, hash, licence, advisory identifier and signature in this document is invented."
}

Specifications

Seed
51200
Sample Only
true
Predicate Type
slsa.dev/verification_summary/v1
Verification Result
PASSED
Verified Levels
SLSA_BUILD_LEVEL_3
Dependency Level Buckets
3
Line Endings
LF

Testing contract

Expected to pass
Scenario
Consume a verification summary instead of re-running policy evaluation.
Expected result
Consumer reads verificationResult PASSED and SLSA_BUILD_LEVEL_3, and sees that 2 of 9 dependencies are still at level 0.

What is a .json file?

JSON (JavaScript Object Notation) is a lightweight, text-based data-interchange format representing objects, arrays, strings, numbers, booleans, and null. It is language-independent, human-readable, and the dominant format for web APIs and configuration. It requires a single well-formed root value.

How to use this file

Use an example JSON file to test parsers and serializers, schema validation, Unicode and number-precision handling, and API request or response processing.

How to use this file for testing

“SLSA Verification Summary Attestation (VSA)” is a deterministic Novus Examples fixture for JSON parsing, Schema validation, Conversion testing. Flat, deeply nested, JSON Lines, and intentionally invalid JSON for testing parsers and error handling.

Documented properties for this file: seed 51200 · LF. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.

SBOM, lockfile, provenance, and advisory fixtures describe the same fabricated component tree across formats, so a converter or scanner can be diffed against a known answer. Every package name, version, hash, and advisory ID is invented — never treat a finding here as real.

Feed the file to your parser and assert it handles the documented quirks — quoted delimiters, embedded newlines, ragged rows, or invalid syntax; the valid↔invalid distinction is labelled in the title.

Code examples

import json

with open("slsa-verification-summary.json") as f:
    data = json.load(f)
print(type(data), len(data))

Generated by generation/supply_chain.py. Free for any use, no attribution required — license.