/cdxgen:crypto-bomfrom cdxgen
Generates a CycloneDX Cryptographic Bill of Materials (CBOM) using cdxgen, inventorying algorithms, certificates, keys, and protocols from source code and hosts. Audits for weak or deprecated primitives and supports post-quantum readiness assessment.
Ships in cdxgen. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this skill when the user wants to know what cryptography a codebase or host actually uses — for post-quantum migration planning, crypto policy compliance, or finding weak primitives.
Read reference/safety.md first. CBOM source
analysis uses the atom companion, which needs no JDK on the native-binary
platforms (linux-amd64, linux-arm64 glibc, linux-amd64-musl, darwin-arm64,
windows-amd64). Only the jar-based triples (darwin-amd64, windows-arm64,
linux-arm64-musl) require Java >= 23 and fail silently below it, so verify
java -version there before interpreting a thin CBOM.
cbom -o /absolute/path/to/cbom.json /absolute/path/to/project
The cbom command is not merely an alias with a flag. Invoking it sets:
| Setting | Value |
|---|---|
--include-crypto | on |
--evidence | on |
--deep | on |
--spec-version | 1.7, unless you pass one yourself |
Two combinations are rejected, not silently ignored:
cbom --component-type <t> — use cdxgen --include-crypto instead when you need component-type filtering.cbom -t os — crypto evidence collection analyses source with atom, which is meaningless and extremely slow against an OS inventory. Use obom for operating-system installations (see os-hardware-inventory).The equivalent explicit invocation, when you want to vary one part:
cdxgen --include-crypto --evidence --deep \
-o /absolute/path/to/cbom.json /absolute/path/to/project
cryptographic-asset components for algorithms, certificates, keys, and protocolsNote two modelling facts that surprise people:
cbom -o /absolute/path/to/cbom.json /absolute/path/to/project \
--bom-audit --bom-audit-categories cbom
The cbom category alias enables both rule sets:
| Category | Checks |
|---|---|
cbom-security | Weak or deprecated algorithms, insecure cipher modes, insufficient key sizes, outdated protocol versions |
cbom-compliance | Policy and standards conformance of the crypto inventory |
crypto-bom works as an alias for the same pair.
Audit an existing CBOM after the fact:
cdx-audit --bom /absolute/path/to/cbom.json --direct-bom-audit --categories cbom
In cdxi (see bom-explore):
.cryptos — the full cryptographic asset list.sourcecryptos — only the JavaScript/TypeScript source-derived algorithm components.trusted — trusted keys and certificatesReach for .sourcecryptos when the user's question is about code-level
algorithm usage rather than the certificates and keys shipped alongside it.
For Go projects, evinse can trace crypto data flow rather than just
presence — which values reach a cryptographic operation:
cdxgen -t go -o /absolute/path/to/bom.json /absolute/path/to/project
evinse -i /absolute/path/to/bom.json -o /absolute/path/to/bom.crypto.json \
-l go --with-data-flow \
--golem-dataflow crypto --golem-dataflow-pattern-packs crypto \
/absolute/path/to/project
Prioritize components carrying cdx:golem:cryptoDataFlow=true and
cdx:golem:cryptoDataFlowCount, then pivot on the rendered
cryptographic-asset algorithms. See bom-evidence for the full Golem surface.
Never surface raw plaintext, ciphertext, key material, or embedded file
contents from Golem output. Review through the emitted cdx:golem:* counts,
categories, taint kinds, and algorithm/OID pivots.
To see crypto actually exercised at runtime rather than inferred from source,
tracebom has dedicated probes:
tracebom --cmd "node app.js" --trace-crypto --crypto-probe-mode <mode> \
-o /absolute/path/to/trace-cbom.json
See runtime-trace-bom.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
cbom, cyclonedx, cryptographic-inventory, post-quantum, crypto-audit
npx claudepluginhub cdxgen/cdxgen --plugin cdxgen14 skills in this plugin
/ai-bomGenerates AI-BOM, MCP inventory, AI skill inventory, and AI authorship provenance documents with cdxgen, cataloging models, inference services, Hugging Face purls, MCP servers and their tools/prompts/resources, agent instruction files, and cdx:ai:codegen provenance signals, then audits them with AI-focused rule packs. Use when asked to inventory AI or ML usage, catalog MCP servers, audit agent instruction or skill files, assess AI supply-chain risk, or detect AI-generated code authorship./bom-auditRuns supply-chain risk analysis on CycloneDX BOMs with cdx-audit predictive auditing and cdxgen --bom-audit embedded rules, covering npm and PyPI package compromise posture, CI permission risk, dependency source integrity, license policy violations, and SARIF or JSON reporting for code scanning. Use when asked to audit an SBOM, assess supply-chain or dependency risk, check for compromised or malicious packages, triage which dependencies to review first, or produce SARIF from a BOM./bom-convert-validateConverts CycloneDX BOMs to SPDX 3.0.1 JSON-LD or between CycloneDX spec versions with cdx-convert, and validates BOMs against JSON schema, deep consistency checks, and OWASP SCVS and EU Cyber Resilience Act compliance benchmarks with cdx-validate, emitting SARIF for code scanning. Use when asked to convert an SBOM to SPDX, downgrade or upgrade a BOM spec version, validate or lint a BOM, check SCVS or CRA compliance, or score SBOM quality./bom-evidenceEnriches an existing CycloneDX BOM with occurrence, callstack, reachability, data-flow, and crypto-flow evidence using cdxgen evinse, including Go analysis via Golem and Rust analysis via Rusi, and produces SaaSBOM service and endpoint inventory. Use when asked which dependencies are actually used or reachable, for callstack or usage evidence, a SaaSBOM, API endpoint inventory, data-flow or taint analysis, or to distinguish real from declared dependency usage, or what Golem found in a Go project, including requests to show Golem's raw values./bom-exploreExplores and triages a CycloneDX BOM interactively with the cdxi REPL, using built-in commands for dependency trees, licenses, services, cryptographic assets, audit findings, evidence occurrences and callstacks, unpackaged container binaries, HBOM and OBOM categories, and Golem or Cargo hotspots. Use when asked to inspect, query, summarize, or triage an existing BOM, find what is inside an SBOM, or answer ad hoc questions about BOM contents without writing scripts./bom-signingSigns and verifies CycloneDX BOMs using cdxgen's native JSON Signature Format (JSF) implementation via cdx-sign and cdx-verify, supporting granular component, service, and annotation signatures, parallel multi-signatures, and sequential signature chains. Use when asked to sign an SBOM, verify a BOM signature, establish BOM authenticity or non-repudiation, build an approval trail across pipeline stages, or generate signing keys.Other plugins' skills for the same job