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/cbomlyOn Ubuntu, Debian, Fedora and most other distributions:
python3 -m pip install --user pipx
python3 -m pipx ensurepath
pipx install git+https://github.com/Cbomly/cbomly
curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b ~/.local/binOn Ubuntu 23.04 and later you can use sudo apt install pipx instead of the first line. The Syft line runs Anchore's official installer; read it first if you prefer.
Open a new terminal so the cbomly command is on your path, then check everything is in place:
cbomly doctor2. Scan
Point Cbomly at a project folder. With no path it scans the current folder.
cbomly scan ./my-productTo 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 india3. Read the results
Results go to ./cbomly-out/ (change it with -o):
| File | What it is |
|---|---|
cbom.cdx.json | A 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.md | The readable report: what is quantum-vulnerable, where it is, and what to replace it with. |
findings.json | Raw 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 packRun 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 highRule packs
| Pack | Status | Covers |
|---|---|---|
baseline | Stable | Quantum-vulnerable crypto, broken and deprecated algorithms, short RSA keys, committed private keys, expired certificates |
india | Draft | CERT-In BOM guidelines, SEBI CSCRF and DST post-quantum roadmap milestones. Its requirement summaries are still being checked against the official documents. |
eu-cra | Planned | EU Cyber Resilience Act |
us-cnsa2 | Planned | NSA 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 afterpipx 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 doctorwill say which. - Found a bug or a false positive? Open an issue on GitHub.