CycloneDX or SPDX: Which SBOM Format Should a Software Supplier Produce?

Labrador generates an SBOM from your codebase in either CycloneDX or SPDX format, letting a software supplier satisfy a customer contract or regulatory request without committing to one schema forever.

If a customer, a government contract, or an internal audit team has asked you for a software bill of materials, the first practical question is not what goes in it - it's which format do I hand over? CycloneDX and SPDX are the two formats the market has converged on. They are not interchangeable, and picking the wrong one for your context creates rework. Here is how to tell them apart and when each is the right answer.


What the Two Formats Actually Are

SPDX (Software Package Data Exchange) is an ISO standard (ISO/IEC 5962:2021) originally built around license compliance. It was designed to answer: what open-source components are in this product, and what licenses govern them? The schema is thorough on license expression, copyright text, and file-level detail.

CycloneDX is an OWASP standard designed from the start for security use cases. It maps components, their known vulnerabilities (via VEX - Vulnerability Exploitability eXchange), dependencies, and service relationships. Its schema is tighter for toolchain integration: CI/CD pipelines, vulnerability management platforms, and procurement checks.

Both can represent components, versions, hashes, and dependencies. The difference is in what each schema makes first-class: SPDX treats licensing as the organizing principle; CycloneDX treats the security and operational risk picture as the organizing principle.


When to Produce SPDX

Choose SPDX when:


When to Produce CycloneDX

Choose CycloneDX when:


The Honest Answer: Many Suppliers Need Both

If you are supplying software into more than one downstream customer or contract, you will likely face both requirements eventually. The practical implication is that your SBOM generation tooling needs to output either format from the same analysis run - not force you to re-analyze the codebase for each schema.

Labrador handles this at the generation layer: a single scan of your codebase produces the component and dependency graph, and the output can be expressed as SPDX or CycloneDX depending on what the downstream contract requires. That means the conversation with your customer about format is a delivery decision, not a re-engineering exercise.


What to Check Before You Hand Over Any SBOM

Format is only one dimension. Before delivery, confirm:

  1. Minimum elements are present. CISA published a minimum-elements guidance document. At minimum: supplier name, component name, version, unique identifiers (PURL or CPE), dependency relationships, and the SBOM author.
  2. Hashes are included. Component hashes (SHA-256 preferred) let the recipient verify they are looking at the same artifact you scanned.
  3. The SBOM is dated and versioned. An SBOM without a timestamp is not useful for incident response. If a critical CVE drops tomorrow, your customer needs to know whether your SBOM predates the vulnerable version entering your build.
  4. License data is present if the contract requires it. CycloneDX supports license fields, but if the contract is license-compliance-driven, confirm the fields are populated, not just present in the schema.

A Quick Reference

| Dimension | SPDX | CycloneDX | |---|---|---| | Governing body | ISO / SPDX Project | OWASP | | Primary design intent | License compliance | Security and operational risk | | VEX support | Limited / external | Native | | Typical consumer | Legal, OSPO, compliance | SecOps, DevSecOps, vulnerability management | | Common in | Federal contracts, enterprise OSPOs | Medical device, IoT, CI/CD pipelines | | File formats | .spdx, JSON, YAML, RDF | JSON, XML |


The Practical Starting Point

If your customer has not specified a format, ask them who will consume the SBOM and what tooling they will ingest it into. That answer almost always resolves the question. If they cannot answer, CycloneDX JSON is currently the safer default for security-team consumers; SPDX is the safer default if the recipient is a legal or compliance function.

If you are in the early stages of building SBOM generation into your release process, the right time to pick tooling is before you have promised a format to a customer. Labrador produces SBOMs as part of its SCA and supply-chain analysis - you can explore what that looks like for your codebase at apona.ai/labrador.

This post is about Labrador.