Download and quickstart

Cbomly is a command-line tool. It runs on Linux and macOS and needs Python 3.11 or newer. Syft is optional but recommended: it builds the software list (SBOM) that goes into your CBOM.

Version 0.1. A PyPI package (pipx install cbomly) is coming soon. Until then, install straight from the GitHub repository as shown below.

1. Install

With Homebrew:

brew install pipx syft
pipx ensurepath
pipx install git+https://github.com/Cbomly/cbomly

Open a new terminal so the cbomly command is on your path, then check everything is in place:

cbomly doctor

2. Scan

Point Cbomly at a project folder. With no path it scans the current folder.

cbomly scan ./my-product

To also check the draft India requirements (CERT-In, SEBI, DST), add the India rule pack. It includes the baseline rules.

cbomly scan ./my-product --rules india

3. Read the results

Results go to ./cbomly-out/ (change it with -o):

FileWhat it is
cbom.cdx.jsonA CycloneDX 1.6 BOM: your software components from Syft plus one cryptographic-asset per algorithm, key, certificate and protocol, each with file and line evidence. This is the file to hand to a buyer.
summary.mdThe readable report: what is quantum-vulnerable, where it is, and what to replace it with.
findings.jsonRaw findings and rule results, for your own scripts.

Useful options

cbomly scan . --fail-on high        # exit code 1 on high or critical findings (for CI)
cbomly scan . --exclude 'testdata'  # skip folders or files by name pattern
cbomly scan . --no-sbom             # skip Syft and scan crypto only
cbomly scan . -o reports/           # write results somewhere else
cbomly rules                        # list the rule packs
cbomly rules india                  # show the rules in one pack

Run it in CI

Add a step to any pipeline that has Python 3.11. This fails the build if new high-risk crypto appears:

pipx install git+https://github.com/Cbomly/cbomly
cbomly scan . --no-sbom --fail-on high

Rule packs

PackStatusCovers
baselineStableQuantum-vulnerable crypto, broken and deprecated algorithms, short RSA keys, committed private keys, expired certificates
indiaDraftCERT-In BOM guidelines, SEBI CSCRF and DST post-quantum roadmap milestones. Its requirement summaries are still being checked against the official documents.
eu-craPlannedEU Cyber Resilience Act
us-cnsa2PlannedNSA CNSA 2.0

Reports are informational, not legal advice, and a scan is not a certification.

If something goes wrong

  • cbomly: command not found: open a new terminal after pipx ensurepath.
  • Python too old: run python3 --version. You need 3.11 or newer.
  • No SBOM in the output: Syft is not installed or not on your path. cbomly doctor will say which.
  • Found a bug or a false positive? Open an issue on GitHub.