CheckOps
cdxgen
cdxgen is an Apache-2.0 CycloneDX SBOM generator for source code, container images and many language ecosystems, used to produce bills of materials in CI.
Latest public signals
Not refreshed yet. Refresh reads the public site and, when the entry has a GitHub repository, the latest release.
Introduction
cdxgen creates CycloneDX bills of materials (BOMs) for projects from source and container images. Its README describes support for many languages and package formats, and the project now lives in its own cdxgen organisation after starting under CycloneDX.
It reads lock files and manifests for ecosystems such as npm, Python, Java, Go, .NET, Rust, PHP and Ruby, inspects container images, and can also generate other BOM types such as SaaSBOM and CBOM. A server mode and container image make it easy to run in CI, and output can be uploaded to Dependency-Track for continuous analysis.
In the quality loop cdxgen produces the SBOM artefact that release and security gates consume.
The source code is at cdxgen/cdxgen on GitHub under the Apache-2.0 licence, with about 1,100 stars; the most recent commit was on 11 November 2026.
Features
- CycloneDX output: Standard SBOM format.
- Many ecosystems: Most popular package managers.
- Container images: SBOMs for images and OS packages.
- Other BOM types: SaaSBOM, CBOM and more.
- Server mode: Run as a service.
- Dependency-Track upload: Feed continuous analysis.
Pros
- Broad coverage: One tool for polyglot projects.
- Free to use: Open source under the Apache-2.0 licence, so the core tool costs nothing to use.
- Actively maintained: The repository had commits as recent as 11 November 2026.
Cons
- Accuracy depends on inputs: Missing lock files reduce precision.
- Fast-changing: Frequent releases change behaviour.
- Heavy image: Full container image is large.
Usage and Links (Example)
npm install -g @cyclonedx/cdxgen
cdxgen -r -o bom.json .
cdxgen -t docker -o image-bom.json myapp:1.2.0
Resources:
Pricing
cdxgen is free and open source under the Apache-2.0 licence.
Recommended for?
- Teams that must ship SBOMs with releases.
- Security teams feeding Dependency-Track.
Conclusion
cdxgen is a capable, broad SBOM generator for CycloneDX.
Generate SBOMs from lock files in CI and archive them with each release.
On CheckOps, cdxgen is filed under the Release & CI gates and Security testing stages. Related tools listed here include Cosign, OpenSSF Scorecard, Syft, Grype, OWASP Dependency-Track and Trivy. A short trial on a real project, with your own code, data and pipeline, is usually the fastest way to choose between them, because fit matters more than feature lists. Facts here come from the official site, documentation and repository, checked on 11 November 2026.
Alternatives
Other tools on CheckOps that cover similar ground. Open a page, or compare one with cdxgen side by side.
CCosignCosign is an Apache-2.0 Sigstore tool for signing and verifying container images, binaries and attestations, including keyless signing with OIDC and a transparency log.Compare with cdxgen
OOpenSSF ScorecardOpenSSF Scorecard is an Apache-2.0 tool that scores open-source repositories on security practices such as branch protection, pinned dependencies, CI tests, fuzzing and dangerous workflows.Compare with cdxgen
SSyftSyft is Anchore's Apache-2.0 CLI and Go library for generating Software Bills of Materials (SBOMs) from container images, filesystems and archives, in CycloneDX, SPDX and other formats.Compare with cdxgen
GGrypeGrype is Anchore's Apache-2.0 vulnerability scanner for container images, filesystems and SBOMs, covering major OS package ecosystems and language packages.Compare with cdxgen
OOWASP Dependency-TrackOWASP Dependency-Track is an Apache-2.0 SBOM-driven component analysis platform that tracks components across your portfolio and flags vulnerable, outdated or policy-violating dependencies.Compare with cdxgen
TTrivyTrivy is Aqua Security's Apache-2.0 all-in-one scanner for container images, filesystems, Git repos, VM images and Kubernetes, finding CVEs, IaC misconfigurations, secrets, licences and SBOM data.Compare with cdxgen