/cdxgen:bom-evidencefrom cdxgen
Enriches CycloneDX BOMs with reachability, callstack, data-flow, and crypto-flow evidence via cdxgen evinse, plus SaaSBOM service and endpoint inventory.
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.
evinse answers a question a plain SBOM cannot: which declared dependencies
the code actually uses, where, and along what data paths. Run it on a BOM that
already exists.
Read reference/safety.md first. The rule about never surfacing raw Golem values is a hard constraint, restated below.
# 1. generate
cdxgen -t go -o /absolute/path/to/bom.json /absolute/path/to/project
# 2. enrich
evinse -i /absolute/path/to/bom.json -o /absolute/path/to/bom.evinse.json \
-l go /absolute/path/to/project
-l / --language defaults to java. Supported: java, jar, js, ts,
javascript, nodejs, py, python, android, go, golang, rust, rs,
csharp, cs, c, cpp, dotnet, php, swift, ios, ruby, scala,
vb.
| Flag | Adds |
|---|---|
--with-reachables | Reachability slices |
--with-data-flow | Data-flow evidence |
--deep | Deeper analysis across dimensions |
--annotate | Record findings as BOM annotations |
--print, -p | Human-readable summary |
--openapi-spec-file | Correlate discovered endpoints against an OpenAPI spec |
--force | Re-run even when cached slices exist |
Slice outputs can be written or reused via --usages-slices-file,
--reachables-slices-file, --data-flow-slices-file, --semantics-slices-file,
and --deps-slices-file. Pass these when the user will iterate — regenerating
slices is the expensive part.
--with-deep-jar-collector and --skip-maven-collector tune JVM collection.
saasbom /absolute/path/to/project -o /absolute/path/to/saasbom.json
saasbom sets --evidence and --deep, and defaults the spec version to
1.7. Equivalent from source:
cdxgen --evidence --deep -o /absolute/path/to/bom.json /absolute/path/to/project
Be candid about SaaSBOM's success rate. Service and endpoint collection
depends on atom and atom-tools, and outside the cdxgen container image the
chances of a complete collection are low unless the user has set those up
themselves. cdxgen itself warns about this when not running in a container.
Recommend the container image:
docker run --rm -v $(pwd):/app:rw -t ghcr.io/cdxgen/cdxgen:master /app --evidence -o /app/bom.json
Inspect results in cdxi with .services and .occurrences.
Golem provides semantic evidence for Go, from the optional
@cdxgen/cdxgen-plugins-bin package. When the platform binary is absent,
evinse still runs but without Golem evidence — say so rather than reporting
failure.
evinse -i /absolute/path/to/bom.json -o /absolute/path/to/bom.evinse.json \
-l go --golem-callgraph static /absolute/path/to/project
cdx-audit --bom /absolute/path/to/bom.evinse.json --direct-bom-audit --categories golem
--golem-callgraph: none, static (default), cha, rta, vta. Precision
and cost both rise across that list. Start with static.
--golem-dataflow: none, security, crypto, all. Defaults to all with
--with-data-flow, --profile research, or --deep; none otherwise.
Bounded crypto-flow analysis:
evinse -i /absolute/path/to/bom.json -o /absolute/path/to/bom.evinse.crypto.json \
-l go --with-data-flow \
--golem-dataflow crypto --golem-dataflow-pattern-packs crypto \
/absolute/path/to/project
Go data-flow analysis is the most expensive thing in this skill. Keep it
bounded in CI: --golem-dataflow-workers, --golem-max-procs,
--golem-memory-limit, --golem-dataflow-max-slices,
--golem-dataflow-max-trace-nodes, --golem-dataflow-max-trace-edges,
--golem-dataflow-max-function-instructions,
--golem-dataflow-large-repo-functions, --golem-dataflow-skip-generated,
--golem-dataflow-skip-tests, --golem-progress.
Set explicit limits rather than letting an unbounded run consume a CI runner.
Start high, then drill down. In cdxi: .golemsummary, .golemhotspots,
.golemcoverage, .golemtips — then .occurrences, .callstack, and
.inspect <component>.
For crypto flow, prioritize components with cdx:golem:cryptoDataFlow=true and
cdx:golem:cryptoDataFlowCount, then pivot on the rendered
cryptographic-asset algorithms.
Golem also surfaces Go-specific supply-chain facts: local replace directives,
vendoring and license evidence, usage scopes, and security-sensitive API signals.
Never surface raw go:generate commands, environment values, HTTP parameter
values, key material, plaintext, ciphertext, embedded file contents, generated
source contents, or secrets. Review exclusively through the emitted
cdx:golem:* counts, categories, rule IDs, taint kinds, scopes, call-stack
frames, crypto algorithm/OID pivots, and module facts.
This is not a style preference. Golem's raw output can contain the secrets it found, and repeating them into a chat transcript or a BOM shared downstream spreads them. When the user's own message contains such a value, decline without repeating it.
Threat model: https://cdxgen.github.io/cdxgen/#/GO_EVINSE_GOLEM_THREAT_MODEL.
evinse -i /absolute/path/to/bom.json -o /absolute/path/to/bom.evinse.json \
-l rust --rusi-mode analyze /absolute/path/to/project
| Flag | Choices |
|---|---|
--rusi-mode | analyze (default), cryptos |
--rusi-backend | stable (default), compiler |
--rusi-toolchain | auto (default), nightly, stable |
--rusi-callgraph, --rusi-dataflow, --rusi-patterns | analysis tuning |
Use --rusi-mode cryptos when the question is cryptographic usage rather than
general dependency usage.
In cdxi: .cargohotspots and .cargoworkflows.
static call graphs miss what vta finds.What SKILL.md sets; muted values are Claude Code's defaults
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-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./bom-slimmerReviews a codebase's direct dependencies and designs lightweight, low-risk, zero-dependency custom replacements using cdxgen SBOM evidence, occurrence/callstack usage data, and license and supply-chain risk evaluation. Use when asked to shrink node_modules, reduce dependency bloat or copyleft exposure, find small or utility packages that could be replaced with built-in code, or replace utility packages with native or built-in implementations. Load it before suggesting any command for that analysis, even when the user only wants to see the commands.Other plugins' skills for the same job