npm / @cyclonedx/cdxgen
@cyclonedx/cdxgen
What changed in @cyclonedx/cdxgen 11 to 13, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
68 breaking77 security124 new APIs and options10 performance109 behavior and defaults11 tooling128 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@cyclonedx/cdxgen 13314 changes
Breaking changes 35
The audit gate can no longer be made to pass by the repository being scanned.
Under Deno, child processes now start with exactly the environment cdxgen chose instead of having removed parent variables merged back in.
Conda packages receive pkg:conda purls, pip installs inside conda environments remain pkg:pypi, and INSTALLER-based attribution removes duplicate installed-environment components.
Digest-paired signature names without a padding scheme resolve to their own family, including DSA, OpenSSL CCM8, and RSA spellings; vulnerable padding schemes no longer mark an asset quantum-safe.
Secure mode now turns on whenever the Node.js permission model is active.
Shell invocations containing metacharacters are refused.
Gradle parsing excludes constraint lines, restores Gradle 9 project edges, preserves project structure, and assigns the strongest dependency scope.
A failed git clone returns HTTP 500 instead of an empty BOM with status 200, and credentials in logged Git URLs are redacted.
CBOM certificates are keyed by their DER SHA-256; repeated certificates become one component with multiple occurrences, and verified issuer edges reflect the actual signer.
Firefox, Chromium, and VS Code extension purls no longer include profile folders or home-directory paths; duplicate installations become one component with multiple occurrences.
Local file remotes are now constrained by the path allowlist.
npm and pypi package purls in an OBOM no longer include the host path.
A server request can no longer enable deep scanning.
A server request can no longer enable dependency installation.
OS inventory names VS Code extensions the same way the dedicated VS Code scan does, rather than folding in the publisher display name.
Requires --verify-existing-with or --allow-unverified-history before adding a signers entry.
Exits with status 4 whenever a key is given and verification fails.
Requires --public-key or --secret-key and a root signature; verification rejects invalid UTF-8, duplicate member names, and numbers not exactly representable as doubles.
Generated .NET purls no longer use @latest.
A project's settings.xml no longer overrides configured mirrors and credentials.
cdx-verify requires this repeatable option or --secret-key, rather than falling back to a working-directory public.key.
Fails when the sandbox refuses a trace run instead of writing an empty BOM.
Lets cdx-sign verify existing history before adding a signers entry.
Verification is stricter against BOM content not signed by the trusted key, including missing root signatures and ambiguous JSON values.
The cbom command rejects
-t osinstead of attempting source crypto analysis against an OS inventory.Distro qualifiers are aligned with purl namespaces, and Azure Linux and CBL-Mariner are canonicalised to azure-linux.
The npm package was renamed from @cyclonedx/cdxgen.
The generation floor is now CycloneDX 1.6, 1.7 is the default, and 2.0 is accepted as a target; CLI generation of 1.4 and 1.5 is no longer supported.
Container images moved from the ghcr.io/cyclonedx namespace to ghcr.io/cdxgen.
The minimum supported Node.js version is now 24.
Writes the BOM document to stdout instead of silently creating a file named -.
Invalid purls are omitted, PyPI names are normalized, and several purl forms were repaired; downstream consumers should normalize purl strings before lookup during the transition.
PyPI names containing dots or underscores are normalized to hyphens per PEP 503, changing both purl and bom-ref.
The Flux data-flow engine drops sanitised and benign flows, lowering reachable counts and increasing purl coverage; existing assertions may need re-baselining.
stdout carries only the payload; diagnostics move to stderr.
Security 42
Build tooling runs only when allowed by the operator; scanned repositories cannot control compilers, git filters, pip options, Swift compiler plugin options, or evidence-generation commands.
Credentials are excluded from BOM content and formulation records, redacted from logs and dry-run summaries, removed from network-path URLs, and only sent on requests cdxgen composed.
The token is handed to the cdxrs helper per request and only for lookups cdxgen composed.
Parsing, memory use, container and root-filesystem scans, repository-supplied slices, analyzer output, and server, git, registry, and TEA requests are bounded.
Scanned content can no longer read host files or reach blocked hosts; symbolic-link probes, archive extraction, executable lookup, and parser-produced allowlist comparisons are hardened.
Terminal escapes can no longer forge a success line in cdx-verify output.
A security fix addresses a symbolic link at bom.json in a scanned repository.
A security fix prevents Git HTTP redirects from bypassing the allowed-host restriction.
A security fix prevents a config file from making cdxgen use attacker-controlled patterns.
A security fix addresses quadratic parsing of crafted CrewAI files.
cdxgen reads dependency digests and PGP key IDs from Gradle verification metadata, and can report recorded digests that no longer match.
Installed .NET runtimes get a purl and CPE in formulation, restoring vulnerability matching for runtime components.
The HTTP client stops requesting Brotli when cdxgen runs on a runtime with an unpatched decoder.
Warns when file or link entries point outside the project and excludes those entries and their edges in secure mode.
Adds an audit finding when two copies of one extension build have different entry files.
A dedicated secure-mode entry point improves reliable secure-mode operation on bun and Windows.
ls-remote runs outside the scanned repository so repository git configuration cannot redirect it.
Server-mode git source checks resolve hosts like git, curl, and ssh, closing parser differences that could bypass the allowlist.
Four golem trust rules cover certificate expiry, the Go distrust list, and post-quantum readiness.
A new audit rule flags versions exposed to current PHP remote code execution issues.
With dependency installation disabled, secure mode skips project-controlled Maven, Poetry, PDM, .NET, and SwiftPM configuration that could execute scanned-project code.
Allows a BOM without a root signature only when every component, service, and annotation is signed.
pnpm BOMs no longer expose the absolute install path.
Fails when any entry or any provided key does not verify.
Keys response-cache entries on credentials so one user's response is not served to another.
Adds audit rules for mutable git refs, registry modules without exact versions, and sources with embedded credentials.
Prevents credentials in module sources from reaching the BOM.
Crafted container image tar references can no longer access host files through layer, config or WorkingDir paths.
flake.nix inputs are capped or rewritten to run in linear time, reducing parsing abuse.
When dependency installation is disabled, project-local build wrappers and rush or pipenv installers are no longer executed.
Files with prototype-polluting keys now produce a warning instead of crashing.
pnpm lock entries named __proto__ are prevented from reaching the SBOM.
Docker-config registry credentials are forwarded to a token realm only when it is on the registry's own host.
requirements.txt inputs are capped or rewritten to run in linear time, reducing parsing abuse.
Arguments passed to shell commands are quoted for the platform shell so paths with spaces or shell characters remain single tokens.
tracebom runs traced commands through safer-exec with an egress proxy, sandbox dry-run mode and policy flags, and reports unavailable tracing or command failures.
PyTorch pickle checkpoints are flagged because loading them executes code.
ML-DSA, ML-KEM, and all twelve SLH-DSA parameter sets use verified OIDs; unresolvable families are skipped rather than assigned fabricated OIDs.
SLH-DSA now requires its hash family, preventing crashes on spellings such as SLH-DSA-192f.
Plugin skills preview actions with a dry run and do not install dependencies on the user's behalf.
These files are detected and hashed but never executed; repairs are taken from the lockfile instead.
packageExtensions in a project's package.json are applied declaratively and disclosed on the BOM without executing project code.
New APIs and options 82
The callsites slice gains an --annotate option and runs for every atom language.
cdxgen now parses environment.yml files and produces conda package purls with build, channel, subdir, and type qualifiers.
The callsites slice gains an --exclude option and runs for every atom language.
cdx-validate adds a CISA 2026 minimum-elements rule set.
Enable Gradle lockfile reading without running Gradle.
Build inputs are recorded under formulation for supported project types.
cdxgen now reads GitHub Actions workflow dependency lockfiles; locked commits, composite-action graphs and audit rules are not included yet.
Opt in to reading Gradle lockfiles, including buildscript, settings and legacy layouts, without running Gradle; it is also an automatic fallback in secure mode or when Gradle resolves nothing.
A new audit rule reports when a recorded dependency digest no longer matches.
Use --spec-version 2.0 to generate, read, sign and audit CycloneDX 2.0 documents; the default remains 1.7.
Container, rootfs, and OBOM scans probe unpackaged binaries for Brotli decoder fix state and record it on files embedding a decoder.
Adds a rule category for Brotli security findings.
Adds a read-only Claude Code agent that validates and audits an existing BOM without writing files.
Caps aggregated .NET method-call rows at 1,000,000 distinct rows to reduce memory use.
Routes Maven Central lookups and supported build-tool traffic through Google's mirror; accepts true, eu, asia, or an HTTPS URL.
pnpm 12 config dependencies, patched packages, patch metadata, catalogs, and the pinned pnpm version are represented in the BOM.
Ruby project scans identify MRI, JRuby, and TruffleRuby versions; host and container scans also inventory unpackaged interpreters and gem homes.
Adds an IDE scan that inventories extensions across supported editors, remote servers, and copied extension folders.
Adds an audit finding for extension folders the editor never registered.
Adds an audit finding for extensions installed from a local .vsix.
Scans now discover Android SPKI pins.
OS inventory captures browser search engines per profile.
The CBOM audit rule set now includes rules CBC-001 through CBC-007.
Selects the Composer binary used by runtime probes.
evinse now reports services for Go projects, with router-compatible endpoints percent-encoded safely.
A new Go TLS audit rule is included in the expanded rule set.
A new rule flags snaps installed in devmode, where the sandbox is not enforced.
Selects the PHP binary used by runtime probes.
dosai accepts a --sections request on deep .NET runs.
Allows cdx-sign to add a signers entry without verifying existing history.
Angular app.config.ts files are now analyzed.
astgen adds template analysis for Ember, Angular, Alpine, and Astro.
Reads CMake presets to find build trees.
Mill 1.x projects are inventoried.
scala-cli projects are inventoried.
cdx-verify requires this option or --public-key.
Supports Windows tracing in a Microsoft eXecution Container and records loaded DLLs through ETW with valid purls.
Now include tracebom.
Full CMake and compilation database support depends on atom 4; atom 3.1.1 parses sources without a database as before.
Atom runs have their own configurable time limit.
CAXA_PREFETCH is documented as a configuration point for standalone-binary prefetching.
The standalone binary extraction directory is a reusable cache, with CAXA_TEMP_DIR documented for configuring it.
A path to a CMake cache can be supplied so cdxgen can resolve C and C++ dependencies from the build.
Specify a JSON compilation database explicitly for cdxgen or evinse; it is passed to atom only when the installed atom supports it.
The new caxa mode builds an SBOM from the extracted app, including npm integrity hashes, present native tools and vendored packages.
A new project type inventories installed agentic coding assistants, recording versions and structural counts without configuration values and redacting home paths.
Dosai package reachability verdicts are propagated with their kind, confidence, and reasons.
Kotlin analysis records data-flow slices, trace completeness, workspace-root reachability, and kosi diagnostics, including degraded status when kosi does not trust its counts.
Set a target triple to resolve the Cargo dependency graph for that specific target.
Set this environment variable to 1 to opt out of kosi analysis.
Use this flag to opt out of kosi analysis.
Configure the registry-aware default user agent with this environment variable.
Override the user agent for the crates registry.
Elm is supported as a project type, including elm.json and legacy 0.18 lockfiles, with offline enrichment from ELM_HOME and optional registry queries.
evinse can analyze Kotlin sources natively with kosi, producing source locations, callstacks, cryptographic assets, and SaaSBOM services instead of using the generic JavaScript path.
Kotlin analysis surfaces JNI seams, loadLibrary binding sites, and cinterop .def files as security signals on the components they attach to.
The JavaScript analyzer provides first-class Svelte and SvelteKit support, recovering source evidence from .svelte imports and attributing SvelteKit virtual modules to @sveltejs/kit.
cdxgen ships as a Claude Code plugin for SBOM, container and host scans, CBOM, AI-BOM and MCP inventory, auditing, signing, validation, evidence enrichment, and Dependency-Track publishing.
SaaSBOM routes include handler path and query parameters, request body type, and response type across gin, chi, echo, and net/http.
Scans can report SBOM completeness, build-environment limitations, and ranked remediations to improve fidelity.
The introspect profile provides SBOM completeness reporting and ranked remediation guidance.
CycloneDX 1.7 cryptographic assets support the algorithmFamily field.
Zig is a first-class project type; build.zig.zon is read and the full transitive graph is resolved.
A cache subcommand is available for the bounded fetch cache.
Sets the fetch cache TTL.
The BOM discloses applied npm packageExtensions.
The BOM discloses a hash for applied npm packageExtensions.
Setting this environment variable to stdout restores the v12 stream layout during migration.
CycloneDX 1.7 citations are supported at the document root.
Controls color output.
CycloneDX 1.7 cryptographic assets support the ellipticCurve field.
Gleam is a first-class project type and its project and manifest files are read to map packages to pkg:hex.
Selects the log format, including NDJSON on stderr.
Traffic Light Protocol classification is supported under document distribution constraints, with value redaction for CLEAR, GREEN, and AMBER.
Bazel projects using bzlmod are parsed from MODULE.bazel and MODULE.bazel.lock, with resolved dependencies mapped to their real ecosystem purls.
Mojo is a first-class project type; Mojo-native packages are separated from conda and PyPI packages pulled in through pixi.lock.
Disables the bounded fetch cache.
Disables progress output.
A quiet flag is available.
Retrieves and merges a supplier SBOM over the TEA conformance endpoint.
Publishes the generated BOM as a TEA Artifact; the experimental publisher uses exit status 3 on failure so the locally written BOM is not lost.
Verbose levels are now countable.
Performance 9
Walks the source tree once instead of ten times.
Skips packages no public registry can describe and remembers answers for the whole scan.
Cargo, Go, NuGet, RubyGems, pub, jsr, and Elm enrichment reads local caches first and fills only missing data.
Builds are fully supported and faster; deep sbt scans reuse the Coursier cache.
Large standalone-binary companions become lazy members, extracted and verified on first use, reducing cold-start writes and memory use.
Crate metadata is read from the local Cargo registry before querying crates.io, reducing delays on large lockfiles.
Call graph construction is leaner and roughly ten times faster.
The cdxrs Rust binary backs fetch, while JavaScript paths remain primary and Rust paths are an optional optimization.
Startup and small-project scans are roughly 45 percent faster, peak memory is down, and large scans are significantly faster with the new Rust backend.
Behavior and default changes 70
Svelte components are parsed without importing atom-parsetools.
Class names are now read from AAR files in Maven and Gradle caches.
AI-BOM output now maps to CISA and G7 minimum elements for AI SBOMs.
Workspace packages in directories previously skipped by the import scan, such as examples/, are now scanned.
Records scan degradation when probe caps leave files unread, preventing a partial clean result from being silent.
JSON and SARIF report modes write only the report to stdout, keeping output parseable when checks fail.
Installed-package metadata prefers the PEP 639 License-Expression header.
Lists external tools actually started during a run, including bundled helper identities and resolved provisioned JVM tool versions.
Node.js 26 becomes the primary runtime for container images and single-executable binaries; Node.js 24 remains supported.
Host scans discover unpackaged Node.js installations and identify them with a generic purl and CPE.
Agentic scans cover additional AI editors and tools, read Claude Code and Codex versions from release links, and avoid naming an editor unless it is installed.
OS scans now add editors and extensions not reported by osquery, for the current user or all users when run as root.
Extension components retain the platform qualifier and record install metadata, hashes, and exact folder locations in evidence.
OS inventory records skills as components keyed by the SHA-256 of SKILL.md, with an occurrence for each installation location.
apk packages now carry their SPDX license IDs.
The BitLocker query now reports protector types.
Cache roots are evaluated according to the rules of the platform being scanned rather than the scan host.
Debian point releases are now recognized.
OS inventory derives the distribution from os-release using the same behavior as container scans.
OS inventory now includes GPUs as device components carrying the driver version.
The command now inventories Windows hardware, including platform facts, devices, topology, and machine state.
Keystores are emitted as components linked to the certificates they contain.
Scans now discover certificates in Kubernetes TLS secrets.
The BOM now names the dosai tool that produced a piece of evidence.
Composer lock files contribute platform requirements, PHP version, and named extensions as cdx:composer properties.
Scans record PHP and Composer in the formulation as platform components with their CPEs.
tracebom records the chain presented during a TLS handshake as untrusted observed evidence, without inferring issuer edges.
Ubuntu 26.x codenames are now recognized.
Astro configuration files are now analyzed.
Separates first-party and vendored code from third-party libraries.
Attributes evidence through resolved includes.
Records the compiler and its hardening flags in the formulation.
Deep sbt scans reuse the Coursier cache.
Uses metadata from the scanned project rather than the current working directory.
Produces Scala occurrences with exact lines, call stacks, crypto asset OIDs, and inbound and outbound endpoints without requiring atom.
Checks local Maven, Gradle, and Coursier caches first, reducing Maven Central requests and avoiding them when build tools use a repository manager.
Pauses a rate-limiting host, honors Retry-After, and advises which mirror setting to use; build tools stop retrying into a rate limit.
Captures TLS details and egress hosts from a normal prompt.
Fills metadata for poetry, uv, pylock, Pipfile.lock, and requirements entries.
backs off from hosts that rate limit.
Builds evidence from compiler facts for Scala 2.13 and Scala 3 through 3.10, improving precision and accuracy.
Default scans now pick up Terraform automatically.
Scans Terraform modules whether or not terraform init or tofu init has run, and builds a dependency graph from the root through modules to providers.
Reads module licenses from downloaded packages, with optional OpenTofu registry and GitHub lookup.
cdxgen resolves C and C++ dependencies from build trees, including CMake requirements and fetched or pinned dependencies, rather than stopping at manifests.
A JSON compilation database is automatically sought in the scan root, usual build directories, and next to --cmake-cache.
The Ruby collector no longer runs for every multi-type scan, avoiding unnecessary bundle install for non-Ruby projects.
In container mode, trivy runs only as a rootfs scan.
Windows container image scans can use WSL Containers automatically when wslc is installed, without requiring Docker Desktop.
Build dependencies and proc-macros move out of the component list into the formulation section, with their bom-refs kept resolvable.
Dynamically linked native libraries are marked external under CycloneDX 1.7.
Maven Central requests are gated behind a per-host rate policy to address its aggregate limits and escalating bans.
Detection now reads additional client configurations, MCP Registry server.json manifests, MCPB and DXT bundles, and signals from the MCP 2026-07-28 protocol draft.
Inventory now recognizes GGUF, safetensors, ONNX, and PyTorch pickle checkpoints.
Crates declaring links produce separate native C library components, so advisories can be associated with the native library rather than its Rust binding.
BOM submission now uses a multipart form POST.
Taint analysis carries field-qualified values across by-value aggregate copies and higher-order calls.
Analysis resolves routes, inventories services and AI usage, seeds taint sources, and maps trust zones, including MCP tooling.
Framework signals are derived from PyPI classifiers, and the frameworks list has grown.
Rust analysis evaluates cfg attributes.
Rust analysis now analyses dependencies.
Rust analysis types method receivers.
Rust analysis resolves real modules and imports rather than guessing.
Unordered collections are sorted at finalization for deterministic output, and annotation timestamps derive from the annotated document so repeated renders agree.
C/C++ BOMs now resolve CMakeCache.txt and git submodules, attach cache versions, collapse repeated CMake requirements, and emit relative purl subpaths for absolute includes and versionless lockfile roots.
A strict purl implementation enforcing the purl-spec ABNF and per-type policies replaces packageurl-js.
Container and OS scan BOMs are kept as CI artifacts even when a scan fails.
Embedded Python SBOMs under this directory are expanded so their declared components appear as dependencies of the distribution.
Native atom binaries remove the JDK requirement on five platform targets; the three jar-kind triples still need Java 23.
Path-style alias values are resolved instead of being built into purls.
Tooling 4
The plugin now loads in Claude Code, OpenAI Codex, GitHub Copilot and other coding agents from one source.
New Python 3.15 images are available.
Swift images now include sourcekitten, so Linux evidence collection does not require an extra install.
Go 1.27 projects are supported end to end.
Fixes and other changes 72
Installed npm packages are no longer reported as vendored pkg:generic directories in multi-type scans.
The protobuf export now translates environmentVars entries.
Deep scans read dep-info from both Cargo build-directory layouts, use cargo metadata to locate build directories, union package dep-info files, and drop stale artefacts.
When generation fails with spec version 2.0, cdxgen no longer writes or submits an empty BOM shell, and exit codes now match 1.7.
Manifest requirement ranges are excluded from cargo component versions, so constraints are not mistaken for resolved versions.
A cargo path dependency is listed once under the crate it builds, rather than appearing once version-less and once resolved.
Piped reports are no longer cut off at the pipe buffer; stdout drains before exit while the 0, 1 or 3 verdict is preserved.
An outdated slices file is regenerated before use, preventing occurrences for deleted code from persisting.
evinse reports one occurrence per use site and uses consistent place spelling, avoiding duplicate occurrences on Windows.
Root-project substitutions resolve to the root module instead of being assigned a bogus version.
Each scan path's ecosystems are resolved from one list, keeping per-path scans accurate.
Evidence credits the version a file actually loads rather than the newest matching package.
Component versions for npm workspaces are sharpened.
Manifest requirement ranges are excluded from pip component versions, so constraints are not mistaken for resolved versions.
Fixes the audit rule so it works during BOM audits and can flag ONNX models.
Projects built with poetry-core 2 are installed with all groups and extras so their dependencies are included in the BOM.
Trivy non-spec Bottlerocket purls are rewritten to pkg:rpm/bottlerocket while retaining component types.
Component authors receive only valid email addresses, validated using the same method as cdxrs.
Date-only certificate validity dates are parsed as the end of that UTC day.
Replaced, vendored, and workspace modules are reported as resolved by the build, and drifting dependency edges are retained.
The file is read according to Go toolchain semantics, including replace, exclude, and workspace behavior, so reported modules match resolved builds.
golem evidence matches module paths regardless of case.
Multi-project .NET scans name projects as in project.assets.json, keep assembly name distinct from package ID, and honor versions from Directory.Build.props.
Extraction applies OCI layer whiteouts so certificates deleted in later layers remain deleted.
Evidence is version-aware, lists each call site once, and no longer credits framework calls to coverlet.
Gradle builds using the configuration cache work again.
Gradle builds using isolated projects work again.
Attributes dependencies in multi-project Gradle reports to the correct subproject.
Packages with the legacy licenses field now get a license.
Resolves Maven reactors once.
MSBuild property versions now resolve.
Direct dependencies point to what was actually installed.
Multi-project solutions use the version from each project's own restore output.
A failed PyPI lookup can no longer rename a package.
Resolves repo-relative paths correctly and reports failures.
Writes a CBOM that validates against CycloneDX 1.6 and 1.7.
Keeps every traced crypto asset instead of only the last one.
Keeps uv workspace members in every scan.
Validator exceptions now surface in cdx-validate reports.
The .NET root is merged instead of duplicated, synthesized arborist edges are not marked as manifest sources, and protobuf round-trips no longer yield empty dependsOn.
dosai now respects the exclusion option.
JavaScript workspace members are now linked into the dependency tree.
Ruby gem metadata now describes the gem being built, with version and descriptive fields carried over from its gemspec and version.rb.
The cleaned npm version is recorded as a purl qualifier while reserved characters in purls are escaped exactly once.
A NuGet scan falls back when the service index is unreachable.
A gem's required Ruby version is represented as one Ruby platform component with an intersected version range.
Gemspec fields including email, singular license, unquoted homepage URLs and interpolated metadata URIs are now parsed.
evinse evidence is restored for the Swift Build backend by attributing calls through compiler-resolved references.
Bare owner/repo-shaped paths are no longer misclassified as Hugging Face repositories, avoiding an empty AI-only BOM.
A NuGet component's version and purl now stay in agreement.
The TOML parser change enables parsing PEP 735 dependency groups in pyproject.toml files.
The default user agent no longer gets blocked at crates.io's CDN edge, fixing 403s some users saw.
Rust dependency kinds and platform gates are resolved per edge, so this option filters dependencies correctly; observed optional dependencies are promoted to required.
Resolved Rust features are recorded per component.
Crypto algorithm assets resolve OIDs from the shared table; algorithms that cannot be named by the table are skipped instead of emitted invalid.
Audit rules remain evaluable when a property is absent.
Call graph construction falls back to CHA and records a diagnostic instead of aborting the report when underlying analysis panics.
Handler analysis follows import aliases and renamed context parameters, and resolves group-root registrations to their group prefix.
JVM projects can be resolved when their wrapper is broken or they target an unsupported JDK, avoiding shallow BOMs.
Poetry dependency keys are normalised.
Dependency-Track project tags are sent as a comma separated list so they do not land as a single value.
An unparseable workspace pyproject.toml no longer terminates the scan.
First-party modules are no longer misattributed to distributions.
Parsing emits parent dependency edges and repairs missing root edges.
Route templates resolve to concrete URLs, including versioned segments.
Rust analysis recovers from macros.
The cbom command alias now handles -t os.
Cleans the detected parent component.
Fixes canonicalisation of OS package URLs.
Fixes the TUI, which was broken with the new UX.
.NET Central Package Management projects governed by this file now resolve correctly.
Nix flake inputs use pkg:generic with a vcs_url qualifier and proposedType marker instead of the unrecognised pkg:nix type.
@cyclonedx/cdxgen 12201 changes
Breaking changes 29
Endpoint extraction is skipped with a warning and the Ruby slice is not produced when a path or name used in an atom-built shell command contains a space or shell syntax.
A
.cdxgen.jsonor.cdxgenrccan no longer enable evidence; use--evidence,--profileor--techniqueon the command line, or theirCDXGEN_variables.Container images built for 12.x releases no longer receive the
latesttag; usev12or12.9.2instead.When an output path is a symbolic link, cdxgen replaces it with a regular file and prints a warning instead of following it and overwriting the link target.
When a git host allowlist or secure mode is active, git refuses HTTP redirects and cdxgen explains the failure; renamed repositories must be requested by their current URL.
Config-file exclude and include-regex patterns are limited to 512 characters each and 128 expanded patterns in total.
Path options such as output must remain inside the config file's directory after symbolic links are resolved.
Config-file project types that inventory the machine rather than the project are dropped.
The server refuses requests that send more than 128 exclude patterns.
When scanning a directory inside a larger git repository, the formulation section lists only files in that directory.
The image command language property now uses language names rather than array positions, so commands containing values such as a port number are no longer mislabeled.
In a multi-type scan, replacing the main component drops the displaced Composer project component and its platform properties; per-package requirement properties remain.
Allows adding a signers entry without verifying existing signatures when explicitly selected.
Requires a root signature unless --allow-nested-only is used.
Refuses BOMs that are not valid UTF-8, repeat a member name, or contain a number a double cannot represent exactly.
Verification now binds each signature's algorithm, keyId and publicKey, and requires the algorithm to match the key type, fixing a signature forgery vulnerability. Signatures created with 12.8.4 or earlier must be re-signed.
HMAC signatures now require the
--secret-keyoption.When signing is configured but fails, cdxgen exits with an error instead of writing or uploading an unsigned BOM.
The distro_name value can contain only the distro codename.
Includes more Python build packages in generated results.
Filters @types/* npm packages out of runtime scope and requiredOnly BOMs so they appear as dev-only.
Exclude arguments are now passed to atom.
Chrome and IDE extension discovery is limited to explicit extension project types.
Secret-bearing metadata is redacted from BOMs.
The default CycloneDX specification version is now 1.7; use --spec-version 1.6 or lower for compatibility with existing platforms.
OS dependenciesList are merged into dependencies instead of being joined.
Container images are published only under the ghcr.io/cdxgen namespace; mirroring to ghcr.io/cyclonedx has no ETA.
Global-agent was removed in favor of native proxy support, which may change how proxy settings are applied.
All images now use semver tags, affecting how developers select image tags.
Security 35
Extraction checks parent directories, avoids writing through links or over existing files, and rejects malformed UTF-16 entry names; colliding paths are skipped.
Config files now accept only documented command-line options and specified aliases; other keys are ignored with a warning, preventing scanned repositories from selecting commands or loading JavaScript modules.
A critical audit rule flags affected source-built PHP-FPM, php-cgi, libphp and FrankenPHP versions, including specified pre-releases.
The image is built with Bun 1.4.4, whose bundled Brotli includes the decoder fix.
The image now installs the official Node.js 24.22.1 build with the security fixes.
Standalone binaries now bundle Node.js 24.22.1, which includes the October 2026 security fixes.
Bundled Node.js runtimes and CI and Alpine node images were updated for upstream security fixes.
PHP container images, including those used by binary builds, were rebased for upstream security fixes.
Requests can no longer turn on deep mode in secure mode.
The allowlist now checks the host that git connects to, fixing a mismatch for some URLs.
Related security gaps in host-wide project types are fixed.
Requests can no longer enable dependency installation in secure mode or when
--no-install-depsis set.Related security gaps in redirects are fixed.
Related security gaps in
serverUrlhandling are fixed.Related security gaps involving symlinked paths are fixed.
Accepts a BOM without a root signature only when every component, service and annotation carries a signature that verifies.
Fails when any signature entry or any given key does not verify.
Hardens JSF signature verification so the library function cannot report success for BOM content the trusted key never signed.
@cyclonedx/cdxgen: Maven project scanning may allow shell command injection through repository-controlled module paths
Hardens handling of Maven shell metacharacters to address a security issue.
HBOM secure mode enforces allowlist preflight checks for commands and paths.
@cyclonedx/cdxgen: Docker registry auth substring match forwards credentials to a different registry
Dependency-Track submissions enforce host matching to harden security.
Registry authentication now enforces host matching to prevent credential leaks.
Sensitive BOM properties are validated against CycloneDX 1.7 TLP requirements.
Cargo predictive audit can predict supply-chain attacks against dependencies, with expanded coverage for cache inventory and workspace-aware prioritization.
Adds a command to analyse one BOM or a directory of BOMs for upstream supply-chain risks, with severity-based gating for CI and review workflows.
Adds extraction of Chrome extension security properties.
Adds GTFOBins-backed container risk analysis and BOM audit rules.
gitClone handling is hardened against malicious hook execution scenarios in server contexts.
Warnings for configuration confusion and exfiltration have been added.
Audits NODE_OPTIONS for code execution risks.
Audits npmrc configuration files for code execution risks.
Detects npm package name and version spoofing.
Server hardening makes git clones safer.
New APIs and options 38
The php-security audit category enables the new PHP RCE rules when used with --bom-audit.
Set COMPOSER_CMD to choose which Composer command is run when recording formulation.
Set PHP_CMD to choose which PHP command is run when recording formulation.
A medium audit rule flags affected source-built CLI and phpdbg builds because they share vulnerable code with web SAPIs built alongside them.
Container and rootfs scans identify source-built PHP from binaries or php_version.h, tag file components with build-version properties, and add a generic PHP platform component for each version found.
Adds support for the pnpm CJS alias.
Adds detection of AI-generated code and authorship provenance.
Adds a license enhancer.
Adds components for PDM files.
Adds components for pnpm workspaces.
Adds a checker for policy violations.
Adds native SBOM attachment support for containers.
Adds support for the no-ignore argument.
Adds tracebom support for CBOM generation.
Adds a TUI mode powered by cdxui, available with the --tui argument.
The new ai type generates AI/ML-BOMs.
Adds golem integration for Go analysis, including call graphs, data-flow extraction, supply-chain evidence, and cryptographic-asset component generation.
A component type filter was added; the notes do not specify how to use it.
A caxa v3 batch workflow is available.
HBOM adds a dry and diagnostics mode.
Predictive audit allowlist filtering is available.
C/C++ BOM generation now supports collider.lock files.
Remote and offline OBOM generation now supports staged rootfs inputs.
A dedicated mcp project type is available.
cdxgen can now identify the MCP configurations and skills used in your project.
Adds ATT&CK-aware audit and workflow analysis to cdx-audit.
Adds a command to convert CycloneDX 1.6/1.7 BOMs to SPDX.
Adds dedicated BOM audit rules for Chrome extensions.
Adds direct Chrome extension path scanning using the chrome-extension target.
Adds support for PEP 751 pylock.toml files.
Adds SPDX output support in server mode, including SPDX format support for
/sbom.The submit flow now supports configuring autoCreate.
The submit flow now supports configuring isLatest.
A new command for validating CycloneDX BOMs is available.
VS Code extensions are now supported, including .vsix files and default IDE extensions directories, with deep BOM generation and capability extraction.
Arguments were added to prevent Trivy telemetry and version checks.
Dependency information is now emitted from Conan v1 lock files.
Ruby lockfile generation is supported when using an Alpine image.
Performance 1
The CrewAI parser reads each file once, reducing the time for a 1 MB crafted file from several seconds to about 12 milliseconds.
Behavior and default changes 38
Composer platform, platform-dev and platform-overrides entries from composer.lock are now recorded as properties on the project component, or in document metadata.properties when composer.json has no name.
Locked packages now retain their php, hhvm, ext-* and lib-* requirements as properties; these constraints do not become components or change the dependency graph.
When enabled, the toolchain list includes PHP and Composer as platform components with generic purls and CPEs, describing the build machine.
The -t os and obom scans also detect source-built PHP in a short fixed list of directories, inspect at most 64 files, and execute nothing.
Adds compatibility with custom license specs.
Bun support is improved.
Strips the Scala version suffix for sbt.
For JavaScript and Python projects, AI-BOMs now include exact occurrence evidence.
evinse is now supported for Rust projects; pass --profile research to generate an SBOM with rich occurrence and call-stack evidence.
Template and icon class heuristics now cover material-symbols, primeicons, bootstrap-icons, and fontawesome.
JavaScript handling was improved; the notes do not specify the details.
CBOM behavior has been improved.
Dry-run mode now traces symlinks, spawn I/O, and archive extraction.
HBOM adds support for SEA binaries.
Package visibility has been improved.
Protobuf BOM support is added to cdx-convert, cdx-validate, cdx-verify, and hbom.
The field is now populated for externally identified components.
Mixed npm source scans now ignore vendored Composer and jar artifacts.
MCP inventory now covers OpenCode, Nanocoder, LangGraph, and CrewAI.
The secure-mode user experience for environment warnings has been improved.
Improves Windows LOLBAS / ATT&CK triage context.
Expands runtime rules for OBOM analysis.
npm devDependencies are marked with development=true, improving metadata fidelity for policy and filtering workflows.
The JS analyzer detects WASM and WASI dependencies.
Formulation parsers have been revamped to support a range of CI/CD workflow configurations.
Support for pnpm v11 is being added.
Warns about missing lock files before npm or yarn install.
The build no longer attempts to build sqlite3 for Deno.
PyPI calls are made only when necessary.
Adds Go 1.24+ support with additional attributes.
JAR identification was improved for Apache and Eclipse artifacts.
Dependency Track tags are now reported.
The Java version was updated in the all-in-one container images and envcontext, which may affect runtime compatibility.
The METADATA parser was improved.
SBOM attachments are now created for all tags.
The timestamp requirement for Tumbleweed pins was relaxed.
A single Dockerfile now defines both slim and full images, changing how the project’s container images are built.
Aliases are recognized for Python packages.
Tooling 7
The image is now built on the
cdxgenimage from the same release, instead of running August master code on Node.js 24.18.0.Changes CLI option parsing to handle defaults better.
Detects CLI scripts using npx and pnpm dlx wrappers and hydrates npm package metadata from disk in deep mode.
The dry-run user experience for activity output has been improved.
The pre-generation environment audit has been hardened and refactored into the --env-audit command.
Rewriting code to use native Node modules removes dependencies such as sqlite3 and jws, allowing installation in more environments with fewer build errors and build dependencies.
When DEBUG_MODE is set, cdxgen saves the Maven dependency tree.
Fixes and other changes 53
CrewAI parsing reports each agent under the function that returns it and reads triple-quoted descriptions and agents defined in methods with
-> Agentannotations.Fixes an EACCES permission error when scanning /root.
Adds support for .NET Central Package Management.
Improves RubyGems parsing.
Fixes buggy sbt tree parsing.
Decompresses gzip, deflate, and br responses in undici httpClient.
Memoizes jar distribution lookups and discovers projects via sbt to fix hangs when processing sbt projects.
Deno support is added.
The OS distro namespace is canonicalized.
Using --exclude-type mcp no longer over-excludes MCP SDK packages.
Fixes native SBOM pulling for registries that do not provide the referrers API.
Fixes parsing of packages.config files.
Fixes parsing of Yarn aliases so they can be handled correctly.
Improves ASAR detection by sniffing headers.
Fixes a crash when scanning an empty go.mod file.
Fixes incorrect SBOM output when Gradle dependencies are unresolved.
Attempts to find hashes and licenses for Gradle dependencies.
Initial support for CBOM is now available for Rust projects, powered by rusi.
Improves required-scope detection for CSS, template, and CLI-based package usage, and parses .css, .scss, and .less style references.
Hardens Pixi parsing to better handle missing base paths and malformed TOML in workspace lock files.
Vue.js scope detection parses vite.config.* to reduce false negatives.
Vue.js scope detection parses vue.config.* to reduce false negatives.
Java Maven handling was improved; the notes do not specify the details.
Handles object-form GitHub Actions runs-on values.
Fixes profiling of standalone binary dependencies.
OBOM improvements include actionable output and Windows tuning.
BOM audit rules now cover disabled setup caches with remote npm or PyPI sources.
Fixed path selection for staged all-layers inputs.
Correctly classifies npm package-lock devOptional dependencies.
Improves Maven group and name detection from JAR manifests.
Handles Podfile.lock checks in CocoaPods scans without false missing-lock failures.
Adds purl source resolution for GitHub, Bitbucket, Maven, and Composer.
Object-form license data is normalized to CycloneDX-compliant fields.
Deduplication preserves lockfile hashes when combining minified JS and package-lock inputs.
Parent mode validation is strict across CLI and server paths.
Fixes dependsOn entries containing null in PHP/Composer BOMs.
Improves Python virtual environment detection and handling.
Parsing of GitHub workflows is improved.
Fixes Podman socket detection in getConnection().
Actively looks for the -S argument when detecting Python.
Skips empty dependency names when parsing Meson files.
Sets the metadata component name from the root gemspec.
Warns in debug mode when the parent component name is a placeholder.
The working directory is now detected; the change fixes an issue with working-directory detection.
Objects in PEP 735 dependency-groups are now handled.
Cloning Elasticsearch on Windows was addressed.
A regression that broke Maven multi-module projects after tree-file debug changes was fixed.
Version handling for PackageReference entries in csproj files was improved.
Mixed Scala and C projects are now supported.
Component detection no longer produces false positives from license banners.
A Python 3.13 Alpine image was added, giving developers another image option.
A Rust 1.91 Alpine image was added, giving developers another image option.
Local Swift root components are now assigned a namespace.
@cyclonedx/cdxgen 1112 changes
Breaking changes 4
The dotnet10 image now uses Ubuntu instead of Debian, which may affect the image's runtime environment.
Yarn workspace behavior changed; the release notes classify this as a breaking change.
amd64 is excluded for darwin, which may affect developers relying on darwin amd64 build artifacts.
Defaults to true, so cyclonedx-maven-plugin is no longer used by default; set it to false to prefer the plugin.
New APIs and options 4
Adds automatic annotations and tagging to generated output.
Adds a minimum confidence filter.
Adds the ml-tiny, ml, and ml-deep profiles, selectable with --profile.
Adds a filter technique option.
Behavior and default changes 1
Trims the saasbom to help all models including Gemini.
Fixes and other changes 3
A release version of schema 1.7 is included.
Allows CycloneDX 1.5 snapshots to be compared with 1.6.
Fixes the executable path on Windows.