Skip to content

No SBOM shipped with releases (CycloneDX/SPDX) #1553

Description

@Widthdom

Summary

The release artifacts contain no SBOM (CycloneDX or SPDX). Only .deps.json ships, which is .NET-specific runtime metadata and not a supply-chain SBOM. Enterprise consumers cannot programmatically verify transitive dependencies or scan bundled native code (SQLite, SQLitePCLRaw) for CVEs.

Evidence

  • No cdidx.sbom.json or *.cdx.json / *.spdx.json in the release pipeline.
  • dotnet pack output ships only .deps.json.

Impact

  • Compliance reviews (SOC2, FedRAMP-style) cannot accept the artifact without a separately produced SBOM.
  • Security scanners (Snyk, Trivy, Grype) need an SBOM for accurate vulnerability surfacing.

Proposed direction

  • Add CycloneDX generation step (dotnet CycloneDX global tool or CycloneDX.NET MSBuild task) to the release workflow.
  • Ship cdidx.sbom.cdx.json as a release asset, list every transitive package version and the bundled e_sqlite3 native asset hash.
  • Document SBOM location in README under "Verifying releases."

Repro env

  • Branch: main @ 2ee912d (release v1.21.0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions