Guides / What is a CBOM?
What is a CBOM?
A CBOM, or cryptographic bill of materials, is a list of every cryptographic algorithm, key, certificate and protocol in a piece of software, with evidence of where each one is used. It is the first thing you need before you can move a product to post-quantum cryptography, and buyers are starting to ask for it.
Why CBOMs exist
Almost all software relies on public-key cryptography: TLS for connections, signatures for code and documents, key exchange for encryption. The widely used algorithms, RSA, elliptic-curve cryptography (ECDSA, ECDH, Ed25519, X25519), DSA and Diffie-Hellman, can all be broken by a large enough quantum computer using Shor's algorithm.
Nobody knows exactly when such a machine will exist. The risk is already real, though, because an attacker can record encrypted traffic today and decrypt it later. This is called "harvest now, decrypt later", and it matters most for data that must stay secret for years: financial records, identity data, health data and government information.
In August 2024 the US standards body NIST published the first post-quantum standards: ML-KEM (FIPS 203) for key exchange, and ML-DSA (FIPS 204) and SLH-DSA (FIPS 205) for signatures. Migrating to them is a large job, and it starts with one question most teams cannot answer: where is our cryptography? It is spread across your own code, your libraries, config files, certificates and keys. A CBOM is the answer, written down in a standard format.
CBOM vs SBOM
| SBOM | CBOM | |
|---|---|---|
| Lists | Software components: libraries, packages, versions, licences | Cryptographic assets: algorithms, keys, certificates, protocols |
| Answers | "Are we affected by this vulnerable library?" | "What breaks when RSA and ECC break, and where is it?" |
| Typical trigger | Supply-chain security rules, a new CVE | Post-quantum migration plans, crypto policy reviews |
| Formats | CycloneDX, SPDX | CycloneDX 1.6 and later |
The two work best together. Knowing that you ship OpenSSL 3.0 (SBOM) and that your code calls it for RSA-2048 signatures in a specific file (CBOM) is what turns a vague risk into a task someone can do.
What goes in a CBOM
CycloneDX version 1.6, published by OWASP in 2024, added a component type called cryptographic-asset. Each one has a cryptoProperties block whose assetType is one of four kinds:
- Algorithm, such as RSA-2048, ECDSA P-256, AES-256-GCM or ML-KEM-768. Its properties include the primitive (signature, key agreement, block cipher, hash and so on), the parameter set or curve, what it is used for, its classical security level and its NIST quantum security level, where 0 means a quantum computer breaks it.
- Certificate: subject, issuer, validity dates and the algorithms used for its key and signature.
- Protocol, such as TLS 1.2 or SSH, with versions and cipher suites.
- Related crypto material: keys, secrets, tokens and similar, including their size and where they are stored. A good tool records that a private key exists and where, never the key itself.
Each asset should also carry evidence: the file and line where it was found. Without evidence a CBOM is hard to trust and hard to act on.
An example entry
This is one algorithm entry from a CBOM written by Cbomly, trimmed for space:
{
"type": "cryptographic-asset",
"name": "ECDSA P-256",
"cryptoProperties": {
"assetType": "algorithm",
"algorithmProperties": {
"primitive": "signature",
"parameterSetIdentifier": "P-256",
"curve": "P-256",
"cryptoFunctions": ["sign", "verify"],
"classicalSecurityLevel": 128,
"nistQuantumSecurityLevel": 0
}
},
"evidence": {
"occurrences": [{ "location": "svc/Signer.java", "line": 14 }]
}
}nistQuantumSecurityLevel: 0 is the line that matters: a quantum computer breaks this algorithm, and the evidence says exactly where to fix it.
How to make one
You can write a CBOM by hand for a small product, but it goes out of date with every release. Use a scanner and keep the output next to each release, the same way you keep an SBOM.
Cbomly is a free, open-source scanner that runs on your own machine:
pipx install git+https://github.com/Cbomly/cbomly
cbomly scan ./my-productIt writes cbom.cdx.json (CycloneDX 1.6, combining the SBOM from Syft and the crypto assets) and a plain-English summary.md that says what is quantum-vulnerable and what to replace it with. Other open-source options exist too, such as IBM's CBOMkit, now hosted by the Linux Foundation's Post-Quantum Cryptography Alliance. Use whichever fits your stack; the format is the same.
Whichever tool you use, remember that pattern-based scanners can miss crypto hidden inside compiled binaries or wrapper functions. Treat the first scan as a starting point and review it.
Common questions
Is a CBOM required by law?
It depends on who you sell to. In India, CERT-In's guidelines describe CBOMs and the national post-quantum roadmap asks vendors for one. See the CERT-In guide and the India roadmap guide. Elsewhere it is mostly arriving through buyer questionnaires and post-quantum migration programmes rather than direct law.
Does a CBOM expose secrets?
It should not. A CBOM records that a key or certificate exists, its algorithm and size, and where it is. It should never contain private key material. It does reveal which algorithms you use, so share it the way you would share an SBOM: with buyers and auditors, not publicly, unless you choose to.
How often should I regenerate it?
With every release. Add the scanner to CI so it runs automatically, and use cbomly scan . --fail-on high to stop new weak cryptography from being merged.
What do I do with the results?
Fix the urgent items first (private keys committed to the repo, broken algorithms such as MD5 or SHA-1 signatures, short RSA keys). Then plan the post-quantum move: hybrid key exchange such as X25519MLKEM768 for TLS where your stack supports it, and hybrid or ML-DSA signatures for code and documents.