Metadata-Version: 2.4
Name: cbomly
Version: 0.13.0
Summary: Find the cryptography in your software, write a CycloneDX CBOM, and check it is quantum-safe.
Author-email: Cbomly <team@cbomly.com>
License-Expression: LicenseRef-Cbomly
Project-URL: Homepage, https://cbomly.com
Project-URL: Documentation, https://cbomly.com/download/
Keywords: cbom,sbom,cyclonedx,post-quantum,pqc,cryptography,cert-in,compliance
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Topic :: Security :: Cryptography
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pywebview>=6.2; sys_platform == "darwin" or sys_platform == "win32"
Requires-Dist: textual>=8.2
Provides-Extra: dev
Requires-Dist: pytest>=8; extra == "dev"
Requires-Dist: jsonschema>=4.21; extra == "dev"
Requires-Dist: ruff>=0.6; extra == "dev"
Dynamic: license-file

# Cbomly

**Find the cryptography in your software, and check it is ready for quantum computers.**

Cbomly scans a codebase and writes a **CBOM** (cryptographic bill of materials): a list of every
algorithm, key and certificate your product uses, with the file and line where it was found. It also
writes the normal software list (**SBOM**), an **AI BOM** of the models and AI libraries and services the product
uses, a list of the **third-party services** it talks to, a hardware BOM (**HBOM**) of the boards, chips, firmware and parts it is built on, and a plain-English report that says what a future quantum computer would break, and what to replace it with.

It runs locally on Linux, macOS and Windows. Nothing is uploaded unless you run `cbomly upload` to keep your
reports in a free dashboard at [app.cbomly.com](https://app.cbomly.com), and even then only findings are
sent, never source code.

```
$ cbomly scan ./my-product --rules india

Cbomly scan complete

  14 quantum-vulnerable algorithm(s)   0 weakened   2 quantum-safe
  37 crypto use(s) in 13 file(s)

  ● ECDSA (SHA-256)              svc/Signer.java:14
  ● RSA-2048                     certs/server.crt:1 (+4 more)
  ...
  [CRITICAL] BASE-K-001: Private key stored in the codebase
  [HIGH    ] IN-PQC-002: Quantum-vulnerable digital signatures (first in line for migration)
```

## Why this matters

Large quantum computers will break RSA, elliptic-curve cryptography (ECDSA, ECDH, Ed25519, X25519),
DSA and Diffie-Hellman. Governments are setting deadlines to move to the new NIST post-quantum
standards (ML-KEM, ML-DSA, SLH-DSA), and buyers are starting to ask their software suppliers for a
CBOM and a migration plan:

- **US:** NIST IR 8547 (Oct 2026) deprecates RSA and elliptic curves after 2030 and disallows them
  after 2035. EO 14412 (June 2026) moves federal high-impact systems to PQC key exchange by the end
  of 2030 and PQC signatures by the end of 2031, and OMB M-26-15 has agencies keep a CBOM. NSA's
  CNSA 2.0 applies to new national security system purchases from 1 January 2027. FDA requires an
  SBOM for cyber medical devices.
- **EU:** the Cyber Resilience Act's main obligations, including the SBOM, apply from 11 December
  2027 (reporting since 11 September 2026). The EU PQC roadmap says take the first steps, including
  a crypto inventory, by the end of 2026, and finish high-risk uses by 2030 and medium-risk by 2035.
- **UK, Canada, Australia, Singapore, Japan:** national PQC timelines between 2030 (Australia) and
  2035, each starting with a cryptographic inventory.
- **India:** CERT-In's BOM guidelines v2.0 (July 2025) define SBOM and CBOM; SEBI's CSCRF (Aug 2024)
  requires an SBOM for new core and critical software; the DST post-quantum roadmap (Feb 2026) asks
  buyers to require vendor CBOMs from FY 2027-28.
- **Payments:** PCI DSS v4.0.1 requires a yearly reviewed inventory of cipher suites and protocols
  (since 31 March 2025) and an inventory of keys and certificates.

## Install

One command installs the scanner and [Syft](https://github.com/anchore/syft) (which builds the software list).
It needs no admin rights and fetches its own Python if yours is older than 3.11:

```bash
# macOS and Linux
curl -LsSf https://cbomly.com/install.sh | sh

# Windows (PowerShell or Command Prompt)
powershell -ExecutionPolicy ByPass -c "irm https://cbomly.com/install.ps1 | iex"
```

Already have Python 3.11 or newer? `pipx install cbomly` works too. If Syft isn't installed, the first
`cbomly scan` downloads Anchore's official Syft release for your system, checks its SHA-256 against the
release's checksums, and keeps it in your user data folder (`~/.local/share/cbomly/bin` on Linux).
Set `CBOMLY_NO_SYFT=1` to never download it, or point `CBOMLY_SYFT` at your own copy.

```bash
cbomly doctor   # checks everything is in place
```

## Use

```bash
cbomly scan                         # scan the current folder with the baseline rules
cbomly scan ./src --rules india     # use the India rule pack (includes baseline)
cbomly scan . --fail-on high        # exit code 1 if anything high or critical is found (for CI)
cbomly scan . --exclude 'testdata'  # skip folders or files by name pattern
cbomly rules                        # list rule packs
cbomly rules india                  # show the rules in a pack
cbomly import cbom.json -r india    # use a CBOM from IBM CBOMkit, cdxgen or another tool instead of scanning
cbomly scan nginx:1.27              # scan a container image (public registry, local Docker/Podman, or a `docker save` .tar)
cbomly tls example.com              # check a live server you run: TLS versions, post-quantum key exchange, certificates
cbomly scan . --logs /var/log/nginx # also read production logs: which crypto is really negotiated (repeatable)
cbomly logs ~/alb-logs              # production logs on their own
cbomly probe 10.0.0.0/28 pay.internal:8443   # servers you own: every TLS cipher suite and SSH algorithm they accept
cbomly scan . --probe targets.txt --os-stores  # add server probes and this computer's certificate store to a scan
cbomly scan https://github.com/org/repo   # cloud sources: a Git URL (--ref for a branch or tag), s3://, gs:// or az://ACCOUNT/CONTAINER
cbomly license activate CBOMLY1....  # unlock cloud sources with a key from app.cbomly.com
```

**Prefer a window?** `cbomly app` opens the Cbomly app: choose a folder, watch the scan, and read the results
grouped as fix now, quantum-vulnerable, weakened, safe, keys and certificates, AI and third-party services, each
with why it matters and what to do. The installers add it to Applications (macOS), the Start menu (Windows) or
the app menu (Linux); `cbomly app --add-shortcut` does the same by hand. It runs a small server on 127.0.0.1
only, opens it in an app window of Chrome, Edge, Chromium or Brave (or your default browser), and keeps
scans in your user data folder. `cbomly app --no-window` prints the address instead. Its Report page shows the
full report (executive summary, key findings, findings with how to fix them, then the inventory) and saves it as a PDF.
Its Upgrade plan lists every step in order, dated by the regions you ticked in Settings, with a crypto agility
score out of 100 (set in config rather than code, few places to change, post-quantum already working, libraries
ready, nothing broken today). Keyboard: Ctrl+N (Cmd+N on a Mac) new scan, Ctrl+, Settings, Ctrl+F search,
Ctrl+P save the report as PDF, arrow keys to move through the sidebar and lists, Esc to close a dialog or stop a scan.
Report details on the Report page set the product name, who the report is prepared for and by, and the scope
questions the signed report uses to judge which regulations apply.

**Prefer the terminal?** `cbomly term` opens the same app right in your terminal: same pages, same scans,
history and settings, all from the keyboard (n new scan, f fix now, g compliance gaps, p upgrade plan, r report,
c copy an AI prompt, e save a list as CSV, q quit). Typing `cbomly` on its own asks once which one you prefer.

**Cloud sources** use the sign-in you already have (git, aws, gcloud or gsutil, az; `cbomly doctor` shows
which are installed). Cbomly downloads into a temporary folder, scans it on this machine and deletes it; it never
asks for or stores cloud keys, and nothing is sent to Cbomly. Without a key a cloud scan is a preview (headline
numbers and findings.json only). A signed report unlocks its own location for good; the cloud add-on ($29 every 6 months)
unlocks every location while it is active. Keys are checked offline; `CBOMLY_LICENSE` passes them in CI.

`cbomly tls` makes ordinary handshakes, like a browser. Only point it at servers you run or are allowed to test.

**Seen in production.** `--logs` (or `cbomly logs`, or **Add logs** in the app) reads load balancer, web server,
SSH and VPN logs on this computer and counts what was really negotiated. Each algorithm and protocol is then
marked *seen in production*, *not in your code* or *configured only*. That gives evidence for PCI DSS 4.2.1 and
12.3.3 and a real post-quantum share for the migration plan. The format is detected from the content, and `.gz` files work.
Supported formats: AWS ALB connection and access logs, Classic ELB, Cloudflare Logpush `http_requests`, nginx, Apache
`ssl_request_log` and HAProxy when their log format records TLS, OpenSSH `sshd`, OpenVPN and strongSwan. Only
counts, dates and the file are kept, never IP addresses or user names. Cbomly counts only what the logs record.
Default nginx and HAProxy formats leave TLS out, and Cbomly prints the line to add. AWS access logs, Azure and Google
Cloud logs don't record the key exchange. Traffic nobody logs is not covered. It does not capture network traffic.

**PCI DSS crypto and certificate evidence.** `cbomly probe` (or `--probe` on a scan, or Settings in the app)
connects from your computer to servers you list, a host, host:port, CIDR network or a file of them, at most 5 new
connections a second (`--rate`). For TLS it records every protocol and cipher suite each server accepts, in the
server's order of preference; for SSH, every key exchange, host key, cipher and MAC it offers. Each handshake stops
before keys are agreed. It asks you to confirm you own or may test the targets (`--yes` in scripts). `--os-stores` adds
the certificates in the Windows store, macOS keychains or Linux trust anchors (built-in root CAs left out).
Certificates become one PCI DSS 4.2.1.1 row each, by SHA-256 fingerprint, with owner, every place found, expiry and
whether renewal is automated. Public TLS certificates may last at most 200 days from 15 March 2026, 100 days from
15 March 2027 and 47 days from 15 March 2029 (CA/Browser Forum ballot SC-081), so certificates renewed by hand are
flagged now. Owners, renewal methods and the 12.3.3 justification for each protocol, suite and algorithm go in
`cbomly-pci.toml`; `cbomly push file --qsa` writes a filled-in template to start from.

**Already have a CBOM?** `cbomly import` reads any CycloneDX 1.6+ CBOM, for example from IBM's
CBOMkit / Sonar Cryptography plugin or cdxgen. It maps each `cryptographic-asset` (algorithms, keys,
certificates, protocols) to Cbomly's catalog by OID or name, keeps the software components as the SBOM, and
writes the same files as `cbomly scan`, so rule packs, `cbomly upload` and the dashboard all work.
Assets it doesn't recognise are listed in the report and left out.

Output goes to `./cbomly-out/`:

| File | What it is |
|---|---|
| `cbom.cdx.json` | CycloneDX 1.6 BOM: the software components from Syft, one `cryptographic-asset` per algorithm, key, certificate and protocol (each with file and line evidence and a `cbomly:status`), one `machine-learning-model` per AI model, and every third-party service (crypto services, AI providers, payments, email…) under `services` |
| `aibom.cdx.json` | CycloneDX 1.6 AI BOM (ML-BOM): one `machine-learning-model` per model with a model card (task, architecture, training datasets, licence, base model, parameters, quantization) where the project holds it, SHA-256 hashes, the AI libraries, and the hosted AI services and model hubs the product talks to, linked in the dependency graph. Each model lists what is still missing as `cbomly:aibom-missing` |
| `hbom.cdx.json` | CycloneDX 1.6 hardware BOM: boards and microcontrollers, secure elements and TPMs as `device` components, firmware images as `firmware` (SHA-256, target chip, signature algorithm), and each parts list as a `device` with its parts nested (part number, maker, references, quantity, footprint) |
| `summary.md` | The readable report: what is quantum-vulnerable, where, what to do, the full crypto inventory, AI models and libraries, and the vendor inventory |
| `findings.json` | Findings, rule results, inventory, AI (`ai`) and vendor inventory (`third_party_services`), and with `--logs` what production negotiated (`observed`), for scripts and `cbomly upload` |
| `files-not-read.csv` | Every file and folder found but not read, with the reason, so read + not read = found |

## Dashboard and CI

```bash
export CBOMLY_API_KEY=cbk_...        # from your project page on app.cbomly.com
cbomly upload                        # sends ./cbomly-out (findings only; code snippets removed)
cbomly upload --dry-run              # prints exactly what would be sent
cbomly upload --gate                 # exit code 1 if the project's release gate fails
```

## Your compliance tool (Vanta, Drata, Sprinto)

Results go straight from your computer or CI to your own account, with your own key. Only findings are sent.

```bash
cbomly push file                     # free: saves pci-12.3.3-inventory.csv to attach anywhere (Sprinto, assessors)
cbomly push schema                   # Vanta custom resource properties to paste into the Developer Console
cbomly push vanta                    # Evidence plan: needs VANTA_CLIENT_ID, VANTA_CLIENT_SECRET, VANTA_RESOURCE_ID
cbomly push drata                    # Evidence plan: needs DRATA_API_KEY and DRATA_CONNECTION_ID + DRATA_RESOURCE_ID
                                     #   (Advanced/Enterprise) and/or DRATA_WORKSPACE_ID (Evidence Library)
cbomly push vanta --dry-run          # prints exactly what would be sent
cbomly push file --qsa               # Evidence plan: the PCI DSS assessor pack in cbomly-out/qsa/ (12.3.3 inventory and
                                     #   server cipher suites with justifications, 4.2.1.1 certificates, cover sheet)
cbomly push file --qsa --since last-year/qsa   # adds what changed since last year's review
```

In CI, run the same commands in any job with Python 3.11+ (store the key as a secret):

```bash
pipx install cbomly
cbomly scan . --rules india -o cbomly-out
cbomly upload cbomly-out --gate
```

Your project page in the dashboard has ready-to-paste GitHub Actions and GitLab CI jobs.

Scanning is free and unlimited: a basic report for every scan, the trend view, alerts for new RSA/ECC and
the release gate. The signed compliance report (regulation mapping, how to close each gap, the signed upgrade plan and pack)
is bought once per project, $490. No subscription.

## What it detects

| Where | How |
|---|---|
| Source code: Python, Java/Kotlin/Scala, Go, JavaScript/TypeScript, C/C++/Objective-C, C#, Ruby, PHP, Rust, Swift, Dart, Elixir/Erlang | Known crypto API calls, including key sizes and curves where written in the code. Covers the standard libraries plus Bouncy Castle (classic and PQC), OpenSSL, BoringSSL, wolfSSL, Mbed TLS, Botan, libgcrypt, libsodium, CommonCrypto and CryptoKit, ring, rustls, aws-lc-rs, RustCrypto, PyCryptodome, PyNaCl, paramiko, liboqs, crypto-js, noble, jsrsasign, phpseclib, pointycastle and Erlang `:crypto` |
| Post-quantum APIs | Java 24 ML-KEM/ML-DSA, .NET 10 `MLKem`/`MLDsa`/`SlhDsa`, Apple CryptoKit ML-KEM/ML-DSA/X-Wing, Go `crypto/mlkem`, Bouncy Castle, liboqs, LMS/XMSS, FN-DSA (Falcon), HQC, FrodoKEM, Classic McEliece, composite ML-DSA and hybrid key exchange (X25519MLKEM768, SecP256r1MLKEM768, mlkem768x25519-sha256, sntrup761) |
| Web, proxy and app server configs | nginx, Apache, HAProxy, Caddy, Envoy, Traefik, Postfix, OpenSSL `openssl.cnf`, Java `java.security`, Spring Boot: TLS versions, cipher suites and key exchange groups, and whether a post-quantum hybrid group is on |
| SSH | `sshd_config`/`ssh_config` key exchange, host key, cipher and MAC lists; host keys, `authorized_keys`, `known_hosts` |
| VPN | WireGuard (warns when no PresharedKey), strongSwan/libreswan IKE and ESP proposals (including ML-KEM), OpenVPN cipher, auth, minimum TLS version and DH size |
| Infrastructure as code | Terraform, CloudFormation and Bicep: `tls_private_key`, AWS/Google/Azure KMS key specs (including ML-DSA), ACM key algorithms, load balancer TLS policies (post-quantum and TLS 1.0/1.1 policies), CloudFront, API Gateway and Azure minimum TLS versions. Kubernetes: cert-manager certificates, Ingress TLS annotations, Istio minimum TLS, and TLS Secrets |
| Keys and certificates | PEM, DER, PKCS#7 chains, CSRs, PKCS#8 (including how encrypted keys are protected), OpenSSH, PuTTY `.ppk`, OpenPGP/GPG, JWK/JWKS, Java keystores (JKS, JCEKS: certificates are read without the password), PKCS#12 `.p12`/`.pfx` (protection scheme; contents too if the password is empty or a common default and `cryptography` is installed). Algorithm, key size, curve, signature hash, subject and validity dates. Private keys are flagged as leaks |
| Container images | Every layer of a public image, an image in your local Docker/Podman, or a `docker save` archive. The OS's CA trust store and package signing keys are counted, not listed, and Python's own standard library is skipped |
| Compiled binaries | Crypto library versions built into ELF, PE and Mach-O files (OpenSSL, LibreSSL, BoringSSL, AWS-LC, wolfSSL, Mbed TLS, GnuTLS, OpenSSH, Dropbear, libsodium, liboqs, Go) and well-known algorithm constants |
| Live servers (`cbomly tls`) | Accepted TLS versions, supported key exchange groups including X25519MLKEM768, negotiated cipher and the certificate chain |
| Servers you own (`cbomly probe`, `--probe`) | Every TLS protocol and cipher suite accepted, in server preference order, key exchange groups and the certificate chain; SSH key exchange, host key, cipher and MAC lists |
| This computer's certificates (`--os-stores`) | Windows Personal store, macOS System and login keychains, Linux local trust anchors |
| Production logs (`--logs`, `cbomly logs`) | TLS versions, cipher suites and key exchange groups (including X25519MLKEM768) from AWS load balancer, Cloudflare, nginx, Apache and HAProxy logs; SSH login key types, key exchange and ciphers from `sshd`; OpenVPN TLS, data cipher and peer certificate key size; strongSwan IKE/ESP proposals. Counted and marked seen in production, not in your code, or configured only |
| Dependencies (via Syft) | Over 40 crypto library families and runtimes (OpenSSL, Bouncy Castle, wolfSSL, AWS-LC, Tink, libsodium, OpenSSH, Java, .NET, Go and more), with whether the version supports post-quantum algorithms. Abandoned libraries such as PyCrypto and crypto-js are called out |
| Third-party crypto services | AWS KMS, CloudHSM, Certificate Manager and Secrets Manager, Google Cloud KMS and Secret Manager, Azure Key Vault, HashiCorp Vault, Thales Luna, YubiHSM, Fortanix, PKCS#11 HSMs, Let's Encrypt and eMudhra, listed as vendors |
| AI models | Model files (Safetensors, GGUF, ONNX, PyTorch, TensorFlow, Keras, Core ML, TFLite and more, with SHA-256; Git LFS pointers count too), Hugging Face model ids in code, and hosted models named in code or config (GPT, Claude, Gemini, Llama, Mistral, DeepSeek and others). Pickle-based model files are flagged because they can run code when loaded, and opened safely (never loaded) to catch ones that import `os`, `subprocess`, `eval` and the like. Model cards are read from GGUF and Safetensors headers and from Hugging Face `config.json`, `README.md` and `adapter_config.json` saved next to the weights |
| AI libraries | ML frameworks (PyTorch, TensorFlow, Transformers, scikit-learn…), model runtimes (ONNX Runtime, llama.cpp, Ollama, vLLM…), LLM and agent frameworks (LangChain, LlamaIndex, Vercel AI SDK…) and AI provider SDKs, from imports, manifests and the SBOM |
| Hardware and firmware | Firmware images (UF2, Intel HEX, S-record, DFU, ELF firmware, MCUboot-signed images, ESP-IDF images, FIT/device-tree blobs, UEFI capsules) with their target chip and signature algorithm; boards and chips from PlatformIO, Arduino, ESP-IDF `sdkconfig`, Yocto `local.conf`, STM32CubeMX `.ioc` and device trees; firmware signing set in ESP-IDF, Zephyr/MCUboot and U-Boot FIT sources (rated for quantum risk like other crypto); parts from KiCad schematics and BOM CSVs; secure elements and TPMs (ATECC608, SE050, OPTIGA, ST33, TPM 2.0) from parts, device trees and code |
| Third-party services (vendor inventory) | About 90 services across AI providers, cloud (per service, e.g. Amazon S3), payments, email, SMS, identity, analytics, monitoring, hosted databases, search and more, found from SDK imports, API hostnames, API-key variable names, manifests (requirements.txt, package.json, go.mod, pom.xml, Gemfile, Cargo.toml, .csproj…) and the SBOM |
| Weak and broken crypto | MD4, MD5, SHA-1, DES, 3DES, RC2, RC4, Blowfish, IDEA, CAST5, ECB mode, SSL 3.0, TLS 1.0/1.1, JWT `none`, XML-signature `rsa-sha1` (SAML), legacy PKCS#12 encryption |
| Safe crypto | AES (with key size and mode), ChaCha20-Poly1305, SHA-2, SHA-3, BLAKE2, HMAC, key derivation (PBKDF2, HKDF, scrypt, Argon2, bcrypt) and secure random number generators. Listed in the CBOM and marked quantum-safe, so the inventory is complete. AES-128 is marked "weakened by quantum" |

Every algorithm, certificate, key and protocol gets one status: **broken**, **deprecated**,
**quantum-vulnerable**, **weakened** (by quantum attacks, e.g. AES-128) or **safe**. Certificates also
show issuer, public key, signature and expiry. Keys show size or curve. The **Crypto vendors** section lists
who supplies or controls your crypto: library makers, certificate issuers, and key management services.
AI detection and the vendor inventory always run; they never send anything anywhere.

Detection is pattern-based, so it is fast and needs no build, but it can miss crypto hidden behind
wrapper functions, and it can report false positives. Constants found in binaries show an algorithm is
compiled in, not that it is used. Findings carry a
confidence level (high, medium, low).

## Rule packs

The scanner itself is country-neutral. Requirements live in small TOML files called rule packs, so
a new country or standard is a new file, not new code. Built-in packs:

| Pack | Status | Covers |
|---|---|---|
| `baseline` | stable | Quantum-vulnerable crypto, broken and deprecated algorithms, short RSA keys, committed private keys, expired certificates |
| `us` | verified | NIST IR 8547, EO 14412, OMB M-26-15, CISA 2026 SBOM minimum elements |
| `us-cnsa2` | verified | NSA CNSA 2.0 (FAQ v2.1) for national security systems (includes `us`) |
| `us-fda` | verified | FD&C Act section 524B SBOM and FDA premarket cybersecurity guidance (medical devices) |
| `eu` | verified | Cyber Resilience Act SBOM, EU PQC roadmap, NIS2 cryptography rules, DORA key management |
| `uk` | verified | NCSC PQC migration timelines (2028 / 2031 / 2035) |
| `ca` | verified | Government of Canada PQC roadmap and TBS SPIN, OSFI quantum readiness |
| `au` | verified | ASD: stop traditional asymmetric crypto by end of 2030 |
| `sg` | verified | MAS quantum advisory and proposed 2030 / 2034 migration timelines |
| `jp` | verified | Government 2035 target, FSA guidance for banks |
| `india` | verified | CERT-In BOM guidelines (SBOM + CBOM), SEBI CSCRF, DST post-quantum roadmap milestones |
| `pci-dss` | draft | PCI DSS v4.0.1 cipher suite, key and certificate inventory (12.3.3, 4.2.1.1, 6.3.2) |

Combine packs for the markets you sell to, e.g. `--rules eu,us,india`.

See [docs/rule-packs.md](docs/rule-packs.md) to write your own and load it with `--rules-dir`.

Each reference in a pack links to the official document, with a short quote and the date it was
checked (`verified`). Claims we could not confirm were left out. `pci-dss` stays draft because the
PCI SSC PDF is licence-gated, so it was checked against a verbatim copy. The reports are informational, not legal advice.

## Development

```bash
python3 -m venv .venv && . .venv/bin/activate
pip install -e ".[dev]" "cyclonedx-python-lib[json-validation]"
pytest
ruff check src tests
```

Every key and certificate under `tests/fixtures/` is a throwaway test fixture.

To report a security problem, email team@cbomly.com.

## Licence

Proprietary, free to use: the Cbomly Software Licence in [LICENSE](LICENSE), plus the Terms of Service at https://cbomly.com/terms/. Versions 0.8.1 and earlier were released under Apache-2.0; copies of those keep that licence.

# What's new in Cbomly

Update with `pipx upgrade cbomly`, the installer, or the update button in the Cbomly app.

## 0.13.0 (4 December 2026)

- **Software list no longer hangs on Windows**: Syft now writes its results to a file and runs without a console window or keyboard input. Before, a scan on Windows could wait forever on the "Building the software list" step, even after Syft had finished.
- Syft skips folders that hold no shipped software (.git, node_modules, virtual environments and caches), and stops after 5 minutes on a folder (15 on a container image). The scan then finishes without the software list and says why.
- **Stop scan works at once**: the screen shows the scan as stopped straight away, and Syft and anything it started are ended. If a stopped scan is still busy after 10 seconds, Cbomly writes where it is stuck to `app.log`.
- The scan screen shows time as "12 min 5 s" after the first minute, shows what Syft is doing instead of the last file read, and shows "Stopping…" only on the button.
- **Report details**: on the Report page, set the product name, who the report is prepared for and who prepared it. Cbomly remembers them for each project. The report no longer falls back to your computer's login name.
- **Which regulations apply to you**: Report details also asks five yes or no questions (payment card data, financial firms, government, US national security systems, US medical devices). The signed report uses the answers to mark each country's or standard's regulations "Applies" or "Probably doesn't apply", with the reason, and moves gaps that probably don't apply to an annex. Elsewhere, a note says not every regulation applies to every product.
- **Compliance gaps**: "Regulation gaps" are now called compliance gaps everywhere.
- **Nothing cut off in the report**: long lists are shown in full. Every place an item was found, every file not read and software packages beyond the first 300 are in numbered annexes at the end, and the body says which annex.
- **All clear at a glance**: when Fix now, Compliance gaps, Quantum-vulnerable or Weakened has nothing in it, the sidebar and Overview show a green tick and say so, such as "Nothing unsafe today. Nothing to fix now."
- **Sidebar by BOM**: the inventory is grouped as CBOM (cryptography), SBOM (software), AI BOM, HBOM (hardware) and vendor services, and each page shows which BOM it belongs to. Drag the sidebar's edge to make it wider or narrower; double-click the edge to reset it.
- **Keyboard**: Ctrl+N (Cmd+N on a Mac) new scan, Ctrl+, Settings, Ctrl+F search, Ctrl+P save the report as PDF, arrow keys through the sidebar and lists, Esc to close a dialog or stop a scan.
- **Settings** shows "Saved" after each change and has a Start a scan button.
- **Upgrade plan**: the signed report offer appears once, above the steps, instead of on every row. When the software list was not built, the checks that need it are one step that says to turn it on in Settings, instead of several gaps telling you to install Syft.
- **Your compliance tool**: each tool's status says what to do next: "Needs the Evidence plan", "Add your API key" or "Connected · last sent" with the date.
- Crypto agility part names are bold, as in the PDF report. Headlines wrap in narrow windows instead of being cut off.

## 0.12.0 (3 December 2026)

- **PCI DSS crypto and certificate evidence**: `cbomly probe` checks servers you own, from your own computer, and records every TLS protocol and cipher suite each one accepts, in the server's order of preference, plus every SSH key exchange, host key, cipher and MAC it offers. Give it hosts, host:port, a network such as 10.0.0.0/28 or a file of them. It makes at most 5 new connections a second and asks you to confirm you own or may test them. Add `--probe` to `cbomly scan` to include servers in a scan, or list them in the app's Settings.
- **This computer's certificates**: `cbomly scan --os-stores` (or the Settings switch) also lists the certificates in the Windows store, macOS keychains or Linux trust anchors. Built-in root CAs are left out.
- **Certificate inventory for PCI DSS 4.2.1.1**: every certificate found in files, keystores, servers and stores becomes one row with its owner, where it was found, expiry and whether renewal is automated. Compliance tracking shows them, and each yearly review keeps them so the next one shows what was added, removed or renewed.
- **Expiry runway**: public TLS certificates may last at most 100 days from 15 March 2027 and 47 days from 15 March 2029 (CA/Browser Forum ballot SC-081). Cbomly flags certificates renewed by hand now, and expired or nearly expired ones.
- **Assessor pack** (Evidence plan): `cbomly push file --qsa`, or **Save assessor pack** in Compliance tracking, saves the 12.3.3 inventory and server cipher suites with a justification for each, the 4.2.1.1 certificate list, a cover sheet with open items and what changed since the last review. Owners and justifications come from `cbomly-pci.toml`, and Cbomly writes a template with everything to fill in.
- The free 12.3.3 inventory gains a Justification column.

## 0.11.0 (3 December 2026)

- **Upgrade plan, dated**: the Upgrade plan now lists every step, in order, with the date each of your buyers' rules sets. Anything unsafe today comes first. Each quantum-vulnerable algorithm then gets the earliest date from the regions you ticked in Settings (for example India's 2027 and 2028 milestones, the EU's end of 2030 for high-risk uses, NIST's "deprecated after 2030, disallowed after 2035"), with a link to the official text. Within a date, settings you can change in a config file come before code. The whole plan is free in the app, in `cbomly term` and in the PDF report.
- **Crypto agility score**: one number out of 100 for how easily a project can swap algorithms, from five parts you can see: set in config rather than code, few places to change, post-quantum already working somewhere, crypto libraries at versions with ML-KEM and ML-DSA, and nothing broken today. It is worked out from the scan alone.
- **Next date**: the plan shows the next regulation date that applies to you (such as 1 January 2027 for new US national security acquisitions under CNSA 2.0) and the inventory steps the scan already completes.
- How to close each regulation gap stays in the signed report, as before. Rule packs now carry the date the plan uses for each quantum rule (`plan_by`).

## 0.10.0 (3 December 2026)

- **Seen in production**: add your load balancer, web server, SSH or VPN logs and Cbomly shows which cryptography production really negotiates. It marks each algorithm and protocol as seen in production, not in your code (seen in the logs but missing from the code and configuration scanned), or configured only. It reads AWS load balancer logs, Cloudflare HTTP request logs, nginx, Apache and HAProxy logs that record TLS, OpenSSH server logs, OpenVPN and strongSwan. AWS connection logs and Cloudflare logs also show how many connections used post-quantum key exchange.
- Use `cbomly scan ./my-product --logs /var/log/nginx`, or `cbomly logs PATH` for the logs on their own. In the app, use **Add logs** on New scan. `cbomly term` has a logs field.
- The logs are read on your computer. Cbomly keeps counts and dates only, never IP addresses or user names.
- The report gets a "Seen in production" section, and the CBOM marks each component with `cbomly:observed` and `cbomly:observedCount`. A new PCI DSS rule, PCI-4.2.1-SEEN, flags TLS 1.0 or 1.1, SSL 3.0 and broken ciphers that production logs show in use.
- **Your compliance tool**: `cbomly push vanta` and `cbomly push drata` send your crypto inventory to your own Vanta or Drata account with your own API key, from your computer or CI. Nothing goes through Cbomly. `cbomly push file` saves the same evidence for Sprinto or any other tool. Sending is in Beta and needs the Evidence plan, opening mid-December.
- **PCI DSS 12.3.3 inventory**: a free CSV of every cryptographic asset, its purpose, where it is used and its planned replacement, ready for your QSA. In the app under Compliance tracking, or `cbomly push file`.
- **Compliance tracking** in the app: connect Vanta or Drata, record each year's review with what changed since the last one, and see new regulations and deadlines that affect your project.
- **India pack**: DPDP Rules (security safeguards, access logs kept a year) and CERT-In 2022 directions (logs kept 180 days, clocks synced to NIC or NPL time servers), read from logrotate, journald, chrony, ntp, timesyncd, Terraform, CloudFormation and Loki settings.
- **New prices**: scans stay free for local use. A signed report is $490, and the Evidence plan is $1,500 a year per company. Both open mid-December.
- **Licence**: Cbomly is now free to use under the Cbomly Software Licence (see `LICENSE` and cbomly.com/terms) instead of Apache 2.0. Use it on as many computers and CI jobs as you like, at work too. Versions 0.8.1 and earlier keep the Apache 2.0 licence.

## 0.8.1 (3 December 2026)

- **Software update**: after Install update, the app reopens on the new version on a Mac too. Before, it could close and not come back.
- Install update now works when Cbomly was installed with uv pinned to one version, and it checks that the new version is really installed before restarting.
- If the app can't restart after an update, the reason is saved in `app.log` in Cbomly's folder.

## 0.8.0 (3 December 2026)

- **PRO label**: a PRO label next to the logo, in the app and in `cbomly term`, when a signed report covers the open project or an add-on is active.
- **Upgrade plan** shows "✓ Yours" in place of $59 once you have bought that project's report.
- **Settings > Your plan** lists your licence keys and lets you add one.
- **Terms of Service**: the first time you open the app or `cbomly term`, you agree to the [Terms of Service](https://cbomly.com/terms/) once, with one click.
- **Report disclaimer**: the PDF and printed report end with a disclaimer and hold-harmless notice. It is not shown on the app's Report page.

## 0.7.1 (3 December 2026)

- `cbomly term`: the bar on the Overview fits terminals of any width instead of wrapping onto a second line.

## 0.7.0 (3 December 2026)

- **Cbomly in the terminal**: `cbomly term` is the whole app in your terminal, keyboard first, with Bit, a small face that reacts to your results. Typing `cbomly` on its own asks whether you want the window or the terminal, and remembers.

## 0.6.1 (2 December 2026)

- **AI BOM**: a new `aibom.cdx.json` (CycloneDX ML-BOM) lists each AI model with its model card where the project holds it (task, architecture, training data, licence, base model, size), SHA-256 hashes, AI libraries and the hosted AI services the product uses, and what is still missing for each model.
- **Hardware BOM**: a new `hbom.cdx.json` lists boards, microcontrollers, secure elements and TPMs, firmware images (with their signing algorithm) and parts lists. The app has a Hardware & firmware page.
- **Software update page** in the app: your version, the new version, download size, what's new and one-click install.
- **Appearance setting**: System, Light or Dark.
- Empty categories keep a muted version of their colour.
- The Cbomly icon shows in the Linux dock and the Windows taskbar.
- "Copy prompt for your AI" is now a paid feature: the signed report includes 100 AI credits, and an AI add-on is coming soon.

## 0.6.0 (2 December 2026)

- **The Cbomly app**: run `cbomly app` to choose a folder, watch the scan and read what to fix first, with why it matters and what to do. Light and dark mode. The installers add it to Applications, the Start menu or the app menu.
- **The report**, in the app and as a PDF: executive summary, key findings, findings in detail with how to fix them, regulations by country with links to the official text, and a full inventory. The header shows the scan time in UTC and local time, the computer and the logged-in user.
- **Every file accounted for**: files read plus files not read equals files found. A new `files-not-read.csv` lists each file not read and why.
- **Cloud sources**: scan a Git URL, `s3://`, `gs://` or `az://` location with the sign-in you already have. Cbomly downloads into a temporary folder, scans on your computer and deletes it.
- **History**: compare scans of the same folder and see what changed.
- More accurate AI detection: fewer false matches for hosted models, and open-weight models (such as Gemma) are marked as run locally when they are.

## 0.5.1 (2 December 2026)

- Container image scans skip the operating system's package signing keys and Python's standard library.
- Algorithm tables inside compiled binaries no longer count as broken or deprecated use.
- Fixes for IPsec ML-KEM proposals, HAProxy `ssl-min-ver`, scoped npm packages and duplicate operating-system libraries.

## 0.5.0 (1 December 2026)

- **Container images**: `cbomly scan nginx:1.27` scans every layer of an image.
- **Live servers**: `cbomly tls example.com` checks TLS versions, post-quantum key exchange and the certificate chain of a server you run.
- **Compiled binaries**: crypto library versions and algorithm constants in ELF, PE and Mach-O files.
- **Configs and infrastructure as code**: nginx, Apache, HAProxy, SSH, WireGuard, IPsec, OpenVPN, Terraform, CloudFormation, Bicep and Kubernetes.
- **Keystores**: Java keystores, PKCS#12, OpenPGP, PuTTY keys and JWKS.
- More than 40 crypto library families, and post-quantum APIs in Java 24, .NET 10 and Apple CryptoKit.

## 0.4.0 (1 December 2026)

- **AI models and libraries**: model files, Hugging Face model ids, hosted models named in code, and ML frameworks.
- **Third-party services**: about 90 services, from AI providers to payments and email, found from code, manifests and the software list.

## 0.3.1 (1 December 2026)

- Syft, which builds the software list, downloads automatically on first use and is checked against its published checksums.

## 0.3.0 (1 December 2026)

- Windows support.
- `cbomly import` reads a CBOM from IBM CBOMkit, cdxgen or another CycloneDX 1.6 tool.

## 0.2.0 (30 November 2026)

- First release: scan a folder for cryptography, write a CycloneDX CBOM, and check it against rule packs for India, the EU, the US and more.
