
Sbom
Generate and manage Software Bill of Materials (SBOMs) for the OpenShell project.
Install
npx skills add NVIDIA/OpenShell --skill sbom -g -a claude-code -y- Repository
- NVIDIA/OpenShell20.9k
- Category
- Engineering
- Updated
- 4d ago
- License
- Apache-2.0
- Context cost
- Lightabout 1,269 tokens
- Runs scripts
- No, instructions only
What it does
Generate and manage Software Bill of Materials (SBOMs) for the OpenShell project. Covers SBOM generation with Syft, license resolution via public registries, and CSV export for compliance review. Trigger keywords - SBOM, sbom, bill of materials, license audit, license resolution, generate sbom, sbom csv, dependency license, supply chain, license scan.
SBOM Generation and License Resolution
Generate CycloneDX SBOMs, resolve missing licenses, and export to CSV for compliance review.
Overview
The OpenShell SBOM tooling produces source-tree CycloneDX JSON SBOMs using Syft, resolves missing or hash-based licenses by querying public registries (crates.io, npm, PyPI), and exports the results to CSV for stakeholder review.
SBOMs are release artifacts only -- they are generated on demand and not committed to the repository. Output lands in deploy/sbom/output/ (gitignored).
Pushed gateway, sandbox, and supervisor images carry an SPDX SBOM and minimal SLSA provenance as OCI attestations. Branch E2E, Release Dev, Release, and Pre-release image binaries embed cargo-auditable metadata, so their image SBOMs include linked Rust crates.
Stable Release builds retain images and attestations in OCI archive artifacts.
Publication copies every platform and attestation to GHCR with preserved digests,
then runs the SBOM verification before updating latest.
Prerequisites
mise installhas been run (installs Syft and other tools)- The repository is checked out at the root
Inspecting an Image SBOM
BuildKit uses its default Syft scanner and attaches one SPDX document per platform. Read one without pulling the image:
docker buildx imagetools inspect ghcr.io/nvidia/openshell/gateway:latest \
--format '{{ json (index .SBOM "linux/amd64").SPDX }}'
Validate the final attestation, requiring a Cargo package for an auditable image:
tasks/scripts/verify-image-sbom.sh ghcr.io/nvidia/openshell/gateway:latest --require-cargo
Inspecting an Auditable Image Binary
Opt into auditable metadata when staging a local image binary:
OPENSHELL_AUDITABLE=1 PREBUILT_ARCH=amd64 \
tasks/scripts/stage-prebuilt-binaries.sh gateway
Scan the staged binary rather than the source tree:
