SBOM Standards · NTIA Minimum Elements

CycloneDX 1.5/1.6 vs SPDX 2.3 SBOM: Schema Differences & Compliance Checklist

Side-by-side comparison of CycloneDX 1.6 and SPDX 2.3 JSON schemas: PURL encoding, SHA-256 digests, SPDX license expressions, dependency graphs, and NTIA minimum elements.

100% Browser-Side · Zero Telemetry (connect-src 'none')

1. Paste SBOM or Sigstore / Rekor JSON

CycloneDX · SPDX · Sigstore
CycloneDX 1.6 JSON
70 / 100
WARN

Pass: 4 · Warnings: 3 · Errors: 0

Detected Format
CycloneDX 1.6
UUID serial present
Components
5
1 dep nodes
Missing PURL / SHA-256
1 / 1
Out of 5 components
Unknown Licenses
1 / 5
Needs license audit
SBOM-CDX-SPEC: CycloneDX 1.6 format detected PASS
Meets modern NTIA minimum elements and CycloneDX 1.4–1.6 schema conventions.
SBOM-CDX-META: Document metadata, timestamp & root component present PASS
Root: [email protected] · 2026-11-26T15:10:00Z
SBOM-CDX-COMP: 5 CycloneDX components inventoried PASS
Non-empty component tree parsed cleanly.
SBOM-CDX-PURL: 1/5 component(s) missing canonical purl WARN
Affected: [email protected]. Supply-chain scanners (OSV, ClearlyDefined) require pkg: PURLs.
SBOM-CDX-HASH: 1/5 component(s) missing SHA-256/SHA-512 hashes (1 rely on deprecated MD5/SHA-1 only) WARN
Affected: [email protected]. Generate from lockfiles so artifact hashes are verified.
SBOM-CDX-LIC: 1/5 component(s) missing or NOASSERTION SPDX license WARN
Affected: [email protected]. Run RungLab ClearlyDefined or RapidAPI /v1/licenses/audit to resolve.
SBOM-CDX-DEPS: Dependency graph includes 1 edge nodes PASS
Transitive relationship paths preserved for reachability triage.
Actionable CLI, CI & RapidAPI Fix Commands
# Generate complete CycloneDX 1.6 SBOM with hashes & PURLs (cdxgen or syft):
npx @cyclonedx/cdxgen --spec-version 1.6 -o sbom.cdx.json .
syft dir:. -o cyclonedx-json=sbom.cdx.json

# Sign & attach SBOM attestation in CI (Sigstore Cosign):
cosign attest --yes --predicate sbom.cdx.json --type cyclonedx ghcr.io/org/app:v1.0.0

# Enrich missing licenses / check supply-chain risk via RungLab RapidAPI v1.3.0:
curl -X POST 'https://runglab-developer-intelligence-api1.p.rapidapi.com/v1/licenses/audit' \
  -H 'Content-Type: application/json' -H 'x-rapidapi-key: <YOUR_KEY>' \
  -d '{"projectLicense":"Apache-2.0","dependencies":["MIT","GPL-3.0-only"]}'
VendorReady SBOM · Zero Upload $39 SOC 2 Procurement Dossier

Turn SBOMs & lockfiles into a 100-pt SOC 2 Procurement Dossier

Need CVE/CISA KEV risk scoring, directional SPDX copyleft checks, and buyer-ready SOC 2 security questionnaire evidence? Scan package-lock.json, requirements.txt, go.mod, CycloneDX or SPDX locally on VendorReady SBOM, export the $39 6-file SOC 2 Procurement Dossier, or call RungLab RapidAPI v1.3.0 (/v1/rekor/entry/{uuidOrIndex}, /v1/rekor/lookup, /v1/supply-chain/audit), Apify actors & MCP.

Specification & CI Field Reference

Field / Flag Expected Value Verification Purpose
Root Identifier bomFormat: "CycloneDX" vs spdxVersion: "SPDX-2.3" CycloneDX is OWASP security-first; SPDX is Linux Foundation ISO/IEC 5962
Package Array & PURL components[].purl vs packages[].externalRefs[] Both standardize pkg:<type>/<name>@<version> Package URLs
Cryptographic Hashes hashes[{alg:"SHA-256"}] vs checksums[{algorithm:"SHA256"}] Notice hyphenation difference: SHA-256 (CDX) vs SHA256 (SPDX)
License Fields licenses[].license.id / expression vs licenseConcluded / licenseDeclared Avoid NOASSERTION for automated license compliance gates

Minimal Compliant CycloneDX 1.6 Component Entry

component.cdx.json
{
  "bomFormat": "CycloneDX",
  "specVersion": "1.6",
  "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
  "version": 1,
  "metadata": {
    "timestamp": "2026-11-26T15:00:00Z",
    "component": { "type": "application", "name": "api-service", "version": "1.0.0" }
  },
  "components": [
    {
      "type": "library",
      "name": "jose",
      "version": "5.9.6",
      "purl": "pkg:npm/[email protected]",
      "hashes": [{ "alg": "SHA-256", "content": "9d4c2b8f..." }],
      "licenses": [{ "license": { "id": "MIT" } }]
    }
  ]
}

Minimal Compliant SPDX 2.3 Package Entry

package.spdx.json
{
  "spdxVersion": "SPDX-2.3",
  "dataLicense": "CC0-1.0",
  "SPDXID": "SPDXRef-DOCUMENT",
  "name": "api-service-1.0.0",
  "documentNamespace": "https://spdx.example.com/api-service-1.0.0",
  "creationInfo": { "created": "2026-11-26T15:00:00Z", "creators": ["Tool: syft-1.18.1"] },
  "packages": [
    {
      "SPDXID": "SPDXRef-Package-jose",
      "name": "jose",
      "versionInfo": "5.9.6",
      "licenseConcluded": "MIT",
      "licenseDeclared": "MIT",
      "checksums": [{ "algorithm": "SHA256", "checksumValue": "9d4c2b8f..." }],
      "externalRefs": [{ "referenceCategory": "PACKAGE-MANAGER", "referenceType": "purl", "referenceLocator": "pkg:npm/[email protected]" }]
    }
  ]
}

Key Security & Architecture Takeaways

  • CycloneDX excels for AppSec vulnerability/VEX workflows (built-in cryptography, ML-BOM, and service graphs), while SPDX 2.3 (ISO/IEC 5962) excels for legal provenance and file-level license attribution.
  • Both formats satisfy US Executive Order 14028 / NTIA SBOM Minimum Elements — provided every component includes supplier/name, version, unique PURL, dependency relationships, timestamp, and author.
  • Generating SBOMs from bare manifests (package.json, pyproject.toml) instead of lockfiles or built artifacts strips SHA-256 checksums and exact transitive versions.

Common Production Pitfalls to Avoid

  • Leaving licenses as NOASSERTION across third-party libraries blocks procurement review and breaks automated SPDX policy gates.
  • Publishing SHA-1 or MD5 hashes only (deprecated for collision resistance) fails strict SHA-256/SHA-512 supply-chain policies.
  • Omitting dependencies[] (CycloneDX) or relationships[] (SPDX) prevents reachability triage between direct and transitive dependencies.

More Supply-Chain Attestation & SBOM Guides

← Back to SBOM & Sigstore Validator Hub · VendorReady SBOM ($39 SOC 2 Dossier) → · CORS & Webhook HMAC Debugger → · 14×14 License Matrix →

Frequently Asked Questions

Should my CI pipeline emit CycloneDX 1.6 or SPDX 2.3?

Choose CycloneDX 1.6 if your primary consumers are vulnerability/VEX scanners (Dependency-Track, Trivy, Grype) or AI/ML-BOM tooling; choose SPDX 2.3 if enterprise legal compliance mandates ISO/IEC 5962 or file-level license manifests.

Why does the validator flag missing purl fields on internal packages?

Vulnerability databases (OSV.dev, NVD, GitHub Advisory) and license auditors match packages by canonical pkg:<ecosystem>/<name>@<version> PURLs rather than fuzzy display names.

How can I verify license compatibility across all SBOM components?

Use our 14x14 Open-Source License Matrix (/licenses/) for pairwise rules or call RungLab RapidAPI /v1/licenses/audit for automated fleet checks.