Skip to main content

conda-sboms

Generate a CycloneDX software bill of materials (SBOM) for an existing conda environment.

conda-sboms is an exporter plugin for conda. It adds the cyclonedx-json format to conda export and writes conda's exact package records and dependency graph as CycloneDX 1.7 JSON. Because it uses conda's standard exporter hook, clients such as conda-workspaces can use the same format.

The project is alpha software. Questions, bug reports, and contributions are welcome on GitHub.

Quick start

conda-sboms requires conda 26.3 or newer. conda 26.5 and newer include the conda-pypi plugin. For a standard conda installation, activate base and install conda-sboms from PyPI as a conda package:

conda activate base
conda pypi install "conda-sboms>=0.2.0"

If conda pypi is not available, follow the installation guide to install the wheel with pip.

Generate an SBOM for an installed environment:

conda export --name my-environment --from-history \
  --format cyclonedx-json \
  --file my-environment.cdx.json

--from-history asks conda to preserve the requested package roots when its history contains them. The SBOM still contains every resolved conda package.

With conda-sboms 0.2.0 or newer, use the product metadata guide to identify a shipped product, its manufacturer, and the person or organization that authored the SBOM.

For a disposable example, follow the getting-started tutorial. The installation guide also covers source checkouts.

What the SBOM contains

The environment is represented as the root application and each resolved conda package as a library component. When available, the SBOM includes package hashes, build and platform data, license text, sanitized distribution URLs, conda package URLs, and dependency relationships.

Scope and limitations

The exporter does not inspect package contents, discover vendored or statically linked software, include packages from other ecosystems, infer a manufacturer, scan for vulnerabilities, or establish Cyber Resilience Act conformity. The root composition marks overall coverage as unproven. Conda-specific properties record known external-package, virtual-package, and missing-dependency counts supplied by the input.

Read the documentation for product metadata, the format reference, conda-workspaces integration, reproducible output, and coverage limits.

Development

Install the locked development environment and confirm that conda discovers the exporter:

pixi install --locked -e dev
pixi run --locked -e dev conda export --help

Run the checks and documentation build:

pixi run --locked -e dev check
pixi run --locked -e docs docs

License

BSD-3-Clause. See LICENSE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

conda_sboms-0.3.0.tar.gz (115.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

conda_sboms-0.3.0-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file conda_sboms-0.3.0.tar.gz.

File metadata

  • Download URL: conda_sboms-0.3.0.tar.gz
  • Upload date:
  • Size: 115.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for conda_sboms-0.3.0.tar.gz
Algorithm Hash digest
SHA256 e5ed20967668d102300e0314c6526982f69931bf40960525a74d6ad93bf92c25
MD5 ecb20bd0c0750b817cb9029c0e973496
BLAKE2b-256 b81026d5780a7b5987a5613560d0252b41a445c486669e2b6ddef84b4c63e131

See more details on using hashes here.

Provenance

The following attestation bundles were made for conda_sboms-0.3.0.tar.gz:

Publisher: release.yml on conda-incubator/conda-sboms

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file conda_sboms-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: conda_sboms-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 10.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for conda_sboms-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 236e0443be55f09ea9e494df8095081d5f1cf8f11822b71f47b3ae51c94f22d5
MD5 2c7bb13e32539f2f3a6a0db3f84069a5
BLAKE2b-256 bb2590fa890c3e790bf1ae69807ddadd39d54ba1461090644785ff07687b4e47

See more details on using hashes here.

Provenance

The following attestation bundles were made for conda_sboms-0.3.0-py3-none-any.whl:

Publisher: release.yml on conda-incubator/conda-sboms

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 files

0.2.0

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page