# cdx: Custom Properties This page documents the current `cdx:` custom properties emitted by cdxgen, the ecosystems they map to, and practical supply-chain security/assurance use cases. ## Scope - Source of truth: non-test source files under `lib/**` (including `lib/ecosystems/utils.js` and `lib/inventory/ciParsers/*`). - These are cdxgen-specific properties added to CycloneDX objects (components, workflows, tasks, metadata, and services). - They are intended to enrich analysis and policy decisions; they are not CycloneDX core fields. ## `internal:` properties - Properties that predate the namespaced `cdx:*` convention now carry an `internal:` prefix — `internal:SrcFile`, `internal:Namespaces`, `internal:ImportedModules`, `internal:LocalNodeModulesPath` and the rest of the list below. The prefix marks them as cdxgen implementation detail rather than a modelled part of the property surface. - Prefer standard CycloneDX modeling first: use `evidence.occurrences[].location` and `evidence.identity[].methods[].value` for discovery and source evidence, and BOM metadata properties such as `cdx:bom:componentSrcFiles` for aggregated manifest-origin signals. - Treat `internal:LocalNodeModulesPath` as environment-specific and potentially sensitive; downstream policies should avoid depending on it. - Expect `internal:*` keys to be less stable than the namespaced `cdx:*` inventory below. The full set: `internal:CalledMethods`, `internal:ExportedModules`, `internal:GIT_BRANCH`, `internal:GradleModule`, `internal:GradleProfileName`, `internal:ImportedModules`, `internal:ImportedSymbols`, `internal:LocalNodeModulesPath`, `internal:ModuleGoVersion`, `internal:Namespaces`, `internal:PackageFiles`, `internal:PackageMaintainer`, `internal:PackageVendor`, `internal:PkgProvides`, `internal:ResolvedUrl`, `internal:ServiceName`, `internal:SrcFile`, `internal:SrcGoMod`, `internal:SrcPath`, `internal:binary_path`, `internal:localScanPath`, `internal:privadoCLIVersion`, `internal:privadoCoreVersion`, `internal:privado_violations`. Container image properties keep their existing `oci:` namespace, and `java:modules` keeps its own, because both were already namespaced. ## How to read these properties Some CI/CD properties are derived from a workflow or job context but may also be duplicated onto related components/tasks to support policy engines that primarily scan `input.components`. In those cases, treat the `Scope` column as indicating the primary origin plus common duplicated locations used for policy consumption. ### Value semantics and normalization CycloneDX custom properties are emitted as name/value pairs, so consumers should assume that **all values are serialized as strings** even when they represent booleans, numbers, timestamps, or structured data. | Shape | Typical encoding | Examples | Policy note | | ------------------- | -------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Boolean | `"true"`, `"false"` | `cdx:github:workflow:hasWritePermissions`, `cdx:npm:hasInstallScript`, `cdx:maven:shaded` | Compare as strings in OPA/CEL unless your ingestion layer normalizes values first | | Number-like | decimal string | `cdx:github:job:timeoutMinutes`, `cdx:pixi:build_number` | Treat as strings unless your policy engine performs numeric coercion | | Lists | comma-separated or newline-separated strings | `cdx:github:workflow:triggers`, `cdx:npm:risky_scripts`, `cdx:bom:componentSrcFiles` | Component-level lists are typically comma-separated; BOM-level metadata lists are typically newline-separated. Split explicitly before matching multi-value logic | | Paths / URLs | plain string | `cdx:github:workflow:file`, `cdx:swift:localCheckoutPath`, `cdx:pypi:registry` | Useful as provenance and source-of-truth signals | | Timestamps | ISO 8601 string | `cdx:go:creation_time`, `cdx:nix:last_modified` | Suitable for recency or reproducibility gates | | Structured payloads | JSON-serialized string | `cdx:pip:structuredMarkers`, `cdx:cargo:features` | Parse the JSON string before field-level inspection; do not compare nested fields as raw text unless your policy engine lacks JSON parsing | ### Policy readiness shorthand - **Hard deny**: good primary candidate for blocking policies. - **Warning / triage**: useful for prioritization, human review, or score weighting. - **Context only**: useful for evidence, provenance, explainability, or enrichment, but usually weak as a standalone gate. ## Property families, ecosystems, and assurance use cases | Family | Ecosystem / context | What it captures | Security & assurance use cases | Inventory | Example rules | | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------- | ---------------------------------------------------------------------- | | `cdx:github:*`, `cdx:actions:*` | GitHub Actions workflows | Workflow/job/step metadata, action references, version pinning style, permission posture, triggers, runner context | Detect unpinned actions, flag workflows/jobs with write privileges, validate OIDC (`id-token`) usage boundaries, review exposure by trigger type and environment | [CI/CD and workflow provenance](#inventory-cicd) | [1](#example-1), [6](#example-6) | | `cdx:gitlab:*` | GitLab CI | Pipeline/job stage/image/environment/services/needs metadata | Review pipeline trust boundaries, identify risky service/image usage, validate stage/order dependency intent | [CI/CD and workflow provenance](#inventory-cicd) | [1](#example-1) | | `cdx:azure:*` | Azure Pipelines | Pipeline file, pool image, trigger branches, stage/job dependencies and conditions | Detect privileged runner pools, verify deployment gating/conditions, ensure branch-scoped execution policy | [CI/CD and workflow provenance](#inventory-cicd) | [1](#example-1) | | `cdx:circleci:*` | CircleCI | Config/workflow/job relationships, branch filters, orb/executor references | Verify job execution constraints (branch-only), inspect third-party orb use, map build graph for provenance review | [CI/CD and workflow provenance](#inventory-cicd) | [1](#example-1) | | `cdx:jenkins:*` | Jenkins declarative pipelines | Jenkinsfile source, agent selection, stage metadata (`when`, `parallel`) | Audit build agent trust model, identify conditional/parallel execution complexity and potential bypass paths | [CI/CD and workflow provenance](#inventory-cicd) | [1](#example-1) | | `cdx:npm:*`, `cdx:pnpm:*` | Node.js (npm/pnpm) | Binary/script execution surfaces, native addon signals, lock/runtime mismatches, local/path/workspace/alias details | Prioritize packages with install-time execution risk, detect name/version spoofing indicators, identify non-registry or file-based dependencies | [Package manager and language ecosystems](#inventory-packages) | [2](#example-2) | | `cdx:pypi:*`, `cdx:pip:*`, `cdx:conda:*`, `cdx:pyproject:*`, `cdx:python:*`, `cdx:pixi:*`, `cdx:pylock:*` | Python (pip/requirements, conda environments, pyproject, lock formats, pixi, PEP 751 pylock) | Version constraints, extras, environment markers, registry origin, interpreter constraints, conda matchspecs a purl version cannot hold, pixi/pylock lock metadata | Enforce allowed index/registry policy, evaluate conditional dependency exposure by marker, review conda dependency specs that pin no single version, retain pylock metadata not directly representable in CycloneDX | [Package manager and language ecosystems](#inventory-packages) | [3](#example-3) | | `cdx:gem:*` | RubyGems/Bundler | Gem source/revision/tag/branch, ruby and rubygems constraints, executable and native extension presence, MFA requirement, prerelease/yanked status. The native platform is a purl qualifier, not a property | Detect mutable VCS-sourced gems, install-time native compilation, and yanked/prerelease risk in resolved dependency sets | [Package manager and language ecosystems](#inventory-packages) | [3](#example-3) | | `cdx:composer:*`, `cdx:php:*` | PHP (Composer, container and OS scans) | Composer platform constraints from the lock (`platform`, `platform-dev`, `platform-overrides`) and the PHP requirements of each locked package; the PHP build version and SAPI of unpackaged PHP files in container and OS scans. None of the `cdx:composer:*` values is a PHP version that runs | Read a project's PHP and extension requirements without a running PHP, and match PHP runtime CVEs against unpackaged builds with the PHP-RCE audit rules. Package-owned PHP carries neither property: its package is its identity | [Package manager and language ecosystems](#inventory-packages) | [BOM audit](BOM_AUDIT.md) | | `cdx:brotli:*` | Native files in container, rootfs, OS and source scans | Whether the C decoder or the Go port compiled into a file carries the CVE-2026-111497 fix (`c:blockSwitchFix`, `go:blockSwitchFix`) and the evidence it was read from, and on the shared brotli component how many copies were found, unpatched and unknown | Decide which binaries, extensions and vendored sources ship a vulnerable decoder, which no package version records | [Package manager and language ecosystems](#inventory-packages) | `BROTLI-RCE-001`, `BROTLI-RCE-002`, `BROTLI-RCE-003`, `BROTLI-DOS-001` | | `cdx:node:*` | Node.js runtimes in container, rootfs and OS scans, and formulation | The build version of an unpackaged `node` binary and where it was read from, and whether the running Node.js bundles or shares each dependency it reports | Match the runtime against Node.js advisories; tell a shared-library dependency from a bundled one | [Package manager and language ecosystems](#inventory-packages) | - | | `cdx:ruby:*` | Ruby runtimes in source, container, rootfs and OS scans, and formulation | The Ruby a project pins and where it was declared, the build version, patchlevel, ABI and platform of an unpackaged Ruby and where they were read from, and whether the interpreter comes with the deployment environment | | `cdx:deb:*`, `cdx:rpm:*`, `cdx:apk:*`, `cdx:homebrew:*` | OS packages in an OBOM (`obom`, `-t os`) | The source package of a deb (`cdx:deb:source`), the source rpm file of an rpm (`cdx:rpm:sourceRpm`), the origin of an apk package (`cdx:apk:origin`) and whether a Homebrew entry is a formula or a cask (`cdx:homebrew:type`). The vendor, `arch`, `distro`, `distro_name` and `epoch` of a package are purl qualifiers, not properties, and a package has no subpath | Pivot from a binary package to the source package a vulnerability feed names, and tell a cask from a formula, which share one purl form, without a second purl type | [Package manager and language ecosystems](#inventory-packages) | [BOM audit](BOM_AUDIT.md) | | `cdx:alpm:*`, `cdx:macports:*`, `cdx:snap:*`, `cdx:flatpak:*` | OS packages in an OBOM read by osquery 5.24.0 (`pacman_packages`, `macports_packages`, `snap_packages`, `flatpak_packages`) | The pkgbase of a pacman package (`cdx:alpm:pkgbase`), the variants and request state of a MacPorts port (`cdx:macports:*`), the revision, channel, type and confinement of a snap (`cdx:snap:*`), and the display name, commit, origin, installation scope, type and runtime of a flatpak (`cdx:flatpak:*`). A flatpak's `arch` and `branch` are purl qualifiers | Pivot from a split pacman package to its pkgbase, find snaps whose sandbox is not enforced (`OBOM-LNX-023`), and see which remote each flatpak came from and who installed it | [Package manager and language ecosystems](#inventory-packages) | [BOM audit](BOM_AUDIT.md) | | `cdx:cargo:*` | Rust crates.io | Crate metadata linkage (id/latest/rust version/features), and `metadataSource` naming where the metadata came from | Validate Rust toolchain compatibility, flag feature-driven attack surface changes, monitor lag from newest upstream version; `metadataSource=local-registry` means the local Cargo registry answered and publisher provenance was not collected | [Package manager and language ecosystems](#inventory-packages) | [4](#example-4) | | `cdx:go:*` | Go modules | Toolchain, indirect/deprecated/local replacement timing metadata | Detect local replacements/non-hermetic resolution, track deprecated modules, validate direct vs indirect risk posture | [Package manager and language ecosystems](#inventory-packages) | [4](#example-4) | | `cdx:golem:*` | Go Evinse evidence | Semantic Go usage scopes, occurrence kinds, call graph mode, build directives, native artifacts, security signals, vendoring, and module replacement context | Prioritize reachable Go dependency review, flag local replacements and private modules, audit generated/native build surfaces, and separate runtime from test-only usage | [Golem Go Evinse evidence](#golem-go-evinse-evidence) | [4](#example-4) | | `cdx:rusi:*` | Rust Evinse evidence | Semantic Rust usage scopes, occurrence kinds, call graph mode, data-flow slices, crypto assets, and security signals | Prioritize reachable Rust dependency review, audit crypto reachability and data-flow provenance, flag security-sensitive API usage, and separate runtime from test-only usage | [Rusi Rust Evinse evidence](#rusi-rust-evinse-evidence) | [5](#example-5) | | `cdx:kosi:*` | Kotlin Evinse evidence | Kotlin data-flow slices, trace completeness, reachability from roots, crypto assets, outbound services, and inbound endpoints | Prioritize reachable Kotlin dependency review, audit crypto and cross-dependency flows, and map inbound API exposure with its authentication posture | [Kosi Kotlin Evinse evidence](#kosi-kotlin-evinse-evidence) | [5](#example-5) | | `cdx:scalasem:*` | Scala Evinse evidence | Scala run context and diagnostics, usage scopes and platforms, crypto findings without an OID, services and their source locations | Prioritize reachable Scala dependency review, audit crypto use and weak findings, and map inbound and outbound API surfaces | [Scala semantic evidence](#scalasem-scala-semantic-evidence) | [5](#example-5) | | `cdx:dotnet:*` | .NET / NuGet / assemblies | Target framework, project guid, assembly identity/version, hint path, Azure Functions version | Verify framework support policy, detect assembly/package identity mismatches, analyze implicit GAC/hint-path sourced dependencies | [Package manager and language ecosystems](#inventory-packages) | [5](#example-5) | | `cdx:maven:*`, `cdx:gradle:*` | Java (Maven/Gradle) | Effective component scope, shaded namespace evidence, Gradle root path context | Identify shadowed/relocated classes (obfuscation or vendoring risk), enforce dependency-scope policy, track monorepo/root provenance | [Package manager and language ecosystems](#inventory-packages) | [5](#example-5) | | `cdx:nix:*` | Nix flakes | Input source URLs, lock revision/ref/hash/time, flake directory | Validate immutable lock intent, detect unexpected source URL changes, support reproducibility/provenance checks | [Package manager and language ecosystems](#inventory-packages) | [4](#example-4) | | `cdx:zig:*` | Zig (`build.zig.zon`) | Fetch URL, content hash, local path dependencies, minimum toolchain version, lazy (optional) dependencies, package fingerprint | Detect unpinned or locally-sourced dependencies, verify content-addressed fetches, enforce a minimum toolchain baseline, flag optional/lazy deps, track package identity across forks | [Package manager and language ecosystems](#inventory-packages) | [4](#example-4) | | `cdx:gleam:*` | Gleam | Build target (BEAM/JavaScript), direct vs transitive origin, development scope, Hex build type | Separate runtime from test-only dependencies, review the JavaScript-target surface, audit non-Hex build types | [Package manager and language ecosystems](#inventory-packages) | [3](#example-3) | | `cdx:julia:*` | Julia (`Project.toml`, `Manifest.toml`) | Package UUID, direct vs transitive origin, standard-library marking | Separate Julia's bundled libraries from registry packages, match packages by UUID across registries | [Package manager and language ecosystems](#inventory-packages) | - | | `cdx:renv:*` | R (`renv.lock`) | Source repository category, repository name, renv DESCRIPTION hash, and the R version on the parent | Distinguish repo-sourced from GitHub-sourced packages; the hash traces the DESCRIPTION, not the artifact bytes | [Package manager and language ecosystems](#inventory-packages) | - | | `cdx:rebar:*` | Erlang rebar3 (`rebar.lock`) | Direct vs transitive origin from the lock's dependency level | Scope review to the project's own hex dependencies; content digests live in `hashes[]` | [Package manager and language ecosystems](#inventory-packages) | - | | `cdx:opam:*` | OCaml opam (`.opam.locked`) | Whether a package is pinned and its sanitised pin source (origin and path only) | Spot registry divergence: a pin overrides where a package is fetched from | [Package manager and language ecosystems](#inventory-packages) | - | | `cdx:tf:*` | Terraform and OpenTofu (`.terraform.lock.hcl`, `*.tf`, `*.tf.json`, `*.tofu`, `*.tofu.json`, `.terraform/modules/modules.json`) | Module/provider kind, registry address, version constraints, `h1:` content digest, sanitized module source, ref/commit, pinning class, installed state, credential-in-source flag, offline license provenance, registry verification/tier/deprecation, root and required-version markers, unresolved module-call count | Correlate providers and modules with registries, audit constraint drift and mutable module references (`PKG-012`/`PKG-013`), and spot sources that embed credentials (`PKG-014`); `zh:` package digests are the artifact checksums and live in `hashes[]` | [Package manager and language ecosystems](#inventory-packages) | - | | `cdx:stack:*` | Haskell Stack (`stack.yaml`, `stack.yaml.lock`) | Snapshot the project resolves against, and for each extra-dep its repository origin and pinned commit | Review the extra-deps that step outside the snapshot, and trace repository-sourced packages to an exact commit | [Package manager and language ecosystems](#inventory-packages) | - | | `cdx:cpan:*` | Perl Carton (`cpanfile`, `cpanfile.snapshot`) | Direct vs transitive origin across distributions | Scope review to requirements declared in `cpanfile` | [Package manager and language ecosystems](#inventory-packages) | - | | `cdx:luarocks:*` | Lua (`*.rockspec`, `luarocks.lock`) | Direct vs transitive origin of resolved rocks | Scope review to rocks declared in the rockspec | [Package manager and language ecosystems](#inventory-packages) | - | | `cdx:crystal:*` | Crystal (`shard.yml`, `shard.lock`) | Language version constraint, direct vs transitive or dev origin, development scope | Separate runtime from test-only shards; review the required Crystal version | [Package manager and language ecosystems](#inventory-packages) | - | | `cdx:elm:*` | Elm (`elm.json`, `elm-package.json`, `elm-stuff/exact-dependencies.json`) | Language version on the project, direct vs indirect or test origin per package, and the declared version range when no resolved version is known | Separate runtime from test-only packages; review the required Elm version and which constraints remain unresolved | [Package manager and language ecosystems](#inventory-packages) | - | | `cdx:nim:*` | Nim (`*.nimble`, `nimble.lock`) | Direct vs transitive origin, pinned git revision | Trace URL-sourced packages to the exact commit | [Package manager and language ecosystems](#inventory-packages) | - | | `cdx:spack:*` | Spack (`spack.lock`) | Spack DAG hash, package namespace, target architecture, and compiler | Identify the concrete build (variants, compiler and architecture included); the DAG hash is an identity, not an artifact digest | [Package manager and language ecosystems](#inventory-packages) | - | | `cdx:gradle:catalog` | Gradle version catalog (`gradle/libs.versions.toml`) | Marks components emitted from the catalog as declared, not resolved | Keep declared catalog entries out of resolved-graph conclusions; emitted only when Gradle produced no dependency information | [Package manager and language ecosystems](#inventory-packages) | - | | `cdx:vcpkg:*` | C/C++ vcpkg (`vcpkg.json`) | Builtin baseline commit on the parent, declared marking and requested features per port | Tie the manifest to the port version set; feature names expand what a port builds | [Package manager and language ecosystems](#inventory-packages) | - | | `cdx:xmake:*` | C/C++ xmake (`xmake-requires.lock`) | Build configurations (`platform \| arch`) a package was resolved for | See which platforms actually pull a package in; a package resolved for one platform is not in every build | [Package manager and language ecosystems](#inventory-packages) | - | | `cdx:mojo:*` | Mojo (`mojoproject.toml`) | Declared Mojo package dependencies alongside the conda/PyPI packages pixi resolves | Distinguish Mojo's own packages from the conda/PyPI packages carried in the same lock | [Package manager and language ecosystems](#inventory-packages) | [3](#example-3) | | `cdx:bazel:*` | Bazel bzlmod | Source ecosystem of each resolved dependency, BCR module name and registry URL, generated repository name | Confirm dependencies were mapped to their true ecosystem rather than a Bazel-shaped identity, enforce an approved module registry, trace a component back to the repository the build sees | [Package manager and language ecosystems](#inventory-packages) | [4](#example-4) | | `cdx:purl:proposedType` | Ecosystems with no registered purl type | The purl type cdxgen would use if one were registered upstream (`zig`, `mojo`, `nix`) | Group `pkg:generic` components by their real ecosystem, and migrate matching rules mechanically once a type is registered | [Package manager and language ecosystems](#inventory-packages) | [3](#example-3) | | `cdx:swift:*` | Swift Package Manager | Logical package naming and local checkout paths | Identify local checkout dependencies vs remote source dependencies; enforce source-origin controls | [Package manager and language ecosystems](#inventory-packages) | [3](#example-3) | | `cdx:pods:*` | CocoaPods | Podspec location, project directory, pod/subspec mapping | Distinguish local/path/git pod sourcing, trace subspec-enabled feature surface, improve provenance for iOS supply chains | [Package manager and language ecosystems](#inventory-packages) | [3](#example-3) | | `cdx:pub:*` | Dart pub | Non-default registry URL | Enforce approved package registry policy and detect mirror/private feed usage | [Package manager and language ecosystems](#inventory-packages) | [3](#example-3) | | `cdx:ai:*`, `cdx:gguf:*`, `cdx:huggingface:*` | AI/ML inventory, local model artifacts, GGUF model files, and Hugging Face metadata | Model/runtime/provider hints, deployment posture, explicit model IDs, context windows, quantization/encoding signals, GGUF artifact metadata, and Hugging Face popularity/runtime signals | Flag risky local AI rollouts, separate remote inference from local artifacts, audit very large context windows, track GGUF shards/sidecars, preserve model lineage context, and review remote-model governance/runtime posture | [AI / model artifact inventory](#inventory-ai) | [5](#example-5) | | `cdx:bom:*` | BOM-level metadata | Component type set, discovered namespaces, source manifest files | Measure BOM completeness, identify broad component diversity, and support attestable “evidence-of-origin” for manifest inputs | [Cross-cutting BOM/service/build metadata](#inventory-cross-cutting) | [5](#example-5) | | `cdx:build:versionSpecifiers` | Build/manifest parsing (for example C/C++ build metadata) | Non-exact version constraints captured from build descriptors | Highlight non-pinned dependency constraints and prioritize hardening toward deterministic builds | [Cross-cutting BOM/service/build metadata](#inventory-cross-cutting) | [5](#example-5) | | `cdx:build:tool`, `cdx:make:*`, `cdx:cmake:*`, `cdx:go:module/toolchain`, `cdx:pip:requirementCount/pinCount/unpinnedCount/hasHashes/kind`, `cdx:nuget:*`, `cdx:msbuild:*` | Build inputs (formulation): Makefile/CMakeLists, go.mod, pip requirements/constraints, .NET restore output and .csproj | What each build input says: targets, includes and variable names, cmake project facts, Go module/toolchain, pip pin counts, NuGet restore facts, MSBuild project facts | Answer "what would build this" without running a build; review make targets whose names mention docker, count unpinned pip inputs, and compare the .NET project against its restore output | [Cross-cutting BOM/service/build metadata](#inventory-cross-cutting) | - | | `cdx:crypto:*` | Rootfs/host trust material enrichment | Trust domain, source type, fingerprint, key IDs, key strength, user IDs, and certificate lifecycle metadata | Audit repository trust anchors, CA-store content, and filesystem trust drift; distinguish package-signing keyrings from CA bundles | [Cross-cutting BOM/service/build metadata](#inventory-cross-cutting) | [5](#example-5) | | `cdx:dosai:*` | Dosai source-level crypto analysis (CBOM) | Dosai asset/operation/material metadata: internal ID, strength, reachability, entry-point count, data-flow slice IDs, and storage kind (for example `hardcoded`) | Identify hard-coded cryptographic material, audit crypto reachability from entry points, and review data-flow provenance for crypto operations detected by static analysis | [Cross-cutting BOM/service/build metadata](#inventory-cross-cutting) | [5](#example-5) | | `cdx:osquery:category` | Host/package discovery via osquery | Query/source category for discovered packages | Separate inventory confidence by collection method and tune host-level evidence policies | [Cross-cutting BOM/service/build metadata](#inventory-cross-cutting) | [5](#example-5) | | `cdx:purl:*` | Cross-cutting purl provenance | Records where an ingested purl was invalid and had to be repaired or dropped | Detect upstream tools emitting non-compliant purls; audit identity cdxgen did not author | [Cross-cutting BOM/service/build metadata](#inventory-cross-cutting) | [5](#example-5) | | `cdx:darwin:codesign:*`, `cdx:darwin:notarization:*`, `cdx:darwin:gatekeeper:*` | macOS host trust enrichment | Code-sign identifier/team ID/authority/runtime info, notarization assessment/source/origin, and Gatekeeper policy status | Review signed-software provenance, identify unsigned or weakly trusted apps, and correlate execution policy with launchd/software inventory | [Cross-cutting BOM/service/build metadata](#inventory-cross-cutting) | [5](#example-5) | | `cdx:windows:authenticode:*`, `cdx:windows:wdac:*` | Windows host trust enrichment | Authenticode validation/signer/timestamp metadata and WDAC active-policy inventory | Confirm signer trust, identify unsigned persistence binaries, and inventory WDAC enforcement state | [Cross-cutting BOM/service/build metadata](#inventory-cross-cutting) | [5](#example-5) | | `cdx:lolbas:*` | Windows osquery / OBOM enrichment | LOLBAS-derived ATT&CK tactics/techniques, functions, contexts, and risk tags parsed from Windows host telemetry | Highlight Windows proxy-execution helpers in run keys, tasks, WMI, services, and live process data | [Cross-cutting BOM/service/build metadata](#inventory-cross-cutting) | [5](#example-5) | | `cdx:gtfobins:*` | Container executable enrichment | GTFOBins-derived functions, privileged contexts, ATT&CK techniques, and risk tags for collected executables | Flag container-escape helpers, privileged binaries, exfiltration tooling, and mutable-path attack kits in container SBOMs | [Cross-cutting BOM/service/build metadata](#inventory-cross-cutting) | [5](#example-5) | | `cdx:container:*` | Container executable enrichment | ATT&CK-for-Containers tags, Peirates/CDK/DEEPCE playbook references, and seccomp-sensitive syscall context | Detect offensive toolkit binaries, map cluster-pivot helpers to ATT&CK, and review images that become riskier under permissive seccomp profiles | [Cross-cutting BOM/service/build metadata](#inventory-cross-cutting) | [5](#example-5) | | `cdx:vscode-extension:*` | VS Code / IDE extensions (`.vsix` and installed dirs) | Activation events, extension kind, contributed features, lifecycle scripts, workspace trust posture | Detect always-on extensions, flag install-time script execution, audit host/filesystem access, enforce workspace trust and virtual workspace policies | [IDE and editor extensions](#inventory-ide-extensions) | [7](#example-7) | | `cdx:ide:*` | VS Code-family editors and remote servers whose extension folders were read (`-t vscode-extension`, `-t os`) | Editor or server id and kind, release version, VS Code base version, build commit, release channel, extensions folder and extension count | Find hosts running an editor release with a known flaw, separate remote-server installs from desktop ones, count extensions per editor | [IDE and editor extensions](#inventory-ide-extensions) | | | `cdx:chrome-extension:*` | Chromium browser extensions (`-t chrome-extension`, `-t os`) | Browser/profile context, Chrome/Edge/Brave manifest metadata, capability signals from manifest + Babel source analysis | Flag broad host permissions, web-request interception capability, file/device/network/bluetooth/accessibility/code-injection/fingerprinting exposure | [IDE and editor extensions](#inventory-ide-extensions) | [7](#example-7) | | `cdx:asar:*` | Electron ASAR archives (`-t asar`) | Archive file counts, entry metadata, declared/computed integrity, JS capability summaries, embedded manifest inventory | Catalog packaged release contents, review eval/dynamic fetch behavior, flag integrity mismatches, and audit embedded Node packages shipped inside desktop artifacts | [IDE and editor extensions](#inventory-ide-extensions) | [7](#example-7) | | `cdx:mcp:*` | JavaScript / TypeScript MCP source plus config inventory | MCP SDK/config provenance, server transport/auth posture, registered tools/prompts/resources, explicit model/provider literals | Detect unauthenticated MCP HTTP exposure, review config-only MCP services, surface trust/credential posture, and inventory the server primitives exposed to models | [Cross-cutting BOM/service/build metadata](#inventory-cross-cutting) | [5](#example-5) | | `cdx:agent:*` | AI agent instruction / skill file discovery, community agent configurations, and Kiro project artifacts | Hidden Unicode, inferred MCP endpoints, provider mentions, auth hints, tunnel exposure, hidden component indicators, Kiro agent definitions with their permission posture, permission policies, settings, and hook or workflow files | Surface agent-driven runtime dependencies that are not obvious from lockfiles alone, flag risky public/tunneled MCP references for compliance review, and review what Kiro agents may do | [Cross-cutting BOM/service/build metadata](#inventory-cross-cutting) | [5](#example-5) | | `cdx:plugin:*` | Claude Code plugin manifests and marketplace listings | Plugin name/version/author, and counts of contributed commands, subagents, skills, lifecycle hooks, and wired MCP servers | Inventory installable agent plugins as a supply-chain surface and flag plugins that register hooks or MCP servers for review | [Cross-cutting BOM/service/build metadata](#inventory-cross-cutting) | [5](#example-5) | | `cdx:registry:server:*` | MCP Registry `server.json` manifests | Server name/version, declared distributable package registry types and counts, package transport, and remote endpoint counts | Inventory MCP servers published to the official registry, resolve their distributables to purls, and separate registry-hosted remotes from local packages | [Cross-cutting BOM/service/build metadata](#inventory-cross-cutting) | [5](#example-5) | | `cdx:agentic:*` | Installed agentic CLI tools discovered on the host (`-t agentic`) | Tool key, home and support directories, tool version, and redacted structural counts of agents, MCP servers, tools, plugins, providers, skills, commands, and knowledge bases, plus the Kiro V3 permission posture of agent definitions, the user-scope `permissions.yaml`, and the workspace permission files | Inventory which agentic coding CLIs (Kiro CLI, zcode, opencode, Claude Code, and similar) are installed on a developer or build host and how they are configured, without reading credentials or transcripts | [Cross-cutting BOM/service/build metadata](#inventory-cross-cutting) | [5](#example-5) | | `cdx:mcpb:*` | MCPB / DXT desktop-extension bundles | Bundle manifest version, server type, tool/prompt counts, declared user-config field counts, secret-typed config indicators, and precompiled platform binary counts | Inventory one-click installable local MCP servers as a supply-chain surface and flag bundles that inject secret configuration as environment variables or ship precompiled binaries | [Cross-cutting BOM/service/build metadata](#inventory-cross-cutting) | [5](#example-5) | | `cdx:safetensors:*` | Safetensors model artifact headers | Tensor count, dtypes, parameter count and metadata counts read from a validated safetensors header on the artifact file, plus shard-index comparisons on the model | Inventory local safetensors checkpoints and summarize their tensor shape without deserializing weights | [Cross-cutting BOM/service/build metadata](#inventory-cross-cutting) | [5](#example-5) | | `cdx:onnx:*` | ONNX model artifact headers | Producer, IR version, operator sets, domain and metadata counts read from the ONNX protobuf header on the artifact file, plus external-data markers | Inventory local ONNX exports and trace each one to its exporter without loading the graph | [Cross-cutting BOM/service/build metadata](#inventory-cross-cutting) | [5](#example-5) | | `cdx:ai:codegen:*` | AI-generated code and authorship provenance (`-t ai-provenance`, cdx-audit) | Detection status, aggregate confidence/band, detected tools (Claude Code, Copilot, Cursor, Devin, etc.), development phases (dev/test/review/ci), per-tool evidence, and a signals JSON blob | Flag AI/LLM/agent-authored code for copyright/licensing review (AI-authored code may lack copyright protection), require disclosure of AI usage, and drive `ai-provenance` audit rules (AIPROV-001/002) | [Cross-cutting BOM/service/build metadata](#inventory-cross-cutting) | [5](#example-5) | | `cdx:ai:codegen:models`, `cdx:ai:codegen:agents` (et al.) | Git-ai note attribution details (`-t ai-provenance`, cdx-audit) | Model names, agent tool names, session/prompt counts, and AI-attributed line+range entry counts from git-ai notes | Surface precise AI model/agent attribution evidence from git-ai line-level notes for audit and policy review | [Cross-cutting BOM/service/build metadata](#inventory-cross-cutting) | [5](#example-5) | | `cdx:ai:oversight:*` | AI human-oversight & process-rigor (`-t ai-provenance`, cdx-audit) | Rigor score/band, verification-debt/review-coverage/self-merge (forge-only, else `unavailable`), CI-weakening events, sign-off & CODEOWNERS coverage, AI line ratio, data sources, and an evidence JSON blob | Detect rubber-stamping of AI-authored code, evidence meaningful human oversight (EU AI Act Art. 12/14, NIST AI RMF, ISO/IEC 42001), and drive `ai-oversight` audit rules (AIOVS-001..006) | [Cross-cutting BOM/service/build metadata](#inventory-cross-cutting) | [5](#example-5) | | `cdx:service:httpMethod` | OpenAPI/service evidence | HTTP method associated with discovered service endpoints | Support API exposure reviews (method-level attack surface and access-control assurance) | [Cross-cutting BOM/service/build metadata](#inventory-cross-cutting) | [5](#example-5) | | `cdx:service:authenticated`, `cdx:service:xTrustBoundary`, `cdx:service:trustZone` | Service fields without a CycloneDX 2.0 equivalent, carried at `--spec-version 2.0` | The 1.x service members `authenticated`, `x-trust-boundary` and `trustZone`, so the mcp-server audit rules keep firing on a document read back from 2.0 | Keep the audit findings of a 2.0 round trip identical to the 1.7 run | [Cross-cutting BOM/service/build metadata](#inventory-cross-cutting) | [5](#example-5) | | `cdx:crypto:pqc:class`, `cdx:crypto:pqc:deprecatedAfter`, `cdx:crypto:pqc:disallowedAfter`, `cdx:crypto:pqc:disallowedIn`, `cdx:crypto:pqc:transition`, `cdx:crypto:pqc:source` | Post-quantum migration risks at `--spec-version 2.0` (#4592) | On each `risks.risks[]` entry cdxgen derives for a cryptographic asset: the class from `data/pqc-migration.json` (`quantum-vulnerable-signature`, `quantum-vulnerable-key-establishment`, `quantum-vulnerable-public-key`, `below-minimum-strength`, `hash-sha1`, `symmetric-112-bit`, `dsa-generation-not-approved`); a year only where the source states one, under the source's own wording (`deprecatedAfter` and `disallowedAfter` for "after ", `disallowedIn` for "in "); `transition`, the source's transition in words (for SHA-1 "Currently deprecated …", which has no year); and `source`, the table or section of NIST IR 8547 (final) or FIPS 186-5 the class cites | Keep the NIST transition machine-readable on the risk without inventing a date or a confidence (owner, status and responses are organisational facts cdxgen never invents); see [CycloneDX 2.0 derived sections](CDX_CONVERT.md#post-quantum-migration-risks) | [Cross-cutting BOM/service/build metadata](#inventory-cross-cutting) | [5](#example-5) | ## Useful keys These are the highest-leverage keys for first-pass policy authoring. | Key | Why it matters | Policy readiness | | ------------------------------------------------ | --------------------------------------------------------------------------------------------------- | ---------------- | | `cdx:github:action:isShaPinned` | Distinguishes immutable commit-pinned actions from mutable tag/branch references | Hard deny | | `cdx:github:workflow:hasWritePermissions` | Quickly identifies workflows that can modify repository or packages | Hard deny | | `cdx:github:workflow:hasIdTokenWrite` | Flags OIDC token issuance capability | Hard deny | | `cdx:npm:hasInstallScript` | Captures install-time execution surface | Hard deny | | `cdx:npm:bin` | Lists executable commands exposed by an npm package | Warning / triage | | `cdx:npm:has_binary` | Quick boolean for npm packages that expose executable commands | Warning / triage | | `cdx:asar:hasIntegrityMismatch` | Flags ASAR entries whose declared integrity hash does not match the computed archive content | Hard deny | | `cdx:npm:isRegistryDependency` | Detects git/file/local sources vs standard registry resolution | Hard deny | | `cdx:mcp:transport` | Distinguishes stdio-only MCP servers from network-exposed Streamable HTTP servers | Hard deny | | `cdx:mcp:officialSdk` | Separates official MCP SDK usage from non-official wrappers and forks | Warning / triage | | `cdx:mcp:toolCount` | Highlights servers exposing model-controlled tools | Hard deny | | `cdx:mcp:serviceType` | Distinguishes MCP server, client, and gateway roles inferred from source | Warning / triage | | `cdx:mcp:outboundHosts` | Captures remote hosts reached by MCP-adjacent source usage | Hard deny | | `cdx:mcp:authPosture` | Normalizes bearer/OAuth/protected-resource/no-auth posture | Hard deny | | `cdx:mcp:trustProfile` | Summarizes official-vs-networked-vs-authenticated trust stance | Warning / triage | | `cdx:mcp:credentialExposure` | Flags inline secrets in MCP configs or discovered service metadata | Hard deny | | `cdx:mcp:security:confusedDeputyRisk` | Highlights DCR + static-client authorization risk in MCP config | Hard deny | | `cdx:mcp:security:tokenPassthroughRisk` | Flags config-driven bearer/access-token forwarding | Hard deny | | `cdx:agent:hasPublicMcpEndpoint` | Flags public MCP endpoints referenced in agent instructions | Hard deny | | `cdx:agent:hasTunnelReference` | Flags ngrok/Cloudflare-tunnel style exposure in agent instructions | Hard deny | | `cdx:agent:framework` | Identifies community agent/tooling ecosystems such as OpenCode, Nanocoder, LangGraph, or CrewAI | Warning / triage | | `cdx:tool:description` | Captures discovered custom tool or command intent | Warning / triage | | `cdx:tool:tags` | Captures command/tool tags or routing hints | Warning / triage | | `cdx:skill:name` | Identifies discovered SKILL.md definitions | Warning / triage | | `cdx:skill:specValid` | Boolean cue that a SKILL.md satisfies the open Agent Skills frontmatter constraints | Warning / triage | | `cdx:skill:hasScripts` | Marks a skill bundling executable `scripts/` the agent may run | Warning / triage | | `cdx:skill:hasReferences` | Marks a skill bundling on-demand `references/` documentation | Informational | | `cdx:skill:hasAssets` | Marks a skill bundling `assets/` such as templates or data files | Informational | | `cdx:skill:agent` | Agent runtime a host-installed skill was found for, from osquery's `ai_agent_skills` (OBOM) | Informational | | `cdx:skill:scope` | Where a host-installed skill lives: `user`, `plugin`, `system` or `project` | Warning / triage | | `cdx:skill:allowedTools` | The `allowed-tools` a skill pre-approves, as its frontmatter declares them | Warning / triage | | `cdx:skill:resourceCount` | Number of files a host-installed skill bundles besides its SKILL.md | Informational | | `cdx:skill:scriptCount` | Number of files under a host-installed skill's `scripts/` | Warning / triage | | `cdx:plugin:description` | Describes a discovered Claude Code plugin or marketplace listing | Informational | | `cdx:plugin:author` | Records the declared author of a Claude Code plugin | Informational | | `cdx:plugin:commandCount` | Counts slash commands a plugin contributes | Warning / triage | | `cdx:plugin:agentCount` | Counts subagents a plugin contributes | Warning / triage | | `cdx:plugin:skillCount` | Counts skills a plugin contributes | Warning / triage | | `cdx:plugin:hookCount` | Counts lifecycle hooks a plugin registers | Hard deny | | `cdx:plugin:mcpServerCount` | Counts MCP servers a plugin wires in | Hard deny | | `cdx:plugin:source` | Records the source reference of a marketplace-listed plugin | Warning / triage | | `cdx:registry:server:name` | MCP Registry server name declared in a `server.json` manifest | Informational | | `cdx:registry:server:version` | MCP Registry server version from a `server.json` manifest | Informational | | `cdx:registry:server:packageCount` | Number of distributable packages a registry server declares | Warning / triage | | `cdx:registry:server:remoteCount` | Number of remotely hosted endpoints a registry server declares | Warning / triage | | `cdx:registry:server:packageRegistryType` | Registry type (npm/pypi/nuget/oci/mcpb) of a declared distributable | Warning / triage | | `cdx:registry:server:packageTransport` | Transport a declared distributable speaks (stdio/streamable-http/sse) | Warning / triage | | `cdx:registry:server:environmentVariableCount` | Number of environment variables a registry package is handed at launch | Warning / triage | | `cdx:registry:server:runtimeArgumentCount` | Number of runtime arguments a registry package is launched with | Informational | | `cdx:registry:server:packageArgumentCount` | Number of package arguments a registry package declares | Informational | | `cdx:registry:server:secretInputCount` | Number of secret-typed launch inputs a registry package declares | Hard deny | | `cdx:mcp:composition` | Marks servers whose composition cannot be verified locally (e.g. registry remotes) | Warning / triage | | `cdx:mcp:protocolVersion` | Captures an explicitly pinned MCP protocol revision (e.g. 2026-07-28) | Warning / triage | | `cdx:mcp:deprecatedFeatures` | Lists MCP features deprecated by the 2026-07-28 spec that a config still uses | Hard deny | | `cdx:mcp:auth:cimd` | Flags Client ID Metadata Document (CIMD) authorization configuration | Warning / triage | | `cdx:mcp:auth:audienceBound` | Marks servers that bind tokens to a specific resource audience per hardened MCP auth | Warning / triage | | `cdx:mcpb:manifestVersion` | MCPB/DXT bundle manifest schema version | Informational | | `cdx:mcpb:serverType` | Runtime type of the server bundled in an MCPB/DXT archive | Warning / triage | | `cdx:mcpb:toolCount` | Number of tools a bundled MCP server exposes | Warning / triage | | `cdx:mcpb:promptCount` | Number of prompts a bundled MCP server exposes | Informational | | `cdx:mcpb:userConfigFieldCount` | Number of declared user-configuration fields in a bundle | Warning / triage | | `cdx:mcpb:secretFieldCount` | Number of secret-typed configuration fields a bundle injects as env vars | Hard deny | | `cdx:mcpb:injectsSecretEnv` | Flags bundles that inject secret configuration values as environment variables | Hard deny | | `cdx:mcpb:platformBinaryCount` | Number of precompiled per-platform binaries a bundle ships | Warning / triage | | `cdx:ai:quantizationMethod` | Non-GGUF quantization method (gptq/awq/exl2/bitsandbytes) distinct from the container format | Warning / triage | | `cdx:ai:unsafeDeserialization` | Flags pickle-based model artifacts (.bin/.pt/.pth/.ckpt) that execute code on load | Hard deny | | `cdx:safetensors:tensorCount` | Number of tensors declared in a safetensors header | Informational | | `cdx:safetensors:dtypes` | Distinct tensor dtype names (up to 32) declared in a safetensors header | Informational | | `cdx:safetensors:parameterCount` | Parameter count of one safetensors file, from its tensor shapes (artifact file component) | Informational | | `cdx:safetensors:format` | Framework token from `__metadata__.format` (`pt`, `tf`, `flax`, `mlx`), only when it is a short lower-case token (artifact file component) | Informational | | `cdx:safetensors:metadataKeyCount` | Number of string entries in `__metadata__`; their values are never copied (artifact file component) | Informational | | `cdx:safetensors:missingShardCount` | Shards named by `.safetensors.index.json` that are not on disk (model component) | Informational | | `cdx:safetensors:unexpectedShardCount` | Shards on disk that the index does not name (model component) | Informational | | `cdx:safetensors:indexSizeMismatch` | `true` when the index `metadata.total_size` differs from the summed tensor bytes of the shards (model component) | Informational | | `cdx:onnx:irVersion` | ONNX IR version from the header, 1 to 64 (artifact file component) | Informational | | `cdx:onnx:producer` | Exporter named in `producer_name`, at most 128 characters (artifact file component, rule AIS-004) | Informational | | `cdx:onnx:producerVersion` | Exporter version from `producer_version` (artifact file component) | Informational | | `cdx:onnx:domain` | Model `domain` string (artifact file component) | Informational | | `cdx:onnx:opsets` | Operator sets as `domain:version`, the default set labelled `ai.onnx` (artifact file component) | Informational | | `cdx:onnx:metadataPropsCount` | Number of `metadata_props` entries; values are never copied (artifact file component) | Informational | | `cdx:onnx:metadataKeys` | Names of `metadata_props` keys on a short allowlist of non-secret keys (artifact file component) | Informational | | `cdx:onnx:externalData` | `true` when sibling external data files (`.onnx_data`, `.onnx.data`) exist (artifact file component) | Informational | | `cdx:onnx:externalDataFileCount` | Number of external data files found beside the ONNX file (artifact file component) | Informational | | `cdx:ai:artifactVariant` | Variant of an ONNX export taken from the file name, such as `quantized` or `fp16` (artifact file component) | Informational | | `cdx:agentic:tool` | Identifies the discovered agentic CLI tool (kiro-cli, zcode, opencode, claude-code, ...) | Warning / triage | | `cdx:agentic:model` | Model an agent definition selects (from a tool's agent config) | Warning / triage | | `cdx:agentic:home` | Records the tool's discovered per-user home directory | Informational | | `cdx:agentic:supportDir` | Records the tool's platform support directory when present | Informational | | `cdx:agentic:inventorySource` | Marks the component as produced by the host scan (`host-scan`) | Informational | | `cdx:agentic:kind` | Distinguishes child components: `agent-definition`, `plugin`, or `provider` | Warning / triage | | `cdx:agentic:agentCount` | Number of agent definitions the tool declares | Warning / triage | | `cdx:agentic:mcpServerCount` | Number of MCP servers wired into an agent or plugin | Warning / triage | | `cdx:agentic:toolCount` | Number of tools an agent definition grants | Warning / triage | | `cdx:agentic:allowedToolCount` | Number of explicitly allow-listed tools for an agent | Warning / triage | | `cdx:agentic:pluginCount` | Number of installed or cached plugins for the tool | Warning / triage | | `cdx:agentic:enabledPluginCount` | Number of plugins currently enabled | Warning / triage | | `cdx:agentic:cachedPluginRepoCount` | Number of cached plugin repositories | Informational | | `cdx:agentic:providerCount` | Number of configured inference providers | Warning / triage | | `cdx:agentic:hasDefaultModel` | Whether a default model is configured | Informational | | `cdx:agentic:knowledgeBaseCount` | Number of knowledge bases the tool maintains | Informational | | `cdx:agentic:commandCount` | Number of custom slash commands the tool declares | Informational | | `cdx:agentic:skillCount` | Number of skills the tool declares | Informational | | `cdx:agentic:defaultAgent` | The configured default agent name | Informational | | `cdx:agentic:hasSessions` | Whether the tool has stored sessions (presence only; transcripts are never read) | Informational | | `cdx:agentic:license` | Declared license of an agentic plugin | Warning / triage | | `cdx:agentic:hasSkills` | Whether an agentic plugin bundles skills | Informational | | `cdx:agentic:ide` | Id of the editor the tool ships in (`cursor`, `kiro`, `devin-desktop`, ...) | Informational | | `cdx:agentic:ideInstallDir` | Folder holding the editor's `product.json`, home-relative when under the home directory | Informational | | `cdx:agentic:extensionCount` | Number of extensions in the editor's extensions folder, Goose extensions, or Claude Desktop extensions| Warning / triage | | `cdx:agentic:ruleCount` | Number of user rule files (`~/.cursor/rules/*.mdc`) | Informational | | `cdx:agentic:bundledSkillCount` | Number of skills the editor ships in its own skills folder (`~/.cursor/skills-cursor`) | Informational | | `cdx:agentic:cliAllowRuleCount` | Number of allow rules in the Cursor CLI `cli-config.json` permissions; the rules are not copied | Warning / triage | | `cdx:agentic:cliDenyRuleCount` | Number of deny rules in the Cursor CLI `cli-config.json` permissions; the rules are not copied | Informational | | `cdx:agentic:permissionRuleCount` | Number of Kiro V3 permission rules in scope (an agent definition, the user-scope `permissions.yaml`, or a workspace file); the rules are not copied | Warning / triage | | `cdx:agentic:permissionAllowRuleCount` | Number of `effect: allow` rules in a Kiro V3 permission document | Warning / triage | | `cdx:agentic:permissionDenyRuleCount` | Number of `effect: deny` rules in a Kiro V3 permission document | Warning / triage | | `cdx:agentic:permissionAskRuleCount` | Number of `effect: ask` rules in a Kiro V3 permission document | Warning / triage | | `cdx:agentic:permissionEvaluateRuleCount` | Number of `effect: evaluate` rules in a Kiro V3 permission document | Warning / triage | | `cdx:agentic:permissionCapabilities` | Comma-separated capability names from a Kiro V3 permission document (for example `all,fs_write`) | Warning / triage | | `cdx:agentic:permissionAllowsAll` | True when an allow rule grants the `all` capability with no `match` restriction | Warning / triage | | `cdx:agentic:permissionUnrestrictedAllowCapabilities` | Comma-separated capabilities allowed with no `match` restriction | Warning / triage | | `cdx:agentic:permissionPolicyPresets` | Comma-separated allowlisted policy presets such as `approve-for-me` | Warning / triage | | `cdx:agentic:permissionUnknownPolicyPresetCount` | Number of policy presets outside the allowlist; their names are not copied | Warning / triage | | `cdx:agentic:permissionWorkspaceTrusted` | True when the summarized Kiro permission document declares `workspaceTrusted: true` | Informational | | `cdx:agentic:upgradeRevision` | Integer `kiroUpgrade.revision` of a Kiro V3 agent definition | Informational | | `cdx:agentic:workspacePermissionFileCount` | Number of `permissions.yaml` files found under `~/.kiro/workspace-roots` | Informational | | `cdx:agentic:trustedWorkspaceCount` | Number of Kiro workspace permission files that declare `workspaceTrusted: true` | Warning / triage | | `cdx:agentic:workspaceWithAllowRuleCount` | Number of Kiro workspace permission files that carry at least one allow rule | Warning / triage | | `cdx:langgraph:graphEntryPoint` | Carries the configured graph entrypoint from `langgraph.json` | Warning / triage | | `cdx:crewai:tools` | Captures configured CrewAI tool lists or references, without tool constructor arguments | Warning / triage | | `cdx:agent:credentialExposure` | Flags inline secret patterns in AI agent instructions | Hard deny | | `cdx:agent:reviewNeeded` | One-bit reviewer cue for hidden Unicode, undeclared MCP refs, or risky exposure | Warning / triage | | `cdx:ai:codegen:detected` | Boolean cue that AI/LLM/agent authorship signals were found in the project | Warning / triage | | `cdx:ai:codegen:confidence` | Aggregate noisy-OR confidence (0.00-0.99) that AI authored or reviewed the code | Warning / triage | | `cdx:ai:codegen:confidence:band` | Coarse `low`/`medium`/`high` confidence band for policy thresholds | Warning / triage | | `cdx:ai:codegen:tools` | Detected AI tools (Claude Code, Copilot, Cursor, Devin, etc.) for attribution and licensing review | Warning / triage | | `cdx:ai:codegen:phases` | Development phases (dev/test/review/ci) where AI usage was observed | Warning / triage | | `cdx:ai:codegen:tool:` | Per-tool confidence, phases, channels, and evidence for auditability | Warning / triage | | `cdx:ai:codegen:evidence:json` | Structured JSON of every AI signal (channel/tool/phase/evidence/confidence) | Warning / triage | | `cdx:ai:oversight:score` | Aggregate 0.00-1.00 human-oversight/process-rigor score for AI-authored code | Warning / triage | | `cdx:ai:oversight:band` | Coarse `strong`/`moderate`/`weak` rigor band for policy thresholds | Warning / triage | | `cdx:ai:oversight:verificationDebtRatio` | Fraction of AI commits/PRs with no independent human review (`unavailable` without forge data) | Warning / triage | | `cdx:ai:oversight:reviewCoverage` | Fraction of AI commits/PRs with a verified independent approval (`unavailable` without forge data) | Warning / triage | | `cdx:ai:oversight:reviewLatencyVsSize` | Median review time ÷ diff size; rubber-stamp indicator (`unavailable` without forge data) | Warning / triage | | `cdx:ai:oversight:selfMergeRate` | Fraction of AI PRs merged/approved by their own author (`unavailable` without forge data) | Warning / triage | | `cdx:ai:oversight:ciWeakeningEvents` | Count of AI commits that delete tests or add quality-gate suppressions (`--no-verify`, `\|\| true`) | Warning / triage | | `cdx:ai:oversight:signoffCoverage` | Fraction of AI commits carrying a DCO `Signed-off-by` and/or verified signature | Warning / triage | | `cdx:ai:oversight:codeownersCoverage` | Fraction of AI-touched paths covered by CODEOWNERS (`unavailable` if absent or too costly to check) | Warning / triage | | `cdx:ai:oversight:revertHotfixRate` | Rate of reverts/hotfixes touching AI-authored work | Warning / triage | | `cdx:ai:oversight:batchSizeMedian` | Median lines changed per AI commit (review-compression context) | Context only | | `cdx:ai:oversight:aiLineRatio` | AI-authored lines ÷ total (precise from git-ai notes, else heuristic) | Context only | | `cdx:ai:oversight:dataSources` | Channels that populated the score (`git`, `git-ai-notes`, `github-api`, `gitlab-api`) | Context only | | `cdx:ai:oversight:evidence:json` | Structured per-signal oversight evidence (sanitized JSON) for an auditable score | Warning / triage | | `cdx:ai:codegen:models` | Unique model names (e.g., `claude-sonnet-4-20250514,gpt-4o`) from git-ai notes | Warning / triage | | `cdx:ai:codegen:agents` | Unique agent tool names (e.g., `claude-code,cursor`) from git-ai notes | Warning / triage | | `cdx:ai:codegen:noteCount` | Number of git-ai notes with AI attribution entries | Context only | | `cdx:ai:codegen:sessionCount` | Total AI sessions referenced across git-ai notes | Context only | | `cdx:ai:codegen:attributionCount` | Total AI-attributed line+range entries across all git-ai notes | Context only | | `cdx:pypi:registry` | Indicates non-default Python package index usage | Hard deny | | `cdx:gem:remoteRevision` | Lets policies distinguish immutable git revisions from mutable branch/tag sourcing | Warning / triage | | `cdx:nix:nar_hash` | Important reproducibility and content-integrity signal for flakes | Hard deny | | `cdx:go:local_dir` | Detects local module replacements and non-hermetic resolution | Hard deny | | `cdx:golem:securitySignalSeverity` | Highlights Go modules touched by security-sensitive semantic signals | Hard deny | | `cdx:golem:localReplacement` | Captures local Go replacement evidence from Golem's analyzed module graph | Hard deny | | `cdx:golem:privateModuleCandidate` | Identifies private/internal module candidates that need internal provenance controls | Warning / triage | | `cdx:golem:usageScopes` | Separates runtime dependency use from test, benchmark, fuzz, and example-only use | Warning / triage | | `cdx:golem:occurrenceEvidenceKinds` | Explains whether evidence came from imports, symbol calls, or symbol references | Context only | | `cdx:golem:callGraphMode` | Shows whether Go Evinse used none, static, CHA, RTA, or VTA call graph analysis | Warning / triage | | `cdx:golem:dataFlowMode` | Shows whether Go Evinse collected Golem data-flow slices (`security`, `crypto`, or `all`) | Warning / triage | | `cdx:golem:cryptoDataFlow` | Flags a Go module with a crypto-related source-to-sink data-flow slice | Hard deny | | `cdx:golem:cryptoDataFlowCount` | Counts crypto-related Golem data-flow slices | Warning / triage | | `cdx:golem:cryptoAlgorithms` | Summarizes source-detected Go cryptographic algorithms | Warning / triage | | `cdx:rusi:securitySignalSeverity` | Highlights Rust modules touched by security-sensitive semantic signals | Hard deny | | `cdx:rusi:cryptoFindingSeverity` | Flags cryptographic findings and weaknesses in Rust dependencies | Warning / triage | | `cdx:rusi:dataFlowCategories` | Summarizes source-to-sink data-flow categories for Rust components | Warning / triage | | `cdx:bom:componentSrcFiles` | Useful gate for BOM completeness and downstream attestability | Warning / triage | | `cdx:ai:artifactFormat` | Distinguishes GGUF, Modelfile, and other AI artifact/config discovery paths | Warning / triage | | `cdx:ai:quantization` | Captures local-model weight encoding such as `Q5_K_M` or `BF16` | Warning / triage | | `cdx:ai:contextWindow` | Exposes model context limits useful for performance and governance review | Warning / triage | | `cdx:huggingface:downloadsAllTime` | Captures long-run Hugging Face adoption volume for a remote model or dataset | Warning / triage | | `cdx:huggingface:inferenceProvider` | Lists provider backends advertising hosted inference support for a model | Warning / triage | | `cdx:huggingface:runtimeStage` | Shows whether a Hugging Face Space is `RUNNING`, `BUILDING`, `PAUSED`, or failed | Warning / triage | | `cdx:gguf:sizeLabel` | Preserves GGUF size-class metadata such as `7B` or `8x7B` | Context only | | `cdx:gguf:shard` | Identifies sharded GGUF artifacts such as `00001-of-00002` | Context only | | `cdx:gguf:tokenizerModel` | Identifies the embedded GGUF tokenizer family such as `llama` or `gpt2` | Warning / triage | | `cdx:gguf:tokenizerTokenCount` | Captures the embedded tokenizer vocabulary size | Context only | | `cdx:gguf:chatTemplateDetected` | Flags GGUF artifacts that embed a chat-template contract | Warning / triage | | `cdx:crypto:trustDomain` | Distinguishes package-signing keyrings (`apt`/`rpm`/`apk`) from CA-store trust material | Warning / triage | | `cdx:crypto:keyId` | Stable repository-key identity pivot for trust-anchor review and allowlists | Warning / triage | | `cdx:darwin:notarization:assessment` | Separates accepted vs rejected/unknown notarization assessments for macOS apps | Hard deny | | `cdx:darwin:codesign:teamIdentifier` | Useful allowlist key for approved Apple Developer teams | Warning / triage | | `cdx:windows:authenticode:status` | Fast unsigned/invalid-signature gate for Windows executable inventory | Hard deny | | `cdx:windows:wdac:activePolicyCount` | Indicates whether WDAC active policy material is present on the host | Warning / triage | | `cdx:lolbas:names` | Maps Windows startup/process telemetry to known LOLBAS binaries | Warning / triage | | `cdx:lolbas:attackTechniques` | Carries ATT&CK techniques for matched Windows LOLBAS helpers | Warning / triage | | `cdx:gtfobins:functions` | Encodes GTFOBins execution, file, network, and library-load primitives | Warning / triage | | `cdx:gtfobins:privilegedContexts` | Highlights sudo/SUID/capability-backed abuse paths | Hard deny | | `cdx:gtfobins:riskTags` | Summarizes container-escape, exfiltration, persistence, and lateral-movement risk | Warning / triage | | `cdx:container:offenseTools` | Links executables to Peirates/CDK/DEEPCE-style intrusion playbooks | Warning / triage | | `cdx:container:seccompBlockedSyscalls` | Shows which escape-relevant syscalls rely on relaxed seccomp | Warning / triage | | `cdx:vscode-extension:lifecycleScripts` | Captures install-time execution surface from extension lifecycle hooks | Hard deny | | `cdx:vscode-extension:activationEvents` | Wildcard (`*`) activation means always-on; broad trigger surface is higher risk | Warning / triage | | `cdx:vscode-extension:untrustedWorkspaces` | Controls whether the extension operates in untrusted workspace contexts | Warning / triage | | `cdx:vscode-extension:contributes` | Reveals contributed features such as terminal access, debuggers, auth providers | Warning / triage | | `cdx:vscode-extension:executesCode` | Explicit declaration that the extension executes code; always-true is higher risk | Warning / triage | | `cdx:vscode-extension:vscodeEngine` | Minimum VS Code version required; older engines may lack security features | Context only | | `cdx:chrome-extension:permissions` | Captures primary Chrome extension API permission requests | Hard deny | | `cdx:chrome-extension:hostPermissions` | Captures effective site scope from host permissions and content-script matches | Hard deny | | `cdx:chrome-extension:contentScriptsRunAt` | Captures content script injection timing such as `document_start` | Warning / triage | | `cdx:chrome-extension:contentScriptsMatches` | Captures URL match patterns declared under `content_scripts[*].matches` | Hard deny | | `cdx:chrome-extension:hasAutofill` | Signals autofill-related capability detected from manifest content | Warning / triage | | `cdx:chrome-extension:capability:codeInjection` | Signals explicit code-injection capability from manifest/source analysis | Hard deny | | `cdx:chrome-extension:capability:fingerprinting` | Signals fingerprinting-relevant APIs/permissions from manifest/source analysis | Warning / triage | ## Current key inventory (grouped) The grouped lists below remain the authoritative inventory. The compact tables, decision categories, and combinations that follow are intended to make those keys easier to operationalize. ### CI/CD and workflow provenance #### Authoritative grouped index - **GitHub Actions:** `cdx:github:action:isLocked`, `cdx:github:action:isShaPinned`, `cdx:github:action:isTransitive`, `cdx:github:action:lockRefMismatch`, `cdx:github:action:uses`, `cdx:github:action:versionPinningType`, `cdx:github:cache:hasRestoreKeys`, `cdx:github:cache:key`, `cdx:github:cache:keyUsesHashFiles`, `cdx:github:cache:path`, `cdx:github:cache:restoreKeys`, `cdx:github:checkout:persistCredentials`, `cdx:github:job:environment`, `cdx:github:job:hasIdTokenWrite`, `cdx:github:job:hasWritePermissions`, `cdx:github:job:if`, `cdx:github:job:isReusableWorkflowCall`, `cdx:github:job:isSelfHosted`, `cdx:github:job:name`, `cdx:github:job:needs`, `cdx:github:job:runner`, `cdx:github:job:services`, `cdx:github:job:timeoutMinutes`, `cdx:github:job:uses`, `cdx:github:job:writeScopes`, `cdx:github:lock:commit`, `cdx:github:lock:hashAlgo`, `cdx:github:lock:hostname`, `cdx:github:lock:ownerId`, `cdx:github:lock:ref`, `cdx:github:lock:repoId`, `cdx:github:lockfile:dependencies`, `cdx:github:lockfile:onboardedWorkflows`, `cdx:github:lockfile:path`, `cdx:github:lockfile:refMismatches`, `cdx:github:lockfile:staleEntries`, `cdx:github:lockfile:unlockedRefs`, `cdx:github:lockfile:unonboardedWorkflows`, `cdx:github:lockfile:version`, `cdx:github:reusableWorkflow:isExternal`, `cdx:github:reusableWorkflow:isShaPinned`, `cdx:github:reusableWorkflow:ref`, `cdx:github:reusableWorkflow:secretsInherit`, `cdx:github:reusableWorkflow:uses`, `cdx:github:reusableWorkflow:versionPinningType`, `cdx:github:reusableWorkflow:withKeys`, `cdx:github:step:command`, `cdx:github:step:condition`, `cdx:github:step:continueOnError`, `cdx:github:step:dispatchesWorkflow`, `cdx:github:step:dispatchKinds`, `cdx:github:step:dispatchMechanisms`, `cdx:github:step:dispatchReceiverConfidence`, `cdx:github:step:dispatchReceiverMatchBasis`, `cdx:github:step:dispatchReceiverWorkflowFiles`, `cdx:github:step:dispatchReceiverWorkflowNames`, `cdx:github:step:dispatchTargets`, `cdx:github:step:dispatchUsesExplicitRepositoryTarget`, `cdx:github:step:forkContextRefs`, `cdx:github:step:hasLocalDispatchReceiver`, `cdx:github:step:hasOutboundNetworkCommand`, `cdx:github:step:hasUntrustedInterpolation`, `cdx:github:step:if`, `cdx:github:step:interpolatedVars`, `cdx:github:step:mutatesRunnerState`, `cdx:github:step:name`, `cdx:github:step:outboundNetworkTools`, `cdx:github:step:referencesForkContext`, `cdx:github:step:referencesSensitiveContext`, `cdx:github:step:runnerStateTargets`, `cdx:github:step:sensitiveContextRefs`, `cdx:github:step:timeout`, `cdx:github:step:type`, `cdx:github:step:uses`, `cdx:github:workflow:concurrencyGroup`, `cdx:github:workflow:dispatchSenderMatchBasis`, `cdx:github:workflow:dispatchSenderWorkflowFiles`, `cdx:github:workflow:dispatchSenderWorkflowNames`, `cdx:github:workflow:file`, `cdx:github:workflow:hasHighRiskTrigger`, `cdx:github:workflow:hasIdTokenWrite`, `cdx:github:workflow:hasIssueCommentTrigger`, `cdx:github:workflow:hasLocalDispatchSender`, `cdx:github:workflow:hasPullRequestTargetTrigger`, `cdx:github:workflow:hasPullRequestTrigger`, `cdx:github:workflow:hasRepositoryDispatchTrigger`, `cdx:github:workflow:hasWorkflowCallTrigger`, `cdx:github:workflow:hasWorkflowDispatchInputs`, `cdx:github:workflow:hasWorkflowDispatchTrigger`, `cdx:github:workflow:hasWorkflowRunTrigger`, `cdx:github:workflow:hasWritePermissions`, `cdx:github:workflow:isWorkflowCallProducer`, `cdx:github:workflow:lockStalePins`, `cdx:github:workflow:lockfileOnboarded`, `cdx:github:workflow:lockfilePresent`, `cdx:github:workflow:lockfileReadable`, `cdx:github:workflow:name`, `cdx:github:workflow:repositoryDispatchTypes`, `cdx:github:workflow:triggers`, `cdx:github:workflow:workflowCallInputs`, `cdx:github:workflow:workflowCallOutputs`, `cdx:github:workflow:workflowCallSecrets`, `cdx:github:workflow:workflowDispatchInputs`, `cdx:github:workflow:workflowDispatchReceiverAliases`, `cdx:github:workflow:writeScopes` - **GitHub action trust tags:** `cdx:actions:isOfficial`, `cdx:actions:isVerified` - **GitLab CI:** `cdx:gitlab:config`, `cdx:gitlab:job:environment`, `cdx:gitlab:job:image`, `cdx:gitlab:job:name`, `cdx:gitlab:job:needs`, `cdx:gitlab:job:services`, `cdx:gitlab:job:stage`, `cdx:gitlab:stages` - **Azure Pipelines:** `cdx:azure:config`, `cdx:azure:job:environment`, `cdx:azure:job:name`, `cdx:azure:job:pool:vmImage`, `cdx:azure:pool:vmImage`, `cdx:azure:stage:condition`, `cdx:azure:stage:dependsOn`, `cdx:azure:stage:name`, `cdx:azure:trigger:branches` - **CircleCI:** `cdx:circleci:config`, `cdx:circleci:executor:name`, `cdx:circleci:job:branch:only`, `cdx:circleci:job:name`, `cdx:circleci:job:requires`, `cdx:circleci:job:stepsOmitted` (`true` on a workflow job entry whose copy of the job's steps was left out: every entry carries its own copy, and one config file may contribute at most 32 characters of serialized steps per byte of the file, or 4 MiB when that is more), `cdx:circleci:orb:alias`, `cdx:circleci:workflow:name` - **Jenkins:** `cdx:jenkins:agent`, `cdx:jenkins:agent:image`, `cdx:jenkins:file`, `cdx:jenkins:stage:name`, `cdx:jenkins:stage:parallel`, `cdx:jenkins:stage:when` (the directive names of the stage's `when` block, comma-separated, such as `anyOf,branch,environment`; conditions and their arguments are not recorded) #### Decision-oriented sub-groups - **Privilege / trust:** `cdx:github:workflow:hasWritePermissions`, `cdx:github:job:hasWritePermissions`, `cdx:github:workflow:hasIdTokenWrite`, `cdx:actions:isOfficial`, `cdx:actions:isVerified` - **Execution surface:** `cdx:github:step:command`, `cdx:github:step:type`, `cdx:github:step:hasOutboundNetworkCommand`, `cdx:github:step:mutatesRunnerState`, `cdx:github:reusableWorkflow:uses`, `cdx:gitlab:job:image`, `cdx:gitlab:job:services`, `cdx:azure:job:pool:vmImage`, `cdx:circleci:orb:alias`, `cdx:jenkins:agent:image` - **Reproducibility / control flow:** `cdx:github:workflow:triggers`, `cdx:github:job:needs`, `cdx:azure:stage:dependsOn`, `cdx:azure:stage:condition`, `cdx:circleci:job:requires`, `cdx:jenkins:stage:when`, `cdx:jenkins:stage:parallel` - **Environment / targeting:** `cdx:github:job:environment`, `cdx:github:job:isSelfHosted`, `cdx:github:job:runner`, `cdx:github:workflow:workflowDispatchInputs`, `cdx:gitlab:job:environment`, `cdx:azure:job:environment`, `cdx:azure:trigger:branches`, `cdx:circleci:job:branch:only` #### Compact operational reference | Key | Scope | Value type | Typical values | When emitted | Why it matters | Policy readiness | | ----------------------------------------------------- | -------------------- | -------------- | -------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------- | ---------------- | | `cdx:github:action:isShaPinned` | step | boolean string | `"true"`, `"false"` | On `uses:` steps in GitHub Actions workflows | Primary mutable-vs-immutable trust signal for third-party actions | Hard deny | | `cdx:github:action:versionPinningType` | step | enum string | `sha`, `tag`, `branch` | On `uses:` steps in GitHub Actions workflows | More expressive companion to `isShaPinned`; lets policies distinguish branch and tag references | Warning / triage | | `cdx:github:action:isLocked` | action | boolean string | `"true"`, `"false"` | On `uses:` step components when `.github/workflows/actions.lock` exists beside the workflow | Whether the reference resolves to a lockfile entry; the lock always confirms, never overwrites, the file-derived pinning properties | Hard deny | | `cdx:github:action:isTransitive` | action | boolean string | `"true"` | On components for the actions a lockfile entry's `uses` list names, when the calling workflow is onboarded; direct actions carry no such property | The composite's own dependencies, which the lockfile attests and no workflow file mentions | Warning / triage | | `cdx:github:action:lockRefMismatch` | action | boolean string | `"true"` | On `uses:` step components whose ref resolves to no entry while the same repository is pinned under another ref | The workflow file drifted from the locked ref, so the step no longer runs what the repository reviewed | Hard deny | | `cdx:github:lock:commit` | action | string | `cafebabecafebabecafebabecafebabecafebabe` | On lockfile-matched action components | The exact commit the repository's lockfile resolves the pin to, without the algorithm prefix | Hard deny | | `cdx:github:lock:hashAlgo` | action | enum string | `sha1`, `sha256` | On lockfile-matched action components | Which digest algorithm the locked commit uses | Context only | | `cdx:github:lock:ref` | action | string | `v4.2.1` | On lockfile-matched action components | The resolved ref behind the pin, which can differ from the ref the workflow wrote | Warning / triage | | `cdx:github:lock:ownerId` | action | number string | `9100021` | On lockfile-matched action components | Owner id `gh actions-lock` recorded for the action | Context only | | `cdx:github:lock:repoId` | action | number string | `9100022` | On lockfile-matched action components | Repository id `gh actions-lock` recorded for the action | Context only | | `cdx:github:lock:hostname` | action | string | `github.com`, `octocorp.ghe.com` | On lockfile-matched components whose entry records a host (lockfile v0.0.3); absent means the home host | Distinguishes github.com pins from GHE.com data-residency tenants | Warning / triage | | `cdx:github:workflow:lockfilePresent` | workflow + component | boolean string | `"true"` | When a lockfile exists beside the workflow | Gates lockfile rules on repositories that run `gh actions-lock` | Warning / triage | | `cdx:github:workflow:lockfileOnboarded` | workflow + component | boolean string | `"true"`, `"false"` | When a lockfile exists; `"true"` when the workflow path is a key of the lockfile's `workflows` map | A workflow left out of a locked repository ships refs the lock never audited | Hard deny | | `cdx:github:workflow:lockfileReadable` | workflow + component | boolean string | `"false"` | When a lockfile exists but the reader collapsed it, that is an unreadable file or an unsupported version | The repository believes it is protected and is not | Hard deny | | `cdx:github:workflow:lockStalePins` | workflow | list string | `example-org/legacy-helper@v1.5.0` | On onboarded workflows; the pin keys of the workflow's lockfile list that no step reaches directly or through a composite | The lockfile records actions the workflow dropped, which a full-directory `gh actions-lock` run prunes | Warning / triage | | `cdx:github:step:uses` | step | string | `./.github/actions/local-thing`, `$/self-action` | On `uses:` step components of the `./` (workspace) and `$/` (own repository) forms | The raw reference behind a self-repository or local-path step | Context only | | `cdx:github:lockfile:path` | BOM metadata | string | `.github/workflows/actions.lock` | In `metadata.properties` when a lockfile exists at the scan root | Names the lockfile the document summary describes | Context only | | `cdx:github:lockfile:version` | BOM metadata | string | `v0.0.2` | In `metadata.properties` when a readable lockfile exists at the scan root | Which schema version the summary describes | Context only | | `cdx:github:lockfile:onboardedWorkflows` | BOM metadata | number string | `3` | In `metadata.properties`; count of the lockfile's `workflows` keys | How much of the repository's CI the lockfile covers | Warning / triage | | `cdx:github:lockfile:dependencies` | BOM metadata | number string | `7` | In `metadata.properties`; count of the lockfile's `dependencies` entries | How many distinct action pins the lockfile resolves | Context only | | `cdx:github:lockfile:unlockedRefs` | BOM metadata | number string | `1` | In `metadata.properties`; count of action components whose reference resolves to no lock entry, ref mismatches excluded | References the repository ships outside the lock's protection | Warning / triage | | `cdx:github:lockfile:refMismatches` | BOM metadata | number string | `1` | In `metadata.properties`; count of action components whose ref differs from the pin recorded for the same repository | Workflow files edited after the lockfile was written | Hard deny | | `cdx:github:lockfile:staleEntries` | BOM metadata | number string | `2` | In `metadata.properties`; count of pin list entries the formulation workflows no longer reach; zero in `-t github` output, which carries no workflows | Dead pins that hide what the lock still resolves | Warning / triage | | `cdx:github:lockfile:unonboardedWorkflows` | BOM metadata | number string | `1` | In `metadata.properties`; count of formulation workflows a readable lockfile leaves out; zero in `-t github` output | How much of the repository's CI runs outside the lockfile policy | Hard deny | | `cdx:github:workflow:hasWritePermissions` | workflow + component | boolean string | `"true"`, `"false"` | When workflow permissions are parsed | Privilege amplifier for other risky signals | Hard deny | | `cdx:github:workflow:hasIdTokenWrite` | workflow + component | boolean string | `"true"`, `"false"` | When `id-token: write` is present | High-signal OIDC issuance capability | Hard deny | | `cdx:github:job:hasIdTokenWrite` | job + component | boolean string | `"true"`, `"false"` | When a job grants `id-token: write` | Captures narrower job-scoped OIDC issuance that would otherwise be missed | Hard deny | | `cdx:github:job:hasWritePermissions` | job | boolean string | `"true"`, `"false"` | When job-level permissions are parsed | Captures narrower but still powerful write scope | Hard deny | | `cdx:github:job:isSelfHosted` | job + component | boolean string | `"true"`, `"false"` | When a job targets a `self-hosted` runner label | Important trust-boundary signal for internal network access and runner persistence | Hard deny | | `cdx:github:workflow:writeScopes` | workflow + component | list string | `contents,id-token` | When workflow or effective job permissions grant specific write scopes | Improves explainability and allows scope-specific policy rules | Warning / triage | | `cdx:github:step:command` | step | string | `npm ci && npm test` | On `run:` steps | Direct execution surface useful for review and explainability | Context only | | `cdx:github:workflow:triggers` | workflow + component | list string | `push,pull_request` | When workflow triggers are present | Helps constrain where other risks are reachable | Warning / triage | | `cdx:github:workflow:hasPullRequestTrigger` | workflow + component | boolean string | `"true"`, `"false"` | When the workflow includes the exact `pull_request` trigger | Lets policies avoid substring matches and distinguish exact untrusted trigger semantics | Hard deny | | `cdx:github:workflow:hasPullRequestTargetTrigger` | workflow + component | boolean string | `"true"`, `"false"` | When the workflow includes the exact `pull_request_target` trigger | Strong signal for privileged PR-driven execution | Hard deny | | `cdx:github:workflow:hasIssueCommentTrigger` | workflow + component | boolean string | `"true"`, `"false"` | When the workflow includes the exact `issue_comment` trigger | Useful for trigger-gated rules and manual-approval requirements | Hard deny | | `cdx:github:workflow:hasWorkflowRunTrigger` | workflow + component | boolean string | `"true"`, `"false"` | When the workflow includes the exact `workflow_run` trigger | Helps distinguish follow-on workflow chaining from ordinary branch triggers | Hard deny | | `cdx:github:workflow:hasWorkflowCallTrigger` | workflow + component | boolean string | `"true"`, `"false"` | When the workflow is designed to be invoked as a reusable workflow producer | Separates producer-side reusable workflow definitions from normal push/PR pipelines | Warning / triage | | `cdx:github:workflow:hasWorkflowDispatchInputs` | workflow + component | boolean string | `"true"`, `"false"` | When `workflow_dispatch.inputs` are declared | Highlights user-controlled inputs that can become initial-access or execution primitives | Warning / triage | | `cdx:github:workflow:workflowDispatchInputs` | workflow + component | list string | `target,version` | When `workflow_dispatch.inputs` are declared | Lets policies and triage quickly see which user-controlled inputs exist | Context only | | `cdx:github:checkout:persistCredentials` | step | boolean string | `"true"`,`"false"` | When `actions/checkout` step lacks `persist-credentials` or sets the attribute to true | Exposes GITHUB_TOKEN to subsequent steps | Warning / triage | | `cdx:github:cache:key` | step | string | npm-${{ hashFiles('**/package-lock.json') }} | Cache key used in `actions/cache` | | Context only | | `cdx:github:cache:keyUsesHashFiles` | step | boolean string | `"true"`, `"false"` | When the cache key is content-addressed with `hashFiles(...)` | Helps distinguish safer content-addressed caches from broader or mutable cache key patterns | Warning / triage | | `cdx:github:cache:path` | step | string | ~/.npm,node_modules | Cache path | | Context only | | `cdx:github:cache:restoreKeys` | step | list string | `npm-,node-modules-` | Comma-separated restore-key fallback patterns from `actions/cache` | Cache poisoning risk context | Context only | | `cdx:github:cache:hasRestoreKeys` | step | boolean string | `"true"`, `"false"` | When `restore-keys` are configured on a cache action | Makes cache fallback behavior explicit and easy to consume in rules | Warning / triage | | `cdx:github:step:hasUntrustedInterpolation` | step | boolean string | `"true"`,`"false"` | Direct interpolation of github.event._ or inputs._ into run: blocks. | Enables command injection | Hard deny | | `cdx:github:step:interpolatedVars` | step | list string | github.event.pull_request.title | | | Warning / triage | | `cdx:github:step:mutatesRunnerState` | step | boolean string | `"true"`,`"false"` | When a step writes to `GITHUB_ENV`, `GITHUB_PATH`, or `GITHUB_OUTPUT` | Highlights persistence and downstream execution tampering within a workflow | Hard deny | | `cdx:github:step:runnerStateTargets` | step | list string | `GITHUB_ENV,GITHUB_OUTPUT` | When runner-state mutation is detected | Adds precise evidence about which mutable workflow channels were touched | Warning / triage | | `cdx:github:step:dispatchesWorkflow` | step | boolean string | `"true"`,`"false"` | When a step triggers `workflow_dispatch` / `repository_dispatch` via CLI, API, helper action, or `actions/github-script` | High-signal lateral-movement primitive across workflows and repositories | Hard deny | | `cdx:github:step:dispatchKinds` | step | list string | `workflow_dispatch,repository_dispatch` | When dispatch behavior is detected | Distinguishes manual workflow invocations from custom repository events | Warning / triage | | `cdx:github:step:dispatchTargets` | step | list string | `repo:org/repo,workflow:release.yml` | When dispatch targets can be extracted from step configuration or script body | Preserves concrete downstream blast-radius evidence | Context only | | `cdx:github:step:hasLocalDispatchReceiver` | step | boolean string | `"true"`,`"false"` | When the dispatch target can be matched to a unique local workflow receiver definition | Converts a generic dispatch into an explicit sender → receiver workflow edge | Hard deny | | `cdx:github:step:dispatchReceiverWorkflowFiles` | step | list string | `.github/workflows/release.yml` | When local receiver workflow files are matched | Preserves the exact downstream workflow files reached by the sender | Context only | | `cdx:github:step:dispatchReceiverMatchBasis` | step | list string | `workflow:release.yml,repository_dispatch:promote` | When sender-target correlation succeeds | Explains exactly why a local receiver match was considered high-confidence | Warning / triage | | `cdx:github:step:referencesForkContext` | step | boolean string | `"true"`,`"false"` | When a step references fork/head-repository workflow context | Strong signal for fork-to-privileged workflow routing | Hard deny | | `cdx:github:step:hasOutboundNetworkCommand` | step | boolean string | `"true"`,`"false"` | When a step invokes tools such as `curl`, `wget`, `scp`, `rsync`, or `Invoke-WebRequest` | Useful exfiltration and command-and-control precursor signal | Warning / triage | | `cdx:github:step:outboundNetworkTools` | step | list string | `curl,wget` | When outbound network tools are detected | Improves explainability for exfiltration-oriented rules | Context only | | `cdx:github:step:referencesSensitiveContext` | step | boolean string | `"true"`,`"false"` | When a run command references secret-like env vars, `secrets.*`, or token/OIDC context | Strong exfiltration/credential-use indicator when combined with outbound commands | Hard deny | | `cdx:github:step:sensitiveContextRefs` | step | list string | `env:API_TOKEN,context:secrets` | When sensitive context references are detected | Retains exactly which secret-bearing contexts were observed | Warning / triage | | `cdx:github:workflow:hasHighRiskTrigger` | workflow + component | boolean string | `"true"`,`"false"` | When workflow has these triggers: `"pull_request_target"`,`"issue_comment"`,`"workflow_run"` | Enables privilege escalation | Hard deny | | `cdx:actions:isOfficial` | step | boolean string | `"true"`, `"false"` | On GitHub action components | Distinguishes first-party from third-party action sources | Warning / triage | | `cdx:actions:isVerified` | step | boolean string | `"true"`, `"false"` | On GitHub action components | Helpful trust signal but not sufficient on its own | Warning / triage | | `cdx:github:reusableWorkflow:uses` | reusable workflow | string | `org/repo/.github/workflows/release.yml@main` | When a job invokes a reusable workflow via `jobs..uses` | Makes reusable workflow trust boundaries visible to policy engines | Hard deny | | `cdx:github:reusableWorkflow:isExternal` | reusable workflow | boolean string | `"true"`,`"false"` | When the reusable workflow is sourced from another repository | Distinguishes internal/local workflow composition from external trust edges | Hard deny | | `cdx:github:reusableWorkflow:secretsInherit` | reusable workflow | boolean string | `"true"`,`"false"` | When `secrets: inherit` is used on a reusable workflow call | Signals credential propagation across workflow boundaries | Hard deny | | `cdx:github:reusableWorkflow:isShaPinned` | reusable workflow | boolean string | `"true"`,`"false"` | When a reusable workflow ref is pinned to a commit SHA | Immutable pinning signal for reusable workflow supply-chain trust | Hard deny | | `cdx:github:workflow:isWorkflowCallProducer` | workflow + component | boolean string | `"true"`,`"false"` | When the current workflow exposes a `workflow_call` interface | Important provenance signal for reusable workflow producers and their public trust surface | Warning / triage | | `cdx:github:workflow:workflowCallInputs` | workflow + component | list string | `target,release_tag` | When a reusable workflow producer declares `workflow_call.inputs` | Enumerates caller-controlled producer inputs for review and policy | Context only | | `cdx:github:workflow:workflowCallSecrets` | workflow + component | list string | `release_token` | When a reusable workflow producer declares `workflow_call.secrets` | Reveals which secrets the producer expects from callers | Hard deny | | `cdx:github:workflow:workflowCallOutputs` | workflow + component | list string | `image_tag` | When a reusable workflow producer declares `workflow_call.outputs` | Exposes the interface surface exported back to callers | Context only | | `cdx:github:workflow:repositoryDispatchTypes` | workflow | list string | `promote,release-ready` | When a workflow declares `repository_dispatch.types` | Makes local repository_dispatch receivers explicit and matchable | Warning / triage | | `cdx:github:workflow:workflowDispatchReceiverAliases` | workflow | list string | `release.yml,release,Release workflow` | When workflow receiver aliases are derived from file/name | Supports high-confidence matching between sender steps and local workflow_dispatch receivers | Context only | | `cdx:github:workflow:hasLocalDispatchSender` | workflow | boolean string | `"true"`,`"false"` | When a local sender step was matched to this workflow as a receiver | Preserves the reverse edge for receiver-focused triage | Warning / triage | | `cdx:gitlab:job:image` | job | string | `node:20-alpine` | When GitLab job images are defined | Exposes execution environment and provenance | Warning / triage | | `cdx:gitlab:job:services` | job | list string | `postgres:14,redis:7` | When GitLab service sidecars are declared | Highlights additional runtime trust edges | Warning / triage | | `cdx:azure:pool:vmImage` | workflow | string | `ubuntu-latest` | When a workflow-level pool is set | Baseline runner selection for all jobs | Warning / triage | | `cdx:azure:job:pool:vmImage` | job | string | `windows-latest` | When a job overrides the workflow-level pool | Important job-level override; match both Azure pool keys in policy | Warning / triage | | `cdx:circleci:orb:alias` | step | string | `node/default` | When CircleCI orbs are used | Third-party execution surface and trust boundary | Warning / triage | | `cdx:jenkins:agent:image` | stage | string | `maven:3.9-eclipse-temurin-21` | When Jenkins stages use Docker agents | Useful for runtime provenance and image policy gates | Warning / triage | Workflow-, stage- and job-level text that is repeated on every child task or component (for example `cdx:github:workflow:triggers`, `cdx:github:job:if`, `cdx:azure:stage:condition` or an inherited `cdx:gitlab:job:image`) is shortened to 512 characters followed by `…`. Boolean flags are derived from the complete text, and the GitHub workflow object keeps its names and lists complete. #### High-value combinations - `cdx:github:action:isShaPinned=false` + `cdx:github:workflow:hasWritePermissions=true` - `cdx:github:action:isShaPinned=false` + `cdx:github:job:hasWritePermissions=true` - `cdx:github:workflow:hasIdTokenWrite=true` + `cdx:actions:isOfficial=false` - `cdx:github:step:type=run` + `cdx:github:job:hasWritePermissions=true` - `cdx:gitlab:job:image` present + `cdx:gitlab:job:services` present for untrusted pipeline paths - `cdx:azure:trigger:branches` absent + self-hosted or privileged pool policy match - `cdx:circleci:orb:alias` present + `cdx:circleci:job:branch:only` absent - `cdx:jenkins:agent:image` present + `cdx:jenkins:stage:when` absent for deployment stages #### Example payload fragment ```json { "name": "actions/setup-node", "type": "application", "purl": "pkg:github/actions/setup-node@v3", "properties": [ { "name": "cdx:github:action:uses", "value": "actions/setup-node@v3" }, { "name": "cdx:github:action:versionPinningType", "value": "tag" }, { "name": "cdx:github:action:isShaPinned", "value": "false" }, { "name": "cdx:github:workflow:hasWritePermissions", "value": "true" }, { "name": "cdx:actions:isOfficial", "value": "true" } ] } ``` #### Alias and overlap notes - Prefer matching **both** `cdx:github:action:isShaPinned` and `cdx:github:action:versionPinningType` when possible; the former is the convenience boolean and the latter carries more nuance. - Match both `cdx:azure:pool:vmImage` (workflow-level default) and `cdx:azure:job:pool:vmImage` (job-level override). Job-level settings take precedence when present. ### Package manager and language ecosystems #### Authoritative grouped index - **npm/pnpm:** `cdx:npm:artifactIntegrity`, `cdx:npm:artifactShasum`, `cdx:npm:bin`, `cdx:npm:binPaths`, `cdx:npm:buildScripts`, `cdx:npm:cleanedVersion`, `cdx:npm:compressedCadence`, `cdx:npm:cpu`, `cdx:npm:deprecated`, `cdx:npm:deprecation_notice`, `cdx:npm:extensionApplied`, `cdx:npm:extensionFieldsApplied`, `cdx:npm:extensionFormat`, `cdx:npm:extensionHash`, `cdx:npm:gypfile`, `cdx:npm:hasInstallScript`, `cdx:npm:hasObfuscatedLifecycleScript`, `cdx:npm:hasSuspiciousLifecycleScript`, `cdx:npm:has_binary`, `cdx:npm:inBundle`, `cdx:npm:inDepBundle`, `cdx:npm:installLinks`, `cdx:npm:isLink`, `cdx:npm:isRegistryDependency`, `cdx:npm:isWorkspace`, `cdx:npm:is_workspace`, `cdx:npm:lastModifiedTime`, `cdx:npm:libc`, `cdx:npm:lifecycleExecutionIndicators`, `cdx:npm:lifecycleIndicatorMap`, `cdx:npm:lifecycleNetworkIndicators`, `cdx:npm:lifecycleObfuscationIndicators`, `cdx:npm:maintainerOverlapCount`, `cdx:npm:maintainerOverlapRatio`, `cdx:npm:maintainerSet`, `cdx:npm:maintainerSetCount`, `cdx:npm:maintainerSetDrift`, `cdx:npm:maintainerSetPartialDrift`, `cdx:npm:nameMismatchError`, `cdx:npm:native_addon`, `cdx:npm:native_deps`, `cdx:npm:obfuscatedLifecycleScripts`, `cdx:npm:os`, `cdx:npm:package:development`, `cdx:npm:package:optional`, `cdx:npm:package:peer`, `cdx:npm:package:type-only`, `cdx:npm:packageExtensionsApplied`, `cdx:npm:packageExtensionsDisabled`, `cdx:npm:packageExtensionsHash`, `cdx:npm:package_json`, `cdx:npm:packageCreatedTime`, `cdx:npm:priorMaintainerSet`, `cdx:npm:priorMaintainerSetCount`, `cdx:npm:priorPublishTime`, `cdx:npm:priorPublisher`, `cdx:npm:priorVersion`, `cdx:npm:provenanceDigest`, `cdx:npm:provenanceKeyId`, `cdx:npm:provenancePredicateType`, `cdx:npm:provenanceSignature`, `cdx:npm:provenanceUrl`, `cdx:npm:publishTime`, `cdx:npm:publisher`, `cdx:npm:publisherDrift`, `cdx:npm:publisherEmail`, `cdx:npm:releaseCadenceCompressionRatio`, `cdx:npm:releaseGapBaselineDays`, `cdx:npm:releaseGapDays`, `cdx:npm:releaseGapSampleSize`, `cdx:npm:resolvedPath`, `cdx:npm:risky_scripts`, `cdx:npm:scripts`, `cdx:npm:suspiciousLifecycleScripts`, `cdx:npm:trustedPublishing`, `cdx:npm:versionCount`, `cdx:npm:versionMismatchError`, `cdx:pnpm:alias`, `cdx:pnpm:catalog`, `cdx:pnpm:configDependency`, `cdx:pnpm:patchFile`, `cdx:pnpm:patchHash`, `cdx:pnpm:patched` - **Python:** `cdx:pip:markers`, `cdx:pip:structuredMarkers`, `cdx:conda:spec`, `cdx:pypi:artifactDigestBlake2b256`, `cdx:pypi:artifactDigestMd5`, `cdx:pypi:artifactDigestSha256`, `cdx:pypi:classifiers`, `cdx:pypi:compressedCadence`, `cdx:pypi:extras`, `cdx:pypi:frameworks`, `cdx:pypi:latest_version`, `cdx:pypi:manifestSourceType`, `cdx:pypi:modulesFrom`, `cdx:pypi:packageCreatedTime`, `cdx:pypi:priorPublishTime`, `cdx:pypi:priorPublisher`, `cdx:pypi:priorUploaderSet`, `cdx:pypi:priorUploaderSetCount`, `cdx:pypi:priorVersion`, `cdx:pypi:provenanceDigest`, `cdx:pypi:provenanceKeyId`, `cdx:pypi:provenancePredicateType`, `cdx:pypi:provenanceSignature`, `cdx:pypi:provenanceUrl`, `cdx:pypi:publishTime`, `cdx:pypi:publisher`, `cdx:pypi:publisherDrift`, `cdx:pypi:registry`, `cdx:pypi:releaseCadenceCompressionRatio`, `cdx:pypi:releaseGapBaselineDays`, `cdx:pypi:releaseGapDays`, `cdx:pypi:releaseGapSampleSize`, `cdx:pypi:requiresPython`, `cdx:pypi:resolved_from`, `cdx:pypi:trustedPublishing`, `cdx:pypi:uploaderOverlapCount`, `cdx:pypi:uploaderOverlapRatio`, `cdx:pypi:uploaderSet`, `cdx:pypi:uploaderSetCount`, `cdx:pypi:uploaderSetDrift`, `cdx:pypi:uploaderSetPartialDrift`, `cdx:pypi:uploaderVerified`, `cdx:pypi:versionCount`, `cdx:pypi:versionSpecifiers`, `cdx:pyproject:group`, `cdx:python:requires_python`, `cdx:pixi:build`, `cdx:pixi:build_number`, `cdx:pixi:operating_system`, `cdx:pylock:*` (`lock_version`, `environments`, `dependency_groups`, `default_groups`, `created_by`, `marker`, `index`, `dependencies`, `vcs`, `directory`, `archive`, `sdist`, `wheels`, `attestation_identities`, `tool`, and `cdx:pylock:file:*`) - **Ruby:** `cdx:gem:bundledWith`, `cdx:gem:defaultGem`, `cdx:gem:executables`, `cdx:gem:extensions`, `cdx:gem:gemUri`, `cdx:gem:mfaRequired`, `cdx:gem:prerelease`, `cdx:gem:remote`, `cdx:gem:remoteBranch`, `cdx:gem:remoteRevision`, `cdx:gem:remoteTag`, `cdx:gem:rubyVersionSpecifiers`, `cdx:gem:rubygemsVersionSpecifiers`, `cdx:gem:versionSpecifiers`, `cdx:gem:yanked`, `cdx:ruby:abiVersion`, `cdx:ruby:buildVersion`, `cdx:ruby:buildVersionSource`, `cdx:ruby:conflictingDeclarations`, `cdx:ruby:isExternal`, `cdx:ruby:languageVersion`, `cdx:ruby:patchlevel`, `cdx:ruby:platform`, `cdx:ruby:prerelease`, `cdx:ruby:requiredVersionRange`, `cdx:ruby:versionSource` - **PHP / Composer:** `cdx:composer:platform:`, `cdx:composer:platformDev:`, `cdx:composer:platformOverride:`, `cdx:composer:require:`, `cdx:php:buildVersion`, `cdx:php:buildVersionSource`, `cdx:php:sapi` - **OS packages in an OBOM:** `cdx:deb:source`, `cdx:rpm:sourceRpm`, `cdx:apk:origin`, `cdx:alpm:pkgbase`, `cdx:homebrew:type`, `cdx:macports:variants`, `cdx:macports:requested`, `cdx:snap:type`, `cdx:snap:revision`, `cdx:snap:channel`, `cdx:snap:confinement`, `cdx:flatpak:displayName`, `cdx:flatpak:commit`, `cdx:flatpak:origin`, `cdx:flatpak:installation`, `cdx:flatpak:type`, `cdx:flatpak:runtime` - **Rust:** `cdx:cargo:artifactDigestSha256`, `cdx:cargo:binNames`, `cdx:cargo:buildDependencyNames`, `cdx:cargo:buildScript`, `cdx:cargo:buildScriptCapabilities`, `cdx:cargo:buildScriptIndicators`, `cdx:cargo:compressedCadence`, `cdx:cargo:crate_id`, `cdx:cargo:crateSize`, `cdx:cargo:defaultFeatures`, `cdx:cargo:dependencyFeatures`, `cdx:cargo:activated`, `cdx:cargo:alternateRegistry`, `cdx:cargo:dependencyKind`, `cdx:cargo:dependencyKinds`, `cdx:cargo:edition`, `cdx:cargo:features`, `cdx:cargo:git`, `cdx:cargo:gitBranch`, `cdx:cargo:gitRev`, `cdx:cargo:gitTag`, `cdx:cargo:hasBuildDependencies`, `cdx:cargo:hasBuildScript`, `cdx:cargo:hasDevDependencies`, `cdx:cargo:hasLib`, `cdx:cargo:hasNativeBuild`, `cdx:cargo:hasTargetDependencies`, `cdx:cargo:hostOnly`, `cdx:cargo:latest_version`, `cdx:cargo:linkage`, `cdx:cargo:linkageEvidence`, `cdx:cargo:links`, `cdx:cargo:manifestMode`, `cdx:cargo:metadataSource`, `cdx:cargo:nativeLibrary`, `cdx:cargo:nativeBuildIndicators`, `cdx:cargo:optional`, `cdx:cargo:ownerSet`, `cdx:cargo:ownerSetCount`, `cdx:cargo:package`, `cdx:cargo:packageCreatedTime`, `cdx:cargo:path`, `cdx:cargo:priorPublishTime`, `cdx:cargo:priorPublisher`, `cdx:cargo:priorVersion`, `cdx:cargo:procMacro`, `cdx:cargo:provenanceDigest`, `cdx:cargo:provenanceKeyId`, `cdx:cargo:provenancePredicateType`, `cdx:cargo:provenanceSignature`, `cdx:cargo:providedBy`, `cdx:cargo:provenanceUrl`, `cdx:cargo:publishTime`, `cdx:cargo:publisher`, `cdx:cargo:publisherDrift`, `cdx:cargo:publisherOverlapCount`, `cdx:cargo:publisherOverlapRatio`, `cdx:cargo:publisherSet`, `cdx:cargo:publisherSetCount`, `cdx:cargo:registry`, `cdx:cargo:releaseCadenceCompressionRatio`, `cdx:cargo:releaseGapBaselineDays`, `cdx:cargo:releaseGapDays`, `cdx:cargo:releaseGapSampleSize`, `cdx:cargo:releaseProfiles`, `cdx:cargo:resolvedFeatures`, `cdx:cargo:sourceKind`, `cdx:cargo:sourceUrl`, `cdx:cargo:rust_version`, `cdx:cargo:rustVersion`, `cdx:cargo:scope`, `cdx:cargo:filterPlatform`, `cdx:cargo:target`, `cdx:cargo:targetExcluded`, `cdx:cargo:targetGated`, `cdx:cargo:trustedPublishing`, `cdx:cargo:upstreamVersionCandidates`, `cdx:cargo:upstreamVersionSource`, `cdx:cargo:usesMaturin`, `cdx:cargo:versionCount`, `cdx:cargo:workspaceDependency`, `cdx:cargo:workspaceMembers`, `cdx:cargo:workspaceRoot`, `cdx:cargo:yanked`, `cdx:maturin:*`, `cdx:rust:buildTool` - **Evidence based filtering:** `cdx:evidence:usage`, `cdx:evidence:occurrences:declaration` - **Rusi Rust Evinse:** `cdx:rusi:schemaVersion`, `cdx:rusi:toolVersion`, `cdx:rusi:rustcVersion`, `cdx:rusi:cargoVersion`, `cdx:rusi:host`, `cdx:rusi:backend`, `cdx:rusi:requestedBackend`, `cdx:rusi:analysisScope`, `cdx:rusi:callGraphMode`, `cdx:rusi:dataFlowMode`, `cdx:rusi:packageCount`, `cdx:rusi:fileCount`, `cdx:rusi:importCount`, `cdx:rusi:declarationCount`, `cdx:rusi:usageCount`, `cdx:rusi:securitySignalCount`, `cdx:rusi:cryptoLibraryCount`, `cdx:rusi:cryptoComponentCount`, `cdx:rusi:cryptoFindingCount`, `cdx:rusi:callGraphNodeCount`, `cdx:rusi:callGraphEdgeCount`, `cdx:rusi:dataFlowNodeCount`, `cdx:rusi:dataFlowEdgeCount`, `cdx:rusi:dataFlowSliceCount`, `cdx:rusi:importPath`, `cdx:rusi:importAlias`, `cdx:rusi:importedBy`, `cdx:rusi:usageKind`, `cdx:rusi:dataFlowCategories`, `cdx:rusi:dataFlowRuleName`, `cdx:rusi:securitySignalCategory`, `cdx:rusi:securitySignalSeverity`, `cdx:rusi:cryptoFindingCategory`, `cdx:rusi:cryptoFindingSeverity` - **Go:** `cdx:go:creation_time`, `cdx:go:deprecated`, `cdx:go:indirect`, `cdx:go:local_dir`, `cdx:go:replaces`, `cdx:go:toolchain`, `cdx:go:moduleGoVersion` (the `go` directive of a dependency module's own go.mod), `cdx:go:goDirective` (the `go` directive of the project's go.mod, on the root component), `cdx:go:toolchainDirective` (the `toolchain` directive of the project's go.mod, on the root component; `cdx:go:toolchain` keeps its older name beside it for the dependency-sources rules), `cdx:go:resolvedToolchain` (the version `go env GOVERSION` reported in the project directory after `go list -deps` resolved the module graph, which under `GOTOOLCHAIN=auto` can be newer than the go on the PATH), `cdx:go:stdlibVersionSource` (`go-env` or `toolchain-directive`, where the version of the source BOM's stdlib component came from; the `go` directive is a minimum, not a toolchain, and never versions the stdlib), `cdx:go:toolchainVersion` and `cdx:go:toolchainVersionSource` (the version of an installed toolchain in a container, rootfs or OS scan, read from the VERSION file of its GOROOT, `version-file`) | `cdx:golem:cgo:modulePath`, `cdx:golem:cgo:riskyFlags`, `cdx:golem:cgo:riskCategories`, `cdx:golem:cgo:unloaded` | cgo build-input evidence of the module's packages: flag names and risk categories (names only, never values or paths), and `true` when the package was seen only textually because cgo was off. | | `cdx:golem:cgo:directiveCount`, `cdx:golem:cgo:pkgConfigCount`, `cdx:golem:cgo:sysoCount`, `cdx:golem:cgo:sysoInvalidCount` | Per-module cgo directive, `pkg-config` and `.syso` counters, including invalid `.syso` inputs. | - **Golem Go Evinse:** `cdx:golem:toolVersion`, `cdx:golem:callGraphMode`, `cdx:golem:dataFlowMode`, `cdx:golem:dataFlowCallGraphMode`, `cdx:golem:noRecurse`, `cdx:golem:includeAllFlows`, `cdx:golem:packageCount`, `cdx:golem:moduleCount`, `cdx:golem:fileCount`, `cdx:golem:generatedFileCount`, `cdx:golem:importCount`, `cdx:golem:declarationCount`, `cdx:golem:usageCount`, `cdx:golem:runtimeUsageCount`, `cdx:golem:testUsageCount`, `cdx:golem:benchmarkUsageCount`, `cdx:golem:fuzzUsageCount`, `cdx:golem:exampleUsageCount`, `cdx:golem:buildDirectiveCount`, `cdx:golem:nativeArtifactCount`, `cdx:golem:securitySignalCount`, `cdx:golem:goModReplaceCount`, `cdx:golem:goModExcludeCount`, `cdx:golem:vendorModuleCount`, `cdx:golem:workspaceModuleCount`, `cdx:golem:privateModuleHintCount`, `cdx:golem:licenseFileModuleCount`, `cdx:golem:callGraphNodeCount`, `cdx:golem:callGraphEdgeCount`, `cdx:golem:buildDirectiveKinds`, `cdx:golem:nativeArtifactKinds`, `cdx:golem:securitySignalCategories`, `cdx:golem:securitySignalSeverities`, `cdx:golem:generatorKinds`, `cdx:golem:goDirectiveVersion`, `cdx:golem:toolchainDirective`, `cdx:golem:goWorkPresent`, `cdx:golem:vendorDirectoryPresent`, `cdx:golem:goGenerateCount`, `cdx:golem:goEmbedCount`, `cdx:golem:replaceModule`, `cdx:golem:replaceTargetPathKind`, `cdx:golem:localReplacementPresent`, `cdx:golem:excludeModule`, `cdx:golem:vendored`, `cdx:golem:privateModuleCandidate`, `cdx:golem:licenseFileCount`, `cdx:golem:licenseFiles`, `cdx:golem:replacementModule`, `cdx:golem:localReplacement`, `cdx:golem:modulePath`, `cdx:golem:goVersion`, `cdx:golem:mainModule`, `cdx:golem:securitySignalCategory`, `cdx:golem:securitySignalSeverity`, `cdx:golem:importDirect`, `cdx:golem:importAliasKind`, `cdx:golem:symbolKind`, `cdx:golem:usageKind`, `cdx:golem:usageScope`, `cdx:golem:usageScopes`, `cdx:golem:testOnly`, `cdx:golem:importOccurrenceCount`, `cdx:golem:symbolCallOccurrenceCount`, `cdx:golem:symbolReferenceOccurrenceCount`, `cdx:golem:occurrenceEvidenceKinds`, `cdx:golem:service:framework`, `cdx:golem:service:kind`, `cdx:golem:service:scheme`, `cdx:golem:service:host`, `cdx:golem:service:package` - **Collider:** `cdx:collider:dependencyKind`, `cdx:collider:hasWrapHash`, `cdx:collider:origin`, `cdx:collider:originHost`, `cdx:collider:originSanitized`, `cdx:collider:originScheme`, `cdx:collider:wrapHash`, `cdx:collider:wrapHashInvalid` - **.NET:** `cdx:dotnet:assembly_name`, `cdx:dotnet:assembly_version`, `cdx:dotnet:azure_functions_version`, `cdx:dotnet:hint_path`, `cdx:dotnet:output_type`, `cdx:dotnet:project_guid`, `cdx:dotnet:target_framework` - **Java:** `cdx:maven:shaded`, `cdx:maven:unshadedNamespaces`, `cdx:gradle:GradleRootPath`, `cdx:gradle:pgpKeyIds`, `cdx:gradle:requestedVersion`, `cdx:gradle:resolutionFailed`, `cdx:gradle:verificationMetadata`, `cdx:gradle:verificationMethods`, `cdx:gradle:verificationMismatch`, `cdx:gradle:verifyMetadata`, `cdx:gradle:verifySignatures` `cdx:gradle:GradleRootPath` is the directory Gradle ran in, written relative to the scanned directory (`.` for the scanned directory itself), so the BOM carries no path of the machine that produced it. A manifest inside a Cargo registry source cache is recorded as `cargo-registry/-/` in `internal:SrcFile` and `cdx:bom:componentSrcFiles` for the same reason. - **Nix:** `cdx:nix:download_url`, `cdx:nix:flake_dir`, `cdx:nix:input_url`, `cdx:nix:last_modified`, `cdx:nix:nar_hash`, `cdx:nix:ref`, `cdx:nix:revision`, `cdx:nix:vcs_url` - **Zig:** `cdx:zig:fingerprint`, `cdx:zig:hash`, `cdx:zig:lazy`, `cdx:zig:local`, `cdx:zig:minimum_zig_version`, `cdx:zig:path`, `cdx:zig:url`, `cdx:zig:version` - **Gleam:** `cdx:gleam:build_type`, `cdx:gleam:dependency`, `cdx:gleam:scope`, `cdx:gleam:target` - **Mojo:** `cdx:mojo:dependency` - **Julia:** `cdx:julia:uuid`, `cdx:julia:dependency`, `cdx:julia:stdlib` - **R (renv):** `cdx:renv:source`, `cdx:renv:repository`, `cdx:renv:hash`, `cdx:renv:rVersion` - **Erlang (rebar3):** `cdx:rebar:dependency` - **OCaml (opam):** `cdx:opam:pinned`, `cdx:opam:pinSource` - **Terraform / OpenTofu:** `cdx:tf:address`, `cdx:tf:constraints`, `cdx:tf:deprecated`, `cdx:tf:h1`, `cdx:tf:kind`, `cdx:tf:licenseFile`, `cdx:tf:licenseSource`, `cdx:tf:module:commit`, `cdx:tf:module:credentialInSource`, `cdx:tf:module:installed`, `cdx:tf:module:pinning`, `cdx:tf:module:ref`, `cdx:tf:module:source`, `cdx:tf:module:sourceType`, `cdx:tf:registry:tier`, `cdx:tf:registry:verified`, `cdx:tf:requiredVersion`, `cdx:tf:root`, `cdx:tf:unresolvedModuleCalls` - **Haskell (Stack):** `cdx:stack:snapshot`, `cdx:stack:dependency`, `cdx:stack:repository`, `cdx:stack:commit` - **Perl (Carton):** `cdx:cpan:dependency` - **Lua (LuaRocks):** `cdx:luarocks:dependency` - **Crystal (shards):** `cdx:crystal:languageVersion`, `cdx:crystal:dependency`, `cdx:crystal:scope` - **Elm:** `cdx:elm:elmVersion`, `cdx:elm:dependency`, `cdx:elm:versionRange` - **Nim (nimble):** `cdx:nim:dependency`, `cdx:nim:vcsRevision` - **Spack:** `cdx:spack:namespace`, `cdx:spack:hash`, `cdx:spack:arch`, `cdx:spack:compiler` - **Gradle version catalog:** `cdx:gradle:catalog` - **vcpkg:** `cdx:vcpkg:baseline`, `cdx:vcpkg:declared`, `cdx:vcpkg:features`, `cdx:vcpkg:triplet`, `cdx:vcpkg:versionSource` (`override` when the version is the one the manifest's `overrides` pins, because vcpkg installed nothing to read), `cdx:vcpkg:portVersion` (the override's `port-version`, a packaging revision of the same upstream release, kept out of the version so it still compares with upstream advisories), `cdx:vcpkg:minimumVersion` (a `version>=` constraint, which is only a lower bound and never becomes the version) - **Bazel bzlmod:** `cdx:bazel:ecosystem`, `cdx:bazel:module`, `cdx:bazel:repo_name`, `cdx:bazel:repository_url`, `cdx:bazel:override` (`git` or `archive` when an override replaces where a `bazel_dep` comes from; the declared version is then dropped, because Bazel ignores it, the purl names the override's `vcs_url` or `download_url` instead of the BCR `repository_url`, and `cdx:bazel:repository_url` is omitted; a `local_path_override` module is not listed at all) - **C/C++ (CMake):** `cdx:cmake:depKind`, `cdx:cmake:resolvedVia`, `cdx:cmake:sourceDir`, `cdx:cmake:uninitialised`, `cdx:cmake:versionRequirements`, `cdx:cmake:buildType`, `cdx:cmake:subprojectDir`, `cdx:cmake:preset:file`, `cdx:cmake:preset:inherits`, `cdx:cmake:preset:generator`, `cdx:cmake:preset:binaryDir`, `cdx:cmake:preset:buildType`, `cdx:cmake:preset:cCompiler`, `cdx:cmake:preset:cxxCompiler`, `cdx:cmake:preset:toolchainFile`, `cdx:cmake:preset:vcpkg`, `cdx:cmake:preset:vcpkgTriplet`, `cdx:cmake:preset:exportCompileCommands`, `cdx:cmake:preset:hostCondition` - **Vendored code:** `cdx:vendored`, `cdx:vendored:path`, `cdx:vendored:licenseFile`, `cdx:vendored:versionSource` (the file the version was read from: the library's own version header, such as brotli's `c/common/version.h` or `zlib.h`, which also sets the component's CPE, or its `CMakeLists.txt` `project(... VERSION ...)`) - **C/C++ build context:** `cdx:cpp:compiler:family`, `cdx:cpp:compiler:drivers`, `cdx:cpp:compiler:identifiedBy`, `cdx:cpp:compiler:languages`, `cdx:cpp:compiler:units`, `cdx:cpp:frontend`, `cdx:cpp:compileCommands:units`, `cdx:cpp:hardening:`, `cdx:cpp:hardening::units`, `cdx:cpp:hardening:source` - **C/C++ (Meson WrapDB):** `cdx:meson:wrapdb:wrap`, `cdx:meson:wrapdb:latestVersion`, and from the project's own `subprojects/*.wrap`: `cdx:meson:wrap` (the wrap that provides the dependency), `cdx:meson:wrap:versionSource` (`wrapdb_version`, `directory` or `revision`) and `cdx:meson:wrap:revision` (the WrapDB packaging revision after the upstream version) - **Build inputs (formulation):** `cdx:build:tool` (the tool a formulation build-input component describes: `make`, `cmake`, `go`, `pip` or `nuget`), `cdx:make:targetCount`, `cdx:make:targets` (single-token rule targets after backslash continuations are joined; `define ... endef` bodies, special targets such as `.PHONY`, pattern rules, multi-target rules and absolute, drive or `..` paths are left out), `cdx:make:includes` (include paths relative to the make file; absolute POSIX, Windows drive, UNC and home-relative paths and paths with a `..` segment are dropped because they describe the machine or the tree around the project, and so are function calls such as `$(shell ...)`, words that are not file names and trailing comments), `cdx:make:variables` (names only, including `export`, `override`, `private` and `define` variables; values stay out because flags can carry machine-specific paths or tokens), `cdx:make:usesDocker` (a recorded target name mentions docker; recipes are not read), `cdx:cmake:minimumVersion`, `cdx:cmake:languages` (the arguments after `LANGUAGES`, or before the first keyword in `project(name C CXX)`; commands are matched case-insensitively and comments are ignored), `cdx:cmake:executableCount`, `cdx:cmake:libraryCount`, `cdx:go:module`, `cdx:go:version`, `cdx:go:toolchain`, `cdx:go:requireCount` (single-line `require` directives and the lines of `require ( ... )` blocks; `replace`, `exclude` and `retract` lines are not counted), `cdx:go:indirectCount` (requirements marked `// indirect`), `cdx:pip:requirementCount` (requirement lines, including `-e` editable installs, without comments and option lines such as `--index-url`), `cdx:pip:pinCount` (requirements pinned exactly with `==` or `===`, without wildcards or ranges; editable installs and direct references such as `name @ https://...` are never pins), `cdx:pip:unpinnedCount` (requirements that are not exact pins, such as `certifi>=2024.2.2`), `cdx:pip:hasHashes` (also set when pip-compile writes `--hash` on backslash continuation lines), `cdx:pip:kind` (`requirements` or `constraints`), `cdx:nuget:assetsVersion` (only a string or number), `cdx:nuget:frameworks` (at most 25), `cdx:nuget:libraryCount`, `cdx:nuget:targetCount`, `cdx:msbuild:sdk`, `cdx:msbuild:targetFrameworks`, `cdx:msbuild:outputType`, `cdx:msbuild:version`, `cdx:msbuild:packageReferenceCount` - **xmake:** `cdx:xmake:configurations` - **Unregistered purl types:** `cdx:purl:proposedType` - **URL-valued properties (all ecosystems):** a component property whose value is a URL, or a comma or space separated list of URLs, such as `cdx:gem:remote`, `cdx:cargo:sourceUrl` or `cdx:pypi:manifestSource`, loses its userinfo (except the `git@` of an SSH URL), every query parameter that is not known to name the target (NuGet `api-version`, git `ref` and Go `go-get` stay; signatures, tokens and unknown parameters go, and a signing parameter removes the whole query) and a fragment that holds a token shape or unlisted `=` pairs when the component is assembled. The rule is in the Query parameters paragraph of `docs/THREAT_MODEL.md`. JSON values are left to the producer - **Swift:** `cdx:swift:localCheckoutPath`, `cdx:swift:packageName` - **CocoaPods:** `cdx:pods:PodName`, `cdx:pods:Subspec`, `cdx:pods:podspecLocation`, `cdx:pods:projectDir` (`cdx:pods:podspecLocation` built from a web `:git` source leaves out the URL's userinfo and query string) - **Dart pub:** `cdx:pub:registry` - **Deno:** `cdx:deno:source`, `cdx:deno:jsrKey`, `cdx:deno:integrity` Deno components take their description, licence and repository from an installed `package.json` when one matches the locked version. The description is cut to 4096 characters, a licence value longer than that or a list of more than 8 licences is cut or left out, and a repository URL longer than 4096 characters is left out. #### Decision-oriented sub-groups - **Provenance / source:** `cdx:npm:isRegistryDependency`, `cdx:npm:resolvedPath`, `cdx:pypi:registry`, `cdx:pypi:resolved_from`, `cdx:gem:remote`, `cdx:gem:remoteRevision`, `cdx:cargo:git`, `cdx:cargo:gitRev`, `cdx:cargo:path`, `cdx:cargo:registry`, `cdx:go:local_dir`, `cdx:go:replaces`, `cdx:golem:localReplacement`, `cdx:golem:replacementModule`, `cdx:golem:privateModuleCandidate`, `cdx:golem:vendored`, `cdx:nix:input_url`, `cdx:swift:localCheckoutPath`, `cdx:pods:projectDir`, `cdx:pub:registry`, `cdx:deno:source`, `cdx:collider:origin`, `cdx:collider:originScheme`, `cdx:collider:originHost`, `cdx:collider:originSanitized`, `cdx:cmake:sourceDir`, `cdx:cmake:resolvedVia`, `cdx:cmake:depKind` - **Execution surface:** `cdx:npm:hasInstallScript`, `cdx:npm:risky_scripts`, `cdx:npm:native_addon`, `cdx:npm:native_deps`, `cdx:gem:executables`, `cdx:gem:extensions`, `cdx:cargo:features`, `cdx:cargo:hasBuildScript`, `cdx:cargo:hasNativeBuild`, `cdx:cargo:nativeBuildIndicators`, `cdx:cargo:buildScriptCapabilities`, `cdx:cargo:buildScriptIndicators`, `cdx:rust:buildTool`, `cdx:maturin:*`, `cdx:golem:goGenerateCount`, `cdx:golem:goEmbedCount`, `cdx:golem:nativeArtifactCount`, `cdx:golem:securitySignalCategory`, `cdx:golem:securitySignalSeverity`, `cdx:rusi:usageKind`, `cdx:rusi:cryptoFindingCategory`, `cdx:rusi:cryptoFindingSeverity` - **Privilege / trust:** `cdx:npm:nameMismatchError`, `cdx:npm:versionMismatchError`, `cdx:npm:packageExtensionsApplied`, `cdx:npm:packageExtensionsHash`, `cdx:npm:extensionHash`, `cdx:npm:extensionApplied`, `cdx:npm:extensionFieldsApplied`, `cdx:npm:extensionFormat`, `cdx:npm:extensionFieldsApplied`, `cdx:npm:packageExtensionsDisabled`, `cdx:gem:yanked`, `cdx:gem:mfaRequired`, `cdx:cargo:yanked`, `cdx:cargo:trustedPublishing`, `cdx:go:deprecated`, `cdx:golem:securitySignalSeverity`, `cdx:golem:localReplacement`, `cdx:maven:shaded`, `cdx:collider:originSanitized`, `cdx:rusi:securitySignalSeverity` - **Reproducibility / drift:** `cdx:pypi:latest_version`, `cdx:gem:remoteBranch`, `cdx:gem:remoteTag`, `cdx:cargo:priorVersion`, `cdx:cargo:publishTime`, `cdx:cargo:priorPublishTime`, `cdx:cargo:publisherDrift`, `cdx:cargo:releaseGapDays`, `cdx:cargo:releaseGapBaselineDays`, `cdx:cargo:releaseCadenceCompressionRatio`, `cdx:nix:nar_hash`, `cdx:nix:revision`, `cdx:nix:last_modified`, `cdx:go:creation_time`, `cdx:collider:hasWrapHash`, `cdx:collider:wrapHash`, `cdx:collider:wrapHashInvalid` - **Environment / targeting:** `cdx:npm:cpu`, `cdx:npm:os`, `cdx:npm:libc`, `cdx:pip:markers`, `cdx:conda:spec`, `cdx:python:requires_python`, `cdx:pypi:requiresPython`, `cdx:pixi:operating_system`, `cdx:dotnet:target_framework`, `cdx:dotnet:azure_functions_version`, `cdx:gem:rubyVersionSpecifiers`, `cdx:composer:platform:`, `cdx:composer:platformDev:`, `cdx:composer:platformOverride:`, `cdx:composer:require:`, `cdx:cargo:rust_version`, `cdx:cargo:rustVersion`, `cdx:cargo:target` #### Compact operational reference | Key | Scope | Value type | Typical values | When emitted | Why it matters | Policy readiness | | --------------------------------------------- | ------------------------------------------------ | -------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | | `cdx:npm:hasInstallScript` | component | boolean string | `"true"`, `"false"` | When risky npm lifecycle hooks are present | Captures install-time code execution risk | Hard deny | | `cdx:npm:bin` | component | list string | `license-report, ng` | When npm package metadata declares one or more executable `bin` commands | Lets consumers identify CLI execution surface; cdxgen also uses it to match script-invoked commands to the owning package and keep such components required | Warning / triage | | `cdx:npm:has_binary` | component | boolean string | `"true"` | When npm package metadata declares a `bin` entry | Quick boolean for packages exposing executable commands | Warning / triage | | `cdx:npm:binPaths` | component | list string | `node_modules/.bin/ng` | When npm/arborist exposes installed binary link paths | Provides installed-path evidence for executable packages and supports command-to-package matching | Context only | | `cdx:npm:hasObfuscatedLifecycleScript` | component | boolean string | `"true"`, `"false"` | When install hooks combine encoded/obfuscated payload handling with execution or delivery primitives | High-confidence supply-chain abuse indicator for npm lifecycle hooks | Hard deny | | `cdx:npm:lifecycleObfuscationIndicators` | component | list string | `ast:buffer-base64,long-base64-literal` | When inline hook commands or referenced JS files contain encoded loader indicators | Makes hidden payload techniques visible to policy and triage | Warning / triage | | `cdx:npm:lifecycleExecutionIndicators` | component | list string | `ast:child-process,eval` | When install hooks or referenced JS files expose execution primitives | Separates generic install hooks from active payload execution | Warning / triage | | `cdx:npm:lifecycleIndicatorMap` | component | string | `postinstall:ast:buffer-base64+ast:child-process` | When lifecycle analysis can map indicators back to specific script names | Preserves script-level evidence without storing full payloads | Context only | | `cdx:npm:risky_scripts` | component | list string | `preinstall,postinstall` | When risky lifecycle hooks are detected | Human-readable explanation for why `hasInstallScript` was set | Warning / triage | | `cdx:npm:buildScripts` | metadata component | list string | `build, compile` | When a package's `scripts` field contains build-related script names (matching `build`, `compile`, `bundle`, `pack`, `dist`, `watch`, or similar) | Surfaces build toolchain invocation surface on the root component; useful for identifying which packages drive the build pipeline and for policy decisions about build-time risk | Context only | | `cdx:npm:isRegistryDependency` | component | boolean string | `"true"`, `"false"` | For npm components with resolvable source type | Distinguishes registry dependencies from git/file/local/workspace sources | Hard deny | | `cdx:npm:native_addon` | component | boolean string | `"true"`, `"false"` | When a package builds native code | Highlights additional build and execution surface | Warning / triage | | `cdx:npm:nameMismatchError` | component | string | `Expected 'foo', found 'foo-esm'` | When name resolution mismatches are detected | Useful dependency-confusion and tampering signal | Hard deny | | `cdx:npm:versionMismatchError` | component | string | `Resolved 3.0.0, expected ^2.0` | When locked/resolved version diverges from expectation | Flags drift, corruption, or surprising resolution | Hard deny | | `cdx:npm:cleanedVersion` | component | semver string | `1.0.0` for `1.0.0+build.5` | When an npm component's version is valid semver but `npm publish` would record it differently (build metadata, leading `v` or `=`, leading zeros) | The version the npm registry knows the package by: npm, pnpm, yarn and bun lockfiles keep the manifest string, while `npm publish` records `semver.clean()` of it. `version` and `purl` keep the recorded string | Informational | | `cdx:npm:packageExtensionsHash` | root component | ssri integrity string | `sha512-...` | When the lockfile root entry records a `packageExtensionsHash` | Canonical digest of the root `packageExtensions` rule set, comparable to npm's own value | Warning / triage | | `cdx:npm:packageExtensionsApplied` | component | list string | `evil-injected, react` | When a `packageExtensions` repair changed this dependency's manifest fields | Names the dependency edges that the scanned root manifest added to a third-party package, making silent repairs visible | Hard deny | | `cdx:npm:packageExtensionsDisabled` | root component | boolean string | `"true"` | When `--no-package-extensions` is used with `--deep` | Signals that `packageExtensions` repairs were deliberately skipped so the BOM reflects manifests as published | Context only | | `cdx:npm:extensionHash` | root component | ssri integrity string | `sha512-...` | When a root `.npm-extension.mjs` or `.npm-extension.cjs` file is detected | Hash of the on-disk extension file computed with npm's algorithm (`npm-extension:v1:\n` + bytes), comparable to the lockfile's `npmExtensionHash` | Warning / triage | | `cdx:npm:extensionFormat` | root component | enum string | `"mjs"`, `"cjs"` | When a root `.npm-extension` file is detected | Module format of the detected extension file | Context only | | `cdx:npm:extensionApplied` | root component | enum string | `"true"`, `"false"`, `"unverified"` | When a root `.npm-extension` file is detected | Whether the extension's repairs are reflected: `true` (on-disk hash matches the lockfile), `false` (lockfile records no extension), `unverified` (the file changed since the lockfile was written) | Hard deny | | `cdx:npm:extensionFieldsApplied` | component | list string | `left-pad, react` | When a `.npm-extension` repair changed this dependency's manifest fields | Names the dependency edges that the root `.npm-extension` added or corrected on a third-party package | Warning / triage | | `cdx:npm:trustedPublishing` | component | boolean string | `"true"` | When npm registry metadata exposes attestation/provenance evidence for the resolved version | Strong positive signal that the published version includes registry-visible provenance evidence | Warning / triage | | `cdx:npm:provenanceUrl` | component | URL string | `https://registry.npmjs.org/-/npm/v1/attestations/...` | When npm exposes an attestation or provenance URL for the resolved version | Useful provenance pivot for attestations, explainability, and downstream verification | Context only | | `cdx:npm:provenanceDigest` | component | list string | `sha256:abc...,sha512:def...` | When npm provenance metadata exposes subject or attestation digests | Gives audit rules an exact immutable evidence token beyond the registry URL | Context only | | `cdx:npm:provenanceKeyId` | component | list string | `sigstore-npm-key` | When npm provenance metadata exposes signature key identifiers | Supports key-based allowlists, trust pinning, and explainability | Warning / triage | | `cdx:npm:provenanceSignature` | component | list string | `MEUCIQD...` | When npm provenance metadata exposes raw signature values | Retains exact cryptographic evidence for downstream verification | Context only | | `cdx:npm:provenancePredicateType` | component | list string | `https://slsa.dev/provenance/v1` | When npm provenance metadata exposes a predicate type | Lets policies distinguish SLSA/in-toto style attestations | Context only | | `cdx:npm:artifactIntegrity` | component | string | `sha512-...` | When npm `dist.integrity` is present | Exact package artifact integrity token useful for verification and incident response | Warning / triage | | `cdx:npm:artifactShasum` | component | string | `deadbeef...` | When npm `dist.shasum` is present | Additional artifact fingerprint for audit evidence and correlation | Context only | | `cdx:npm:publisher` | component | string | `octo-maintainer` | When npm version metadata exposes the publishing identity | Helpful provenance and publisher-trust context | Context only | | `cdx:npm:publisherEmail` | component | string | `maintainer@example.com` | When npm version metadata exposes publisher email | Additional provenance context; not strong enough as a standalone gate | Context only | | `cdx:npm:publishTime` | component | timestamp | `2026-04-01T10:00:00.000Z` | When npm registry timestamps the resolved version | Useful for recency, drift, and incident scoping | Warning / triage | | `cdx:npm:packageCreatedTime` | component | timestamp | `2024-01-01T10:00:00.000Z` | When npm registry exposes package creation time | Distinguishes mature packages from brand-new packages for drift heuristics | Context only | | `cdx:npm:lastModifiedTime` | component | timestamp | `2026-04-01T10:00:00.000Z` | When npm registry exposes the latest modification time | Useful for release cadence and incident scoping | Context only | | `cdx:npm:versionCount` | component | number string | `12` | Derived from npm registry release history | Helps recent-release and publisher-drift heuristics ignore tiny histories | Context only | | `cdx:npm:priorVersion` | component | string | `1.2.2` | When a prior publish exists before the resolved version | Useful pivot for change review and comparison | Context only | | `cdx:npm:priorPublishTime` | component | timestamp | `2026-03-01T10:00:00.000Z` | When a prior publish exists before the resolved version | Supports recency and release-gap analysis | Context only | | `cdx:npm:priorPublisher` | component | string | `previous-publisher` | When npm version history exposes the previous publisher | Useful for publisher-change review | Warning / triage | | `cdx:npm:publisherDrift` | component | boolean string | `"true"` | When the resolved version publisher differs from the prior release publisher | Conservative drift signal for mature packages | Warning / triage | | `cdx:npm:maintainerSet` | component | list string | `alice, alice@example.com` | When npm version metadata exposes maintainer identities | Useful for maintainer continuity review | Context only | | `cdx:npm:priorMaintainerSet` | component | list string | `bob, bob@example.com` | When a prior version exposes maintainer identities | Useful comparison pivot for maintainer-set drift | Context only | | `cdx:npm:maintainerSetDrift` | component | boolean string | `"true"` | When current and prior maintainer identity sets are fully disjoint | Conservative maintainer drift signal for mature packages | Warning / triage | | `cdx:npm:maintainerSetPartialDrift` | component | boolean string | `"true"` | When current and prior maintainer identity sets partially overlap but still change | Low-severity maintainer churn signal for mature packages | Warning / triage | | `cdx:npm:maintainerOverlapCount` | component | number string | `1` | Derived from the shared identities between current and prior maintainer sets | Explainability signal for maintainer continuity | Context only | | `cdx:npm:maintainerOverlapRatio` | component | number string | `0.33` | Shared-identity overlap divided by the maintainer-set union | Helps distinguish partial churn from full continuity or full drift | Context only | | `cdx:npm:releaseGapDays` | component | number string | `240.00` | Derived from the gap between the current and previous release | Useful for dormant-package revival and cadence anomaly review | Warning / triage | | `cdx:npm:releaseGapBaselineDays` | component | number string | `12.00` | Derived from older adjacent release gaps before the current release | Provides cadence baseline for anomaly detectors | Context only | | `cdx:npm:releaseGapSampleSize` | component | number string | `4` | Count of prior release gaps used to compute the baseline | Helps policies ignore thin release histories | Context only | | `cdx:npm:releaseCadenceCompressionRatio` | component | number string | `0.11` | Derived from current gap ÷ baseline gap when enough history exists | Explainability signal for materially faster-than-usual releases | Context only | | `cdx:npm:compressedCadence` | component | boolean string | `"true"` | When the current release arrives materially faster than the established cadence baseline | Low-severity cadence anomaly signal for mature packages | Warning / triage | | `cdx:npm:package:development` | component | boolean string | `"true"` | When marked `dev: true`/`devOptional: true` in package-lock metadata, or reached only through dev edges in bun.lock | Distinguishes development-only npm packages from optional runtime packages | Context only | | `cdx:npm:package:optional` | component | boolean string | `"true"` | When marked `optional: true` in package-lock metadata, or reached only through optional edges in bun.lock | Distinguish optional packages | Context only | | `cdx:npm:package:peer` | component | boolean string | `"true"` | When marked as a peer dependency in package-lock metadata, or reached only through peer edges in bun.lock | Distinguish peer dependencies | Context only | | `cdx:npm:package:type-only` | component | boolean string | `"true"` | When an npm package is identified as a type-only package based on static analysis | Distinguish type-only dependencies from required and optional dependencies | Context only | | `cdx:npm:isWorkspace` | component | boolean string | `"true"`, `"false"` | For workspace members | Preferred workspace indicator | Context only | | `cdx:npm:is_workspace` | component | boolean string | `"true"`, `"false"` | Legacy/alternate workspace spelling | Keep in policy allowlists for compatibility | Context only | | `cdx:pypi:registry` | component | URL string | `https://internal-pypi.example.com/simple` | When a non-default Python registry is used | Strong allowlist / denylist input for dependency origin policy | Hard deny | | `cdx:pypi:trustedPublishing` | component | boolean string | `"true"` | When PyPI release metadata exposes attestation/provenance evidence for the resolved version | Strong positive provenance signal for trusted publishing or attestations | Warning / triage | | `cdx:pypi:provenanceUrl` | component | URL string | `https://pypi.org/integrity/.../provenance` | When PyPI exposes a provenance or integrity URL for a resolved artifact | Useful provenance pivot for downstream verification | Context only | | `cdx:pypi:provenanceDigest` | component | list string | `sha256:abc...` | When PyPI provenance or attestation metadata exposes digests | Gives audit rules exact immutable provenance evidence | Context only | | `cdx:pypi:provenanceKeyId` | component | list string | `sigstore-pypi-key` | When PyPI provenance or attestation metadata exposes signature key identifiers | Supports key-based allowlists and trust explainability | Warning / triage | | `cdx:pypi:provenanceSignature` | component | list string | `c2lnbmF0dXJl` | When PyPI provenance or attestation metadata exposes raw signatures | Retains exact cryptographic evidence for downstream verification | Context only | | `cdx:pypi:provenancePredicateType` | component | list string | `https://docs.pypi.org/attestations/publish/v1` | When PyPI provenance metadata exposes a predicate type | Helps policies distinguish attestation formats | Context only | | `cdx:pypi:artifactDigestSha256` | component | list string | `abcdef...` | When PyPI release file metadata exposes SHA-256 digests | Exact release-file fingerprint useful for audit evidence and verification | Warning / triage | | `cdx:pypi:artifactDigestBlake2b256` | component | list string | `012345...` | When PyPI release file metadata exposes BLAKE2b-256 digests | Additional artifact fingerprint for correlation and verification | Context only | | `cdx:pypi:artifactDigestMd5` | component | list string | `deadbeef...` | When PyPI release file metadata exposes MD5 digests | Legacy integrity context; weaker than SHA-256 but still useful for correlation | Context only | | `cdx:pypi:publisher` | component | string | `trusted-publisher` | When release metadata includes uploader identity | Helpful provenance context for triage and publisher reviews | Context only | | `cdx:pypi:uploaderVerified` | component | boolean string | `"true"` | When PyPI release metadata marks the uploader as verified | Useful trust signal, but weaker than signed provenance | Warning / triage | | `cdx:pypi:classifiers` | component | list string (newline separated) | `Framework :: Flask\nTopic :: Internet :: WWW/HTTP :: WSGI :: Application` | When PyPI metadata is fetched and the distribution declares Trove classifiers | Lets policies read the full author-declared taxonomy rather than only the tags cdxgen maps | Context only | | `cdx:pypi:frameworks` | component | list string (comma separated) | `django,celery` | When a distribution declares one or more `Framework :: X` classifiers | Authoritative framework attribution; more reliable than name-prefix matching for plugin packages | Context only | | `cdx:pypi:modulesFrom` | component | enum string | `alias-map,distribution-name`, `distribution-name` | Alongside `internal:Namespaces` on PyPI components | Records whether the module names were curated or derived from the distribution name | Context only | | `cdx:pypi:publishTime` | component | timestamp | `2026-03-20T08:15:30.000Z` | When PyPI release metadata includes upload timestamps | Useful for incident scoping, release recency, and drift analysis | Warning / triage | | `cdx:pypi:packageCreatedTime` | component | timestamp | `2025-12-20T08:15:30.000Z` | Derived from the earliest known release upload time | Distinguishes mature packages from brand-new packages for drift heuristics | Context only | | `cdx:pypi:versionCount` | component | number string | `8` | Derived from PyPI release history | Helps recent-release and drift heuristics avoid small-package false positives | Context only | | `cdx:pypi:priorVersion` | component | string | `1.9.0` | When a prior release exists before the resolved version | Useful comparison pivot for audit and rollout review | Context only | | `cdx:pypi:priorPublishTime` | component | timestamp | `2025-12-20T08:15:30.000Z` | When a prior release exists before the resolved version | Supports recency and release-gap analysis | Context only | | `cdx:pypi:priorPublisher` | component | string | `previous-uploader` | When prior-release uploader identity is available | Useful for uploader-change review | Warning / triage | | `cdx:pypi:publisherDrift` | component | boolean string | `"true"` | When current uploader identities differ from the prior release uploader set | Conservative uploader-drift signal for mature packages | Warning / triage | | `cdx:pypi:uploaderSet` | component | list string | `trusted-publisher` | When PyPI release metadata exposes uploader identities | Useful for uploader continuity review | Context only | | `cdx:pypi:priorUploaderSet` | component | list string | `previous-uploader` | When a prior release exposes uploader identities | Useful comparison pivot for uploader-set drift | Context only | | `cdx:pypi:uploaderSetDrift` | component | boolean string | `"true"` | When current and prior uploader identity sets are fully disjoint | Conservative uploader-set drift signal for mature packages | Warning / triage | | `cdx:pypi:uploaderSetPartialDrift` | component | boolean string | `"true"` | When current and prior uploader identity sets partially overlap but still change | Low-severity uploader churn signal for mature packages | Warning / triage | | `cdx:pypi:uploaderOverlapCount` | component | number string | `1` | Derived from the shared identities between current and prior uploader sets | Explainability signal for uploader continuity | Context only | | `cdx:pypi:uploaderOverlapRatio` | component | number string | `0.33` | Shared-identity overlap divided by the uploader-set union | Helps distinguish partial churn from full continuity or full drift | Context only | | `cdx:pypi:releaseGapDays` | component | number string | `240.00` | Derived from the gap between the current and previous release | Useful for dormant-package revival and cadence anomaly review | Warning / triage | | `cdx:pypi:releaseGapBaselineDays` | component | number string | `12.00` | Derived from older adjacent release gaps before the current release | Provides cadence baseline for anomaly detectors | Context only | | `cdx:pypi:releaseGapSampleSize` | component | number string | `4` | Count of prior release gaps used to compute the baseline | Helps policies ignore thin release histories | Context only | | `cdx:pypi:releaseCadenceCompressionRatio` | component | number string | `0.11` | Derived from current gap ÷ baseline gap when enough history exists | Explainability signal for materially faster-than-usual releases | Context only | | `cdx:pypi:compressedCadence` | component | boolean string | `"true"` | When the current release arrives materially faster than the established cadence baseline | Low-severity cadence anomaly signal for mature packages | Warning / triage | | `cdx:pylock:marker` | component | string | `python_version >= "3.11"` | When parsed from PEP 751 `pylock.toml` package markers | Preserves lock-file install-condition context not modeled by CycloneDX | Warning / triage | | `cdx:pylock:dependencies` | component | JSON string | `[{"name":"attrs","version":"25.1.0"}]` | When dependency selectors are recorded in pylock | Retains selector-level dependency metadata used for auditing | Context only | | `cdx:pylock:file:url` | component(file) | URL string | `https://files.pythonhosted.org/...whl` | For pylock archive/sdist/wheel file entries | Captures artifact provenance details for reproducibility and verification | Warning / triage | | `cdx:pypi:versionSpecifiers` | component | string | `>=1.0,<2.0`, `==2024.*` | Whenever a requirement does not pin exactly one version; a range, wildcard or exclusion leaves the component version empty | Important for pinning strictness and drift analysis | Warning / triage | | `cdx:pip:markers` | component | string | `python_version >= "3.11"` | When marker-based conditional deps are present | Reveals conditional attack surface and environment sensitivity | Warning / triage | | `cdx:pip:structuredMarkers` | component | JSON string | serialized marker AST | When structured markers are available | Better machine-readable alternative to raw marker strings | Warning / triage | | `cdx:python:requires_python` | component/metadata | string | `>=3.9` | When root interpreter constraints are known | Lets policies detect unsupported or mismatched environments | Warning / triage | | `cdx:gem:remoteRevision` | component | string | git commit SHA | When a gem is pinned to a git revision | Preferred immutable Ruby VCS source signal | Warning / triage | | `cdx:gem:remoteBranch` | component | string | `main` | When a gem tracks a git branch | Mutable source indicator | Hard deny | | `cdx:gem:remoteTag` | component | string | `v1.2.3` | When a gem tracks a git tag | Mutable source indicator unless combined with revision | Warning / triage | | `cdx:gem:yanked` | component | boolean string | `"true"`, `"false"` | When registry metadata shows the gem was yanked | Useful integrity and availability signal | Hard deny | | `cdx:gem:extensions` | component/metadata | comma separated string | `ext/nokogiri/extconf.rb` | When a gemspec declares native extensions | The gem compiles code on the install host, the RubyGems equivalent of an npm install script | Warning / triage | | `cdx:gem:mfaRequired` | component/metadata | boolean string | `"true"`, `"false"` | When the gemspec metadata or registry metadata sets `rubygems_mfa_required` | Indicates the maintainer requires MFA to publish, a positive supply chain signal | Informational | | `cdx:gem:rubygemsVersionSpecifiers` | component/metadata | string | `>= 3.3.22` | From `required_rubygems_version` in a gemspec, or the `rubygems:` field of the bundler compact index cache | Build and install compatibility signal | Informational | | `cdx:cargo:features` | component | JSON string | serialized feature map | When Cargo features are present | Indicates additional code paths and feature-based exposure | Warning / triage | | `cdx:cargo:git` | component | URL string | `https://github.com/org/crate` | When Cargo dependency uses a git source | Mutable/non-registry provenance signal; combine with `gitRev` or `gitTag` to assess pinning | Hard deny | | `cdx:cargo:path` | component | path string | `../local-crate` | When Cargo dependency uses a local path source | Strong non-hermetic local source signal | Hard deny | | `cdx:cargo:dependencyKind` | component | enum string | `runtime`, `build`, `dev` | When Cargo manifest dependency sections are parsed | Distinguishes runtime from build/test-only surfaces | Warning / triage | | `cdx:cargo:target` | component | target selector string | `cfg(target_os = "linux")` | When dependency is scoped to a Cargo target stanza | Helps separate platform-specific dependency exposure | Warning / triage | | `cdx:cargo:dependencyKinds` | component | list string | `dev, runtime` | When a crate is reached by edges of more than one kind | Shows that a crate serves both a shipped and a test-only purpose | Warning / triage | | `cdx:cargo:targetGated` | component | boolean string | `"true"` | When every path from a workspace member to the crate crosses a `cfg()` gate | Identifies crates that no build for an unmatched target triple pulls in | Warning / triage | | `cdx:cargo:targetExcluded` | component | boolean string | `"true"` | When `CDXGEN_CARGO_TARGET` is set and the crate is absent from the resolve graph for that triple | Identifies crates that no build for the requested target triple links, so a cross-compiled product can be described without them | Warning / triage | | `cdx:cargo:filterPlatform` | component | target triple string | `armv5te-unknown-linux-gnueabi` | Alongside `cdx:cargo:targetExcluded`, naming the triple the crate was excluded for | Records which target the exclusion was decided against | Informational | | `cdx:cargo:hostOnly` | formulation component | boolean string | `"true"` | When the crate is a build dependency or a proc-macro | Separates crates compiled for the build host from those linked into the shipped artifact. These components are moved from `components[]` to the `formulation` section | Warning / triage | | `cdx:cargo:procMacro` | component | boolean string | `"true"` | When `cargo metadata` reports a `proc-macro` target for the crate | Flags compile-time code execution | Warning / triage | | `cdx:cargo:activated` | component | boolean string | `"false"` | When the crate is locked but absent from the resolve graph, so no enabled feature pulls it in | Distinguishes a locked optional dependency from one that is actually built | Warning / triage | | `cdx:cargo:resolvedFeatures` | component | list string | `default, derive, std` | With `--deep`, the features `cargo metadata`'s resolve graph reports as enabled | Says which code is actually compiled, which optional dependencies activate, and whether a vulnerable feature path exists in this build at all | Warning / triage | | `cdx:cargo:links` | component | library name string | `openssl` | When the crate declares `links` in its manifest, which a `-sys` crate does | Marks the crates that put a native C library into the artifact | Warning / triage | | `cdx:cargo:nativeLibrary` | component | library name string | `z` | On a native library component, naming the crate's `links` value it was derived from | Ties the emitted library back to the linker-level name the crate declared | Informational | | `cdx:cargo:providedBy` | component | purl | `pkg:cargo/openssl-sys@0.9.117` | On a native library component, naming the `-sys` crate that ships it | Identifies which crate to update to pick up a fix in the native library | Warning / triage | | `cdx:cargo:linkage` | component | enum string | `static`, `dynamic` | On a native library component, from the vendoring features the resolver enabled | `static` means the library ships inside the artifact and its advisories and license obligations travel with it; `dynamic` means the deployment environment must provide and patch it, and the component is also marked `isExternal` on CycloneDX 1.7+ | Hard deny | | `cdx:cargo:linkageEvidence` | component | list string, repeatable | `vendored`, `openssl-src@300.6.1+3.6.3` | Alongside `cdx:cargo:linkage`, naming the feature or source crate that decided it | Lets a reviewer confirm the linkage conclusion instead of taking it on trust | Informational | | `cdx:cargo:upstreamVersionSource` | component | crate id or file path string | `libz-sys-1.1.29/src/zlib/zlib.h` | On a native library component whose version was recovered, naming where from | States whether the version came from a crate version's build metadata or from a define in the vendored C source | Informational | | `cdx:cargo:upstreamVersionCandidates` | component | list string | `1.3.1, 2.2.2.zlib-ng` | When the crate ships several variants of the library and the enabled features do not say which is compiled | The component is deliberately left versionless; the variants can carry different licenses, so a license review cannot finish from the BOM alone | Warning / triage | | `cdx:cargo:sourceKind` | component | enum string | `git`, `local`, `registry` | When the crate's source is not plain crates.io | Flags non-default provenance: a git source, a local path or `[patch]`/`[replace]` override, or an alternative registry | Warning / triage | | `cdx:cargo:sourceUrl` | component | URL string | `https://cargo.internal.example.com/index` | Alongside `cdx:cargo:sourceKind` | Names the registry or repository the crate was resolved from | Warning / triage | | `cdx:cargo:alternateRegistry` | component | boolean string | `"true"` | When the crate came from a registry other than crates.io | A private registry can publish any name and version, including ones that also exist on crates.io; the purl carries the registry as a `repository_url` qualifier so the identities do not collide | Hard deny | | `cdx:evidence:usage` | component | enum string | `occurrence`, `callstack` | When `--required-only` runs after the evidence stage and the component was observed in the analyzed sources | Records that the component survived the required-only filter on observed usage rather than on its declared scope | Warning / triage | | `cdx:evidence:occurrences:declaration` | component | list string (paths) | `src/App/App.csproj,src/App/obj/project.assets.json` | When the BOM carries usage evidence for at least one component and this one has none: its occurrences name the manifests that declare it (`evidence.identity` manifest-analysis methods and `internal:SrcFile`), under one rule for every ecosystem | Tells a declaration site from a use site: the CycloneDX occurrence object allows no extra field, and readers such as Dependency-Track keep only its location and line, so this component-level property is what separates a declared-but-unused dependency from an observed one | Context only | | `cdx:cargo:yanked` | component | boolean string | `"true"` | When crates.io metadata shows the selected crate version was yanked | High-signal registry integrity and lifecycle warning | Hard deny | | `cdx:cargo:trustedPublishing` | component | boolean string | `"true"` | When crates.io metadata exposes trusted publishing / provenance evidence | Positive provenance signal for Cargo releases | Warning / triage | | `cdx:cargo:hasNativeBuild` | component/formulation | boolean string | `"true"` | When Cargo build.rs or native build helper crates are detected | Flags expanded execution surface in Rust build pipelines | Warning / triage | | `cdx:cargo:buildScriptCapabilities` | formulation component | list string | `process-execution, linker-directives` | When Cargo build.rs content is available for heuristic inspection | Makes build-time execution, linker, file-generation, or network behavior visible to policy | Warning / triage | | `cdx:cargo:workspaceRoot` | component | path string | `/repo/Cargo.toml` | When a Cargo package inherits metadata or dependencies from a workspace root | Helps explain version/license/source inheritance and workspace-scoped dependency resolution | Context only | | `cdx:cargo:workspaceDependency` | component | boolean string | `"true"` | When a Cargo dependency entry is inherited via `workspace = true` | Distinguishes workspace-managed dependencies from standalone manifest entries | Context only | | `cdx:cargo:workspaceDependencyResolved` | component | boolean string | `"true"` | When a workspace-managed Cargo dependency resolves to another workspace member | Helps distinguish build-only workspace helpers from runtime-facing member crates | Warning / triage | | `cdx:cargo:resolvedWorkspaceMember` | component | string | `core` | When a workspace dependency resolves to a specific member crate | Useful for member-to-member graph review and workspace triage | Context only | | `cdx:cargo:resolvedMemberPath` | component | path string | `/repo/crates/core/Cargo.toml` | When a workspace dependency resolves to a specific member manifest | Makes inherited/path-like workspace relationships explicit | Context only | | `cdx:cargo:cacheSource` | component | enum string | `registry-cache` | When a component is cataloged from the Cargo cache project type | Differentiates cached crate inventory from source-manifest or lockfile-derived inventory | Context only | | `cdx:rust:buildTool` | formulation component | enum string | `cargo`, `maturin` | When formulation parsing detects Rust build/release tooling | Lets audit rules pivot on Cargo vs maturin build paths | Context only | | `cdx:github:action:ecosystem` | workflow component | enum string | `cargo` | When a GitHub Action is recognized as ecosystem-specific tooling such as Cargo setup/cache actions | Lets BOM audit and cdx-audit correlate exact ecosystem tooling actions with build surfaces | Context only | | `cdx:github:action:role` | workflow component | list string | `toolchain`, `cache`, `tool-install` | When a GitHub Action is recognized as a toolchain/cache/install action | Useful for distinguishing setup steps from cache restores or installer helpers | Warning / triage | | `cdx:github:step:usesCargo` | workflow component | boolean string | `"true"` | When a workflow `run:` step executes one or more Cargo commands | Lets rules correlate Cargo build/test/package/publish activity with native build surfaces | Warning / triage | | `cdx:github:step:cargoSubcommands` | workflow component | list string | `build, test` | When a workflow `run:` step executes Cargo subcommands | Preserves the high-level Cargo operation mix seen in CI/CD | Warning / triage | | `cdx:github:step:cargoWorkspaceScope` | workflow component | boolean string | `"true"` | When a workflow Cargo command operates across `--workspace`, `--all`, or `--all-targets` | Highlights workflow steps that exercise more of a workspace than a single crate | Warning / triage | | `cdx:go:local_dir` | component | path string | `../local-module` | When Go `replace` points to a local path | Strong non-hermetic build signal | Hard deny | | `cdx:go:replaces` | component | string | `github.com/mholt/archiver/v3@v3.5.1` | When a Go `replace` directive puts this module in place of another; the component carries the replacement Go builds | Shows which upstream module a fork or local copy stands in for, so findings on the original can be traced | Warning / triage | | `cdx:go:deprecated` | component | string | deprecation message | When Go module metadata is deprecated | Good triage and lifecycle signal | Warning / triage | | `cdx:golem:securitySignalSeverity` | component | enum string | `high` | When Golem maps a security-sensitive Go API signal back to a module | Prioritizes semantic source review beyond manifest presence | Hard deny | | `cdx:golem:securitySignalCategory` | component | enum/list string | `weak-crypto` | Alongside Golem security signal severity | Explains what class of API usage or configuration triggered review | Warning / triage | | `cdx:golem:usageScopes` | component | list string | `runtime,test` | When imports or symbol usages map to a Go module | Separates production usage from test, benchmark, fuzz, or example-only evidence | Warning / triage | | `cdx:golem:occurrenceEvidenceKinds` | component | list string | `import,symbolCall` | When Golem can explain how a module was observed | Tells reviewers whether evidence came from import presence or symbol-level usage | Context only | | `cdx:golem:localReplacement` | component | boolean string | `"true"` | When the analyzed Go module graph marks a dependency as locally replaced | Strong non-hermetic build and provenance bypass signal | Hard deny | | `cdx:golem:privateModuleCandidate` | component | boolean string | `"true"` | When Golem identifies a module as likely private or internal | Requires internal provenance, access-control, and license-review evidence | Warning / triage | | `cdx:golem:vendored` | component | boolean string | `"true"` | When a module appears in the vendor tree | Useful for redistribution and license-file completeness checks | Warning / triage | | `cdx:golem:licenseFileCount` | component | number string | `1` | When Golem maps license files to a module | Supports vendored module compliance and release evidence review | Warning / triage | | `cdx:golem:callGraphMode` | metadata.component | enum string | `none`, `static`, `cha`, `rta`, `vta` | On the root metadata component after Go Evinse runs Golem | Explains precision and performance trade-offs for the evidence run | Context only | | `cdx:golem:nativeArtifactCount` | metadata.component | number string | `3` | When Golem sees C, C++, Objective-C, assembly, native objects, cgo, or related sidecars | Highlights cross-platform, build-performance, and native review surface | Warning / triage | | `cdx:collider:dependencyKind` | component | enum string | `direct`, `transitive` | When parsing Collider lockfile entries from `dependencies` vs `packages` | Distinguishes root intent from lock-only transitive inventory | Context only | | `cdx:collider:origin` | component | URL string | `https://packages.example.com/collider/v2/` | When Collider lockfile origin metadata is present (sanitized before emission) | Provenance signal for repository allowlists and mirror policy | Warning / triage | | `cdx:collider:originScheme` | component | enum string | `https`, `http`, `file` | Derived from sanitized Collider origin URL | Useful for blocking insecure HTTP origins or isolating local/offline mirrors | Hard deny | | `cdx:collider:originHost` | component | string | `packages.example.com` | When the sanitized Collider origin has a network host | Handy for host-level allowlists and explainability | Context only | | `cdx:collider:originSanitized` | component | boolean string | `"true"` | When credentials, query strings, or fragments were stripped from Collider origin metadata | Signals potentially secret-bearing or unstable signed URLs in the original lockfile | Warning / triage | | `cdx:collider:hasWrapHash` | component | boolean string | `"true"`, `"false"` | When Collider lockfile wrap hash metadata is present and valid | Fast integrity gate for wrap-hash-pinned reproducibility | Hard deny | | `cdx:collider:wrapHash` | component | string | `sha256:abc123...` | When Collider lockfile records the wrap file digest | Exact immutable wrap fingerprint for verification and incident correlation | Warning / triage | | `cdx:collider:wrapHashInvalid` | component | boolean string | `"true"` | When Collider lockfile contains a malformed wrap hash | High-signal integrity issue indicating a stale, malformed, or tampered lock entry | Hard deny | | `cdx:cmake:depKind` | component | string | `fetch`, `external-project`, `cpm`, `submodule` | On C/C++ components fetched at configure time (FetchContent, ExternalProject, CPM.cmake) or checked out as git submodules | Distinguishes configure-time downloads and git submodules from plain `find_package` requirements, so policy can treat unregistry-sourced C/C++ deps differently | Warning / triage | | `cdx:cmake:resolvedVia` | component | string | `cmake-lists`, `cmake-cache`, `gitclone-script`, `git-submodule` | On C/C++ components, how the version or pin was determined: declared in a CMake file, or resolved from a build artifact | Provenance signal showing how the version was determined; useful for confidence-weighted policy | Context only | | `cdx:cmake:sourceDir` | component | path string | `third_party/benchmark`, `_deps/tinyjson-src` | On C/C++ components resolved from CMakeCache.txt or git submodules, the repo-relative source directory | Locates the dependency within the project tree for boundary-aware analysis | Context only | | `cdx:cmake:uninitialised` | component | boolean string | `"true"` | On git submodule components whose working tree is not populated (the normal case for `--depth 1` clones) | Signals that the submodule version is a commit SHA with no tag, since `git describe` cannot run on uninitialised submodules | Context only | | `cdx:cmake:versionRequirements` | component | pipe-separated versions | `1.54\|1.64` | On a C/C++ component that several CMake-like files require at different minimum versions | Records every requirement behind the single component version, which is the highest of them, so a policy can see the range the build spans | Context only | | `cdx:cmake:subprojectDir` | sub-component of `metadata.component` | path string | `tools`, `lib_src` | On a `project()` declared in a `CMakeLists.txt` below the scan root: the directory it is declared in (repo-relative) | Marks first-party CMake sub-projects, which are parts of the project rather than dependencies | Context only | | `cdx:vendored` | component | boolean string | `"true"` | On a directory of the project that carries its own license file stating a license other than the project's | Flags code carried in the tree under different terms (copied libraries, imported test suites) for license review | Warning / triage | | `cdx:vendored:path` | component | path string | `tests/imported/gnu` | Alongside `cdx:vendored`: the directory (repo-relative) | Locates the vendored code | Context only | | `cdx:vendored:licenseFile` | component | path string | `tests/imported/gnu/LICENSE.txt` | Alongside `cdx:vendored`: the license file the license was read from (repo-relative) | Evidence for the license finding | Context only | | | | | | | | parent of 39beaae6 (docs: parent choice, CMake sub-projects, vendored code, system headers and Python first-party modules) | | Key | Scope | Value type | Typical values | When emitted | Why it matters | Policy readiness | | ----------------------------------------- | ------------------------------------------------ | -------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------- | | `cdx:npm:hasInstallScript` | component | boolean string | `"true"`, `"false"` | When risky npm lifecycle hooks are present | Captures install-time code execution risk | Hard deny | | `cdx:npm:bin` | component | list string | `license-report, ng` | When npm package metadata declares one or more executable `bin` commands | Lets consumers identify CLI execution surface; cdxgen also uses it to match script-invoked commands to the owning package and keep such components required | Warning / triage | | `cdx:npm:has_binary` | component | boolean string | `"true"` | When npm package metadata declares a `bin` entry | Quick boolean for packages exposing executable commands | Warning / triage | | `cdx:npm:binPaths` | component | list string | `node_modules/.bin/ng` | When npm/arborist exposes installed binary link paths | Provides installed-path evidence for executable packages and supports command-to-package matching | Context only | | `cdx:npm:hasObfuscatedLifecycleScript` | component | boolean string | `"true"`, `"false"` | When install hooks combine encoded/obfuscated payload handling with execution or delivery primitives | High-confidence supply-chain abuse indicator for npm lifecycle hooks | Hard deny | | `cdx:npm:lifecycleObfuscationIndicators` | component | list string | `ast:buffer-base64,long-base64-literal` | When inline hook commands or referenced JS files contain encoded loader indicators | Makes hidden payload techniques visible to policy and triage | Warning / triage | | `cdx:npm:lifecycleExecutionIndicators` | component | list string | `ast:child-process,eval` | When install hooks or referenced JS files expose execution primitives | Separates generic install hooks from active payload execution | Warning / triage | | `cdx:npm:lifecycleIndicatorMap` | component | string | `postinstall:ast:buffer-base64+ast:child-process` | When lifecycle analysis can map indicators back to specific script names | Preserves script-level evidence without storing full payloads | Context only | | `cdx:npm:risky_scripts` | component | list string | `preinstall,postinstall` | When risky lifecycle hooks are detected | Human-readable explanation for why `hasInstallScript` was set | Warning / triage | | `cdx:npm:buildScripts` | metadata component | list string | `build, compile` | When a package's `scripts` field contains build-related script names (matching `build`, `compile`, `bundle`, `pack`, `dist`, `watch`, or similar) | Surfaces build toolchain invocation surface on the root component; useful for identifying which packages drive the build pipeline and for policy decisions about build-time risk | Context only | | `cdx:npm:isRegistryDependency` | component | boolean string | `"true"`, `"false"` | For npm components with resolvable source type | Distinguishes registry dependencies from git/file/local/workspace sources | Hard deny | | `cdx:npm:native_addon` | component | boolean string | `"true"`, `"false"` | When a package builds native code | Highlights additional build and execution surface | Warning / triage | | `cdx:npm:nameMismatchError` | component | string | `Expected 'foo', found 'foo-esm'` | When name resolution mismatches are detected | Useful dependency-confusion and tampering signal | Hard deny | | `cdx:npm:versionMismatchError` | component | string | `Resolved 3.0.0, expected ^2.0` | When locked/resolved version diverges from expectation | Flags drift, corruption, or surprising resolution | Hard deny | | `cdx:npm:cleanedVersion` | component | semver string | `1.0.0` for `1.0.0+build.5` | When an npm component's version is valid semver but `npm publish` would record it differently (build metadata, leading `v` or `=`, leading zeros) | The version the npm registry knows the package by: npm, pnpm, yarn and bun lockfiles keep the manifest string, while `npm publish` records `semver.clean()` of it. `version` and `purl` keep the recorded string | Informational | | `cdx:npm:packageExtensionsHash` | root component | ssri integrity string | `sha512-...` | When the lockfile root entry records a `packageExtensionsHash` | Canonical digest of the root `packageExtensions` rule set, comparable to npm's own value | Warning / triage | | `cdx:npm:packageExtensionsApplied` | component | list string | `evil-injected, react` | When a `packageExtensions` repair changed this dependency's manifest fields | Names the dependency edges that the scanned root manifest added to a third-party package, making silent repairs visible | Hard deny | | `cdx:npm:packageExtensionsDisabled` | root component | boolean string | `"true"` | When `--no-package-extensions` is used with `--deep` | Signals that `packageExtensions` repairs were deliberately skipped so the BOM reflects manifests as published | Context only | | `cdx:npm:extensionHash` | root component | ssri integrity string | `sha512-...` | When a root `.npm-extension.mjs` or `.npm-extension.cjs` file is detected | Hash of the on-disk extension file computed with npm's algorithm (`npm-extension:v1:\n` + bytes), comparable to the lockfile's `npmExtensionHash` | Warning / triage | | `cdx:npm:extensionFormat` | root component | enum string | `"mjs"`, `"cjs"` | When a root `.npm-extension` file is detected | Module format of the detected extension file | Context only | | `cdx:npm:extensionApplied` | root component | enum string | `"true"`, `"false"`, `"unverified"` | When a root `.npm-extension` file is detected | Whether the extension's repairs are reflected: `true` (on-disk hash matches the lockfile), `false` (lockfile records no extension), `unverified` (the file changed since the lockfile was written) | Hard deny | | `cdx:npm:extensionFieldsApplied` | component | list string | `left-pad, react` | When a `.npm-extension` repair changed this dependency's manifest fields | Names the dependency edges that the root `.npm-extension` added or corrected on a third-party package | Warning / triage | | `cdx:npm:trustedPublishing` | component | boolean string | `"true"` | When npm registry metadata exposes attestation/provenance evidence for the resolved version | Strong positive signal that the published version includes registry-visible provenance evidence | Warning / triage | | `cdx:npm:provenanceUrl` | component | URL string | `https://registry.npmjs.org/-/npm/v1/attestations/...` | When npm exposes an attestation or provenance URL for the resolved version | Useful provenance pivot for attestations, explainability, and downstream verification | Context only | | `cdx:npm:provenanceDigest` | component | list string | `sha256:abc...,sha512:def...` | When npm provenance metadata exposes subject or attestation digests | Gives audit rules an exact immutable evidence token beyond the registry URL | Context only | | `cdx:npm:provenanceKeyId` | component | list string | `sigstore-npm-key` | When npm provenance metadata exposes signature key identifiers | Supports key-based allowlists, trust pinning, and explainability | Warning / triage | | `cdx:npm:provenanceSignature` | component | list string | `MEUCIQD...` | When npm provenance metadata exposes raw signature values | Retains exact cryptographic evidence for downstream verification | Context only | | `cdx:npm:provenancePredicateType` | component | list string | `https://slsa.dev/provenance/v1` | When npm provenance metadata exposes a predicate type | Lets policies distinguish SLSA/in-toto style attestations | Context only | | `cdx:npm:artifactIntegrity` | component | string | `sha512-...` | When npm `dist.integrity` is present | Exact package artifact integrity token useful for verification and incident response | Warning / triage | | `cdx:npm:artifactShasum` | component | string | `deadbeef...` | When npm `dist.shasum` is present | Additional artifact fingerprint for audit evidence and correlation | Context only | | `cdx:npm:publisher` | component | string | `octo-maintainer` | When npm version metadata exposes the publishing identity | Helpful provenance and publisher-trust context | Context only | | `cdx:npm:publisherEmail` | component | string | `maintainer@example.com` | When npm version metadata exposes publisher email | Additional provenance context; not strong enough as a standalone gate | Context only | | `cdx:npm:publishTime` | component | timestamp | `2026-04-01T10:00:00.000Z` | When npm registry timestamps the resolved version | Useful for recency, drift, and incident scoping | Warning / triage | | `cdx:npm:packageCreatedTime` | component | timestamp | `2024-01-01T10:00:00.000Z` | When npm registry exposes package creation time | Distinguishes mature packages from brand-new packages for drift heuristics | Context only | | `cdx:npm:lastModifiedTime` | component | timestamp | `2026-04-01T10:00:00.000Z` | When npm registry exposes the latest modification time | Useful for release cadence and incident scoping | Context only | | `cdx:npm:versionCount` | component | number string | `12` | Derived from npm registry release history | Helps recent-release and publisher-drift heuristics ignore tiny histories | Context only | | `cdx:npm:priorVersion` | component | string | `1.2.2` | When a prior publish exists before the resolved version | Useful pivot for change review and comparison | Context only | | `cdx:npm:priorPublishTime` | component | timestamp | `2026-03-01T10:00:00.000Z` | When a prior publish exists before the resolved version | Supports recency and release-gap analysis | Context only | | `cdx:npm:priorPublisher` | component | string | `previous-publisher` | When npm version history exposes the previous publisher | Useful for publisher-change review | Warning / triage | | `cdx:npm:publisherDrift` | component | boolean string | `"true"` | When the resolved version publisher differs from the prior release publisher | Conservative drift signal for mature packages | Warning / triage | | `cdx:npm:maintainerSet` | component | list string | `alice, alice@example.com` | When npm version metadata exposes maintainer identities | Useful for maintainer continuity review | Context only | | `cdx:npm:priorMaintainerSet` | component | list string | `bob, bob@example.com` | When a prior version exposes maintainer identities | Useful comparison pivot for maintainer-set drift | Context only | | `cdx:npm:maintainerSetDrift` | component | boolean string | `"true"` | When current and prior maintainer identity sets are fully disjoint | Conservative maintainer drift signal for mature packages | Warning / triage | | `cdx:npm:maintainerSetPartialDrift` | component | boolean string | `"true"` | When current and prior maintainer identity sets partially overlap but still change | Low-severity maintainer churn signal for mature packages | Warning / triage | | `cdx:npm:maintainerOverlapCount` | component | number string | `1` | Derived from the shared identities between current and prior maintainer sets | Explainability signal for maintainer continuity | Context only | | `cdx:npm:maintainerOverlapRatio` | component | number string | `0.33` | Shared-identity overlap divided by the maintainer-set union | Helps distinguish partial churn from full continuity or full drift | Context only | | `cdx:npm:releaseGapDays` | component | number string | `240.00` | Derived from the gap between the current and previous release | Useful for dormant-package revival and cadence anomaly review | Warning / triage | | `cdx:npm:releaseGapBaselineDays` | component | number string | `12.00` | Derived from older adjacent release gaps before the current release | Provides cadence baseline for anomaly detectors | Context only | | `cdx:npm:releaseGapSampleSize` | component | number string | `4` | Count of prior release gaps used to compute the baseline | Helps policies ignore thin release histories | Context only | | `cdx:npm:releaseCadenceCompressionRatio` | component | number string | `0.11` | Derived from current gap ÷ baseline gap when enough history exists | Explainability signal for materially faster-than-usual releases | Context only | | `cdx:npm:compressedCadence` | component | boolean string | `"true"` | When the current release arrives materially faster than the established cadence baseline | Low-severity cadence anomaly signal for mature packages | Warning / triage | | `cdx:npm:package:development` | component | boolean string | `"true"` | When marked `dev: true`/`devOptional: true` in package-lock metadata, or reached only through dev edges in bun.lock | Distinguishes development-only npm packages from optional runtime packages | Context only | | `cdx:npm:package:optional` | component | boolean string | `"true"` | When marked `optional: true` in package-lock metadata, or reached only through optional edges in bun.lock | Distinguish optional packages | Context only | | `cdx:npm:package:peer` | component | boolean string | `"true"` | When marked as a peer dependency in package-lock metadata, or reached only through peer edges in bun.lock | Distinguish peer dependencies | Context only | | `cdx:npm:package:type-only` | component | boolean string | `"true"` | When an npm package is identified as a type-only package based on static analysis | Distinguish type-only dependencies from required and optional dependencies | Context only | | `cdx:pnpm:configDependency` | component | boolean string | `"true"` | When the pnpm lockfile boot document lists the package under its config dependencies | Config dependencies are installed by pnpm before anything else and may run hooks during every install, so the BOM shows them even though they are not part of the project dependency graph | Warning / triage | | `cdx:pnpm:catalog` | component | string | `default`, `blue`, `blue,default` | When an importer in the pnpm lockfile pins the package with a `catalog:` or `catalog:` specifier; the sorted names of the catalogs, `default` for the unnamed one | Shows that a central `pnpm-workspace.yaml` entry controls the version across the workspace, which matters when reviewing a version bump | Context only | | `cdx:pnpm:patched` | component | boolean string | `"true"` | When the pnpm lockfile lists the package under `patchedDependencies` | The installed package has been modified by `pnpm patch`. The component keeps its upstream purl so vulnerability matching sees the published version the patch was applied to | Warning / triage | | `cdx:pnpm:patchHash` | component | string | sha256 hex digest | When `cdx:pnpm:patched` is `true`; the hash the pnpm lockfile records for the applied patch | Identifies the exact patch content. Two installs whose patch files differ produce different hashes even for the same package version | Distinguish builds / triage | | `cdx:pnpm:patchFile` | component | string | relative path | When `cdx:pnpm:patched` is `true` and `pnpm-workspace.yaml` (or the `pnpm` field of `package.json`) next to the lockfile names the patch file | Path of the `.patch` file applied to the package, relative to the project root, so the change can be reviewed | Traceability | | `cdx:npm:isWorkspace` | component | boolean string | `"true"`, `"false"` | For workspace members | Preferred workspace indicator | Context only | | `cdx:npm:is_workspace` | component | boolean string | `"true"`, `"false"` | Legacy/alternate workspace spelling | Keep in policy allowlists for compatibility | Context only | | `cdx:pypi:registry` | component | URL string | `https://internal-pypi.example.com/simple` | When a non-default Python registry is used | Strong allowlist / denylist input for dependency origin policy | Hard deny | | `cdx:pypi:trustedPublishing` | component | boolean string | `"true"` | When PyPI release metadata exposes attestation/provenance evidence for the resolved version | Strong positive provenance signal for trusted publishing or attestations | Warning / triage | | `cdx:pypi:provenanceUrl` | component | URL string | `https://pypi.org/integrity/.../provenance` | When PyPI exposes a provenance or integrity URL for a resolved artifact | Useful provenance pivot for downstream verification | Context only | | `cdx:pypi:provenanceDigest` | component | list string | `sha256:abc...` | When PyPI provenance or attestation metadata exposes digests | Gives audit rules exact immutable provenance evidence | Context only | | `cdx:pypi:provenanceKeyId` | component | list string | `sigstore-pypi-key` | When PyPI provenance or attestation metadata exposes signature key identifiers | Supports key-based allowlists and trust explainability | Warning / triage | | `cdx:pypi:provenanceSignature` | component | list string | `c2lnbmF0dXJl` | When PyPI provenance or attestation metadata exposes raw signatures | Retains exact cryptographic evidence for downstream verification | Context only | | `cdx:pypi:provenancePredicateType` | component | list string | `https://docs.pypi.org/attestations/publish/v1` | When PyPI provenance metadata exposes a predicate type | Helps policies distinguish attestation formats | Context only | | `cdx:pypi:artifactDigestSha256` | component | list string | `abcdef...` | When PyPI release file metadata exposes SHA-256 digests | Exact release-file fingerprint useful for audit evidence and verification | Warning / triage | | `cdx:pypi:artifactDigestBlake2b256` | component | list string | `012345...` | When PyPI release file metadata exposes BLAKE2b-256 digests | Additional artifact fingerprint for correlation and verification | Context only | | `cdx:pypi:artifactDigestMd5` | component | list string | `deadbeef...` | When PyPI release file metadata exposes MD5 digests | Legacy integrity context; weaker than SHA-256 but still useful for correlation | Context only | | `cdx:pypi:publisher` | component | string | `trusted-publisher` | When release metadata includes uploader identity | Helpful provenance context for triage and publisher reviews | Context only | | `cdx:pypi:uploaderVerified` | component | boolean string | `"true"` | When PyPI release metadata marks the uploader as verified | Useful trust signal, but weaker than signed provenance | Warning / triage | | `cdx:pypi:classifiers` | component | list string (newline separated) | `Framework :: Flask\nTopic :: Internet :: WWW/HTTP :: WSGI :: Application` | When PyPI metadata is fetched and the distribution declares Trove classifiers | Lets policies read the full author-declared taxonomy rather than only the tags cdxgen maps | Context only | | `cdx:pypi:frameworks` | component | list string (comma separated) | `django,celery` | When a distribution declares one or more `Framework :: X` classifiers | Authoritative framework attribution; more reliable than name-prefix matching for plugin packages | Context only | | `cdx:pypi:modulesFrom` | component | enum string | `alias-map,distribution-name`, `distribution-name` | Alongside `internal:Namespaces` on PyPI components | Records whether the module names were curated or derived from the distribution name | Context only | | `cdx:pypi:publishTime` | component | timestamp | `2026-03-20T08:15:30.000Z` | When PyPI release metadata includes upload timestamps | Useful for incident scoping, release recency, and drift analysis | Warning / triage | | `cdx:pypi:packageCreatedTime` | component | timestamp | `2025-12-20T08:15:30.000Z` | Derived from the earliest known release upload time | Distinguishes mature packages from brand-new packages for drift heuristics | Context only | | `cdx:pypi:versionCount` | component | number string | `8` | Derived from PyPI release history | Helps recent-release and drift heuristics avoid small-package false positives | Context only | | `cdx:pypi:priorVersion` | component | string | `1.9.0` | When a prior release exists before the resolved version | Useful comparison pivot for audit and rollout review | Context only | | `cdx:pypi:priorPublishTime` | component | timestamp | `2025-12-20T08:15:30.000Z` | When a prior release exists before the resolved version | Supports recency and release-gap analysis | Context only | | `cdx:pypi:priorPublisher` | component | string | `previous-uploader` | When prior-release uploader identity is available | Useful for uploader-change review | Warning / triage | | `cdx:pypi:publisherDrift` | component | boolean string | `"true"` | When current uploader identities differ from the prior release uploader set | Conservative uploader-drift signal for mature packages | Warning / triage | | `cdx:pypi:uploaderSet` | component | list string | `trusted-publisher` | When PyPI release metadata exposes uploader identities | Useful for uploader continuity review | Context only | | `cdx:pypi:priorUploaderSet` | component | list string | `previous-uploader` | When a prior release exposes uploader identities | Useful comparison pivot for uploader-set drift | Context only | | `cdx:pypi:uploaderSetDrift` | component | boolean string | `"true"` | When current and prior uploader identity sets are fully disjoint | Conservative uploader-set drift signal for mature packages | Warning / triage | | `cdx:pypi:uploaderSetPartialDrift` | component | boolean string | `"true"` | When current and prior uploader identity sets partially overlap but still change | Low-severity uploader churn signal for mature packages | Warning / triage | | `cdx:pypi:uploaderOverlapCount` | component | number string | `1` | Derived from the shared identities between current and prior uploader sets | Explainability signal for uploader continuity | Context only | | `cdx:pypi:uploaderOverlapRatio` | component | number string | `0.33` | Shared-identity overlap divided by the uploader-set union | Helps distinguish partial churn from full continuity or full drift | Context only | | `cdx:pypi:releaseGapDays` | component | number string | `240.00` | Derived from the gap between the current and previous release | Useful for dormant-package revival and cadence anomaly review | Warning / triage | | `cdx:pypi:releaseGapBaselineDays` | component | number string | `12.00` | Derived from older adjacent release gaps before the current release | Provides cadence baseline for anomaly detectors | Context only | | `cdx:pypi:releaseGapSampleSize` | component | number string | `4` | Count of prior release gaps used to compute the baseline | Helps policies ignore thin release histories | Context only | | `cdx:pypi:releaseCadenceCompressionRatio` | component | number string | `0.11` | Derived from current gap ÷ baseline gap when enough history exists | Explainability signal for materially faster-than-usual releases | Context only | | `cdx:pypi:compressedCadence` | component | boolean string | `"true"` | When the current release arrives materially faster than the established cadence baseline | Low-severity cadence anomaly signal for mature packages | Warning / triage | | `cdx:pylock:marker` | component | string | `python_version >= "3.11"` | When parsed from PEP 751 `pylock.toml` package markers | Preserves lock-file install-condition context not modeled by CycloneDX | Warning / triage | | `cdx:pylock:dependencies` | component | JSON string | `[{"name":"attrs","version":"25.1.0"}]` | When dependency selectors are recorded in pylock | Retains selector-level dependency metadata used for auditing | Context only | | `cdx:pylock:file:url` | component(file) | URL string | `https://files.pythonhosted.org/...whl` | For pylock archive/sdist/wheel file entries | Captures artifact provenance details for reproducibility and verification | Warning / triage | | `cdx:pypi:versionSpecifiers` | component | string | `>=1.0,<2.0`, `==2024.*` | Whenever a requirement does not pin exactly one version; a range, wildcard or exclusion leaves the component version empty | Important for pinning strictness and drift analysis | Warning / triage | | `cdx:pip:markers` | component | string | `python_version >= "3.11"` | When marker-based conditional deps are present | Reveals conditional attack surface and environment sensitivity | Warning / triage | | `cdx:pip:structuredMarkers` | component | JSON string | serialized marker AST | When structured markers are available | Better machine-readable alternative to raw marker strings | Warning / triage | | `cdx:python:requires_python` | component/metadata | string | `>=3.9` | When root interpreter constraints are known | Lets policies detect unsupported or mismatched environments | Warning / triage | | `cdx:gem:remoteRevision` | component | string | git commit SHA | When a gem is pinned to a git revision | Preferred immutable Ruby VCS source signal | Warning / triage | | `cdx:gem:remoteBranch` | component | string | `main` | When a gem tracks a git branch | Mutable source indicator | Hard deny | | `cdx:gem:remoteTag` | component | string | `v1.2.3` | When a gem tracks a git tag | Mutable source indicator unless combined with revision | Warning / triage | | `cdx:gem:yanked` | component | boolean string | `"true"`, `"false"` | When registry metadata shows the gem was yanked | Useful integrity and availability signal | Hard deny | | `cdx:gem:extensions` | component/metadata | comma separated string | `ext/nokogiri/extconf.rb` | When a gemspec declares native extensions | The gem compiles code on the install host, the RubyGems equivalent of an npm install script | Warning / triage | | `cdx:gem:mfaRequired` | component/metadata | boolean string | `"true"`, `"false"` | When the gemspec metadata or registry metadata sets `rubygems_mfa_required` | Indicates the maintainer requires MFA to publish, a positive supply chain signal | Informational | | `cdx:gem:rubygemsVersionSpecifiers` | component/metadata | string | `>= 3.3.22` | From `required_rubygems_version` in a gemspec, or the `rubygems:` field of the bundler compact index cache | Build and install compatibility signal | Informational | | `cdx:composer:platform:` | metadata component, or metadata properties | constraint string | `^8.1` for `php`, `*` for `ext-zip` | Once per entry in the `platform` section of a `composer.lock`: the constraint the root `composer.json` puts on PHP or an extension. Set on the component built from the `composer.json` next to the lock, or in `metadata.properties` when that file names no project and the lock is in the scanned directory (a nested lock like that records `php.composer.platform-unattributed` instead) | A constraint, never a version of the PHP that runs. It tells which PHP releases the project accepts, so a PHP advisory can be read against it | Context only | | `cdx:composer:platformDev:` | metadata component, or metadata properties | constraint string | `*` for `ext-xdebug` | Once per entry in the `platform-dev` section, which holds the platform requirements of `require-dev`. Set where `cdx:composer:platform:` is | Separates what development and test tooling asks of PHP from what the application asks | Context only | | `cdx:composer:platformOverride:` | metadata component, or metadata properties | version string or `false` | `8.1.27` for `php`, `false` for `ext-foo` | Once per entry in the `platform-overrides` section, which Composer fills from `config.platform`. Set where `cdx:composer:platform:` is | The PHP version Composer was told to assume, and so the one every locked package was resolved against. It is an assumption of the project, not a measurement of any machine. `false` marks a package Composer was told to treat as absent | Warning / triage | | `cdx:composer:require:` | component | constraint string | `>=8.0.0` for `php` on `psr/log` | Once per `php`, `php-64bit`, `php-ipv6`, `php-zts`, `php-debug`, `hhvm`, `ext-*` and `lib-*` requirement a locked package in `packages` or `packages-dev` declares. The requirement adds no component and no dependency edge | Shows which packages need which PHP range or extension, for example to find what blocks a PHP upgrade | Context only | | `cdx:cargo:features` | component | JSON string | serialized feature map | When Cargo features are present | Indicates additional code paths and feature-based exposure | Warning / triage | | `cdx:cargo:git` | component | URL string | `https://github.com/org/crate` | When Cargo dependency uses a git source | Mutable/non-registry provenance signal; combine with `gitRev` or `gitTag` to assess pinning | Hard deny | | `cdx:cargo:path` | component | path string | `../local-crate` | When Cargo dependency uses a local path source | Strong non-hermetic local source signal | Hard deny | | `cdx:cargo:dependencyKind` | component | enum string | `runtime`, `build`, `dev` | When Cargo manifest dependency sections are parsed | Distinguishes runtime from build/test-only surfaces | Warning / triage | | `cdx:cargo:target` | component | target selector string | `cfg(target_os = "linux")` | When dependency is scoped to a Cargo target stanza | Helps separate platform-specific dependency exposure | Warning / triage | | `cdx:cargo:dependencyKinds` | component | list string | `dev, runtime` | When a crate is reached by edges of more than one kind | Shows that a crate serves both a shipped and a test-only purpose | Warning / triage | | `cdx:cargo:targetGated` | component | boolean string | `"true"` | When every path from a workspace member to the crate crosses a `cfg()` gate | Identifies crates that no build for an unmatched target triple pulls in | Warning / triage | | `cdx:cargo:targetExcluded` | component | boolean string | `"true"` | When `CDXGEN_CARGO_TARGET` is set and the crate is absent from the resolve graph for that triple | Identifies crates that no build for the requested target triple links, so a cross-compiled product can be described without them | Warning / triage | | `cdx:cargo:filterPlatform` | component | target triple string | `armv5te-unknown-linux-gnueabi` | Alongside `cdx:cargo:targetExcluded`, naming the triple the crate was excluded for | Records which target the exclusion was decided against | Informational | | `cdx:cargo:hostOnly` | formulation component | boolean string | `"true"` | When the crate is a build dependency or a proc-macro | Separates crates compiled for the build host from those linked into the shipped artifact. These components are moved from `components[]` to the `formulation` section | Warning / triage | | `cdx:cargo:procMacro` | component | boolean string | `"true"` | When `cargo metadata` reports a `proc-macro` target for the crate | Flags compile-time code execution | Warning / triage | | `cdx:cargo:activated` | component | boolean string | `"false"` | When the crate is locked but absent from the resolve graph, so no enabled feature pulls it in | Distinguishes a locked optional dependency from one that is actually built | Warning / triage | | `cdx:cargo:resolvedFeatures` | component | list string | `default, derive, std` | With `--deep`, the features `cargo metadata`'s resolve graph reports as enabled | Says which code is actually compiled, which optional dependencies activate, and whether a vulnerable feature path exists in this build at all | Warning / triage | | `cdx:cargo:links` | component | library name string | `openssl` | When the crate declares `links` in its manifest, which a `-sys` crate does | Marks the crates that put a native C library into the artifact | Warning / triage | | `cdx:cargo:nativeLibrary` | component | library name string | `z` | On a native library component, naming the crate's `links` value it was derived from | Ties the emitted library back to the linker-level name the crate declared | Informational | | `cdx:cargo:providedBy` | component | purl | `pkg:cargo/openssl-sys@0.9.117` | On a native library component, naming the `-sys` crate that ships it | Identifies which crate to update to pick up a fix in the native library | Warning / triage | | `cdx:cargo:linkage` | component | enum string | `static`, `dynamic` | On a native library component, from the vendoring features the resolver enabled | `static` means the library ships inside the artifact and its advisories and license obligations travel with it; `dynamic` means the deployment environment must provide and patch it, and the component is also marked `isExternal` on CycloneDX 1.7+ | Hard deny | | `cdx:cargo:linkageEvidence` | component | list string, repeatable | `vendored`, `openssl-src@300.6.1+3.6.3` | Alongside `cdx:cargo:linkage`, naming the feature or source crate that decided it | Lets a reviewer confirm the linkage conclusion instead of taking it on trust | Informational | | `cdx:cargo:upstreamVersionSource` | component | crate id or file path string | `libz-sys-1.1.29/src/zlib/zlib.h` | On a native library component whose version was recovered, naming where from | States whether the version came from a crate version's build metadata or from a define in the vendored C source | Informational | | `cdx:cargo:upstreamVersionCandidates` | component | list string | `1.3.1, 2.2.2.zlib-ng` | When the crate ships several variants of the library and the enabled features do not say which is compiled | The component is deliberately left versionless; the variants can carry different licenses, so a license review cannot finish from the BOM alone | Warning / triage | | `cdx:cargo:sourceKind` | component | enum string | `git`, `local`, `registry` | When the crate's source is not plain crates.io | Flags non-default provenance: a git source, a local path or `[patch]`/`[replace]` override, or an alternative registry | Warning / triage | | `cdx:cargo:sourceUrl` | component | URL string | `https://cargo.internal.example.com/index` | Alongside `cdx:cargo:sourceKind` | Names the registry or repository the crate was resolved from | Warning / triage | | `cdx:cargo:alternateRegistry` | component | boolean string | `"true"` | When the crate came from a registry other than crates.io | A private registry can publish any name and version, including ones that also exist on crates.io; the purl carries the registry as a `repository_url` qualifier so the identities do not collide | Hard deny | | `cdx:evidence:usage` | component | enum string | `occurrence`, `callstack` | When `--required-only` runs after the evidence stage and the component was observed in the analyzed sources | Records that the component survived the required-only filter on observed usage rather than on its declared scope | Warning / triage | | `cdx:evidence:occurrences:declaration` | component | list string (paths) | `src/App/App.csproj,src/App/obj/project.assets.json` | When the BOM carries usage evidence for at least one component and this one has none: its occurrences name the manifests that declare it (`evidence.identity` manifest-analysis methods and `internal:SrcFile`), under one rule for every ecosystem | Tells a declaration site from a use site: the CycloneDX occurrence object allows no extra field, and readers such as Dependency-Track keep only its location and line, so this component-level property is what separates a declared-but-unused dependency from an observed one | Context only | | `cdx:cargo:yanked` | component | boolean string | `"true"` | When crates.io metadata shows the selected crate version was yanked | High-signal registry integrity and lifecycle warning | Hard deny | | `cdx:cargo:trustedPublishing` | component | boolean string | `"true"` | When crates.io metadata exposes trusted publishing / provenance evidence | Positive provenance signal for Cargo releases | Warning / triage | | `cdx:cargo:hasNativeBuild` | component/formulation | boolean string | `"true"` | When Cargo build.rs or native build helper crates are detected | Flags expanded execution surface in Rust build pipelines | Warning / triage | | `cdx:cargo:buildScriptCapabilities` | formulation component | list string | `process-execution, linker-directives` | When Cargo build.rs content is available for heuristic inspection | Makes build-time execution, linker, file-generation, or network behavior visible to policy | Warning / triage | | `cdx:cargo:workspaceRoot` | component | path string | `/repo/Cargo.toml` | When a Cargo package inherits metadata or dependencies from a workspace root | Helps explain version/license/source inheritance and workspace-scoped dependency resolution | Context only | | `cdx:cargo:workspaceDependency` | component | boolean string | `"true"` | When a Cargo dependency entry is inherited via `workspace = true` | Distinguishes workspace-managed dependencies from standalone manifest entries | Context only | | `cdx:cargo:workspaceDependencyResolved` | component | boolean string | `"true"` | When a workspace-managed Cargo dependency resolves to another workspace member | Helps distinguish build-only workspace helpers from runtime-facing member crates | Warning / triage | | `cdx:cargo:resolvedWorkspaceMember` | component | string | `core` | When a workspace dependency resolves to a specific member crate | Useful for member-to-member graph review and workspace triage | Context only | | `cdx:cargo:resolvedMemberPath` | component | path string | `/repo/crates/core/Cargo.toml` | When a workspace dependency resolves to a specific member manifest | Makes inherited/path-like workspace relationships explicit | Context only | | `cdx:cargo:cacheSource` | component | enum string | `registry-cache` | When a component is cataloged from the Cargo cache project type | Differentiates cached crate inventory from source-manifest or lockfile-derived inventory | Context only | | `cdx:rust:buildTool` | formulation component | enum string | `cargo`, `maturin` | When formulation parsing detects Rust build/release tooling | Lets audit rules pivot on Cargo vs maturin build paths | Context only | | `cdx:github:action:ecosystem` | workflow component | enum string | `cargo` | When a GitHub Action is recognized as ecosystem-specific tooling such as Cargo setup/cache actions | Lets BOM audit and cdx-audit correlate exact ecosystem tooling actions with build surfaces | Context only | | `cdx:github:action:role` | workflow component | list string | `toolchain`, `cache`, `tool-install` | When a GitHub Action is recognized as a toolchain/cache/install action | Useful for distinguishing setup steps from cache restores or installer helpers | Warning / triage | | `cdx:github:step:usesCargo` | workflow component | boolean string | `"true"` | When a workflow `run:` step executes one or more Cargo commands | Lets rules correlate Cargo build/test/package/publish activity with native build surfaces | Warning / triage | | `cdx:github:step:cargoSubcommands` | workflow component | list string | `build, test` | When a workflow `run:` step executes Cargo subcommands | Preserves the high-level Cargo operation mix seen in CI/CD | Warning / triage | | `cdx:github:step:cargoWorkspaceScope` | workflow component | boolean string | `"true"` | When a workflow Cargo command operates across `--workspace`, `--all`, or `--all-targets` | Highlights workflow steps that exercise more of a workspace than a single crate | Warning / triage | | `cdx:go:local_dir` | component | path string | `../local-module` | When Go `replace` points to a local path | Strong non-hermetic build signal | Hard deny | | `cdx:go:replaces` | component | string | `github.com/mholt/archiver/v3@v3.5.1` | When a Go `replace` directive puts this module in place of another; the component carries the replacement Go builds | Shows which upstream module a fork or local copy stands in for, so findings on the original can be traced | Warning / triage | | `cdx:go:deprecated` | component | string | deprecation message | When Go module metadata is deprecated | Good triage and lifecycle signal | Warning / triage | | `cdx:golem:securitySignalSeverity` | component | enum string | `high` | When Golem maps a security-sensitive Go API signal back to a module | Prioritizes semantic source review beyond manifest presence | Hard deny | | `cdx:golem:securitySignalCategory` | component | enum/list string | `weak-crypto` | Alongside Golem security signal severity | Explains what class of API usage or configuration triggered review | Warning / triage | | `cdx:golem:usageScopes` | component | list string | `runtime,test` | When imports or symbol usages map to a Go module | Separates production usage from test, benchmark, fuzz, or example-only evidence | Warning / triage | | `cdx:golem:occurrenceEvidenceKinds` | component | list string | `import,symbolCall` | When Golem can explain how a module was observed | Tells reviewers whether evidence came from import presence or symbol-level usage | Context only | | `cdx:golem:localReplacement` | component | boolean string | `"true"` | When the analyzed Go module graph marks a dependency as locally replaced | Strong non-hermetic build and provenance bypass signal | Hard deny | | `cdx:golem:privateModuleCandidate` | component | boolean string | `"true"` | When Golem identifies a module as likely private or internal | Requires internal provenance, access-control, and license-review evidence | Warning / triage | | `cdx:golem:vendored` | component | boolean string | `"true"` | When a module appears in the vendor tree | Useful for redistribution and license-file completeness checks | Warning / triage | | `cdx:golem:licenseFileCount` | component | number string | `1` | When Golem maps license files to a module | Supports vendored module compliance and release evidence review | Warning / triage | | `cdx:golem:callGraphMode` | metadata.component | enum string | `none`, `static`, `cha`, `rta`, `vta` | On the root metadata component after Go Evinse runs Golem | Explains precision and performance trade-offs for the evidence run | Context only | | `cdx:golem:nativeArtifactCount` | metadata.component | number string | `3` | When Golem sees C, C++, Objective-C, assembly, native objects, cgo, or related sidecars | Highlights cross-platform, build-performance, and native review surface | Warning / triage | | `cdx:collider:dependencyKind` | component | enum string | `direct`, `transitive` | When parsing Collider lockfile entries from `dependencies` vs `packages` | Distinguishes root intent from lock-only transitive inventory | Context only | | `cdx:collider:origin` | component | URL string | `https://packages.example.com/collider/v2/` | When Collider lockfile origin metadata is present (sanitized before emission) | Provenance signal for repository allowlists and mirror policy | Warning / triage | | `cdx:collider:originScheme` | component | enum string | `https`, `http`, `file` | Derived from sanitized Collider origin URL | Useful for blocking insecure HTTP origins or isolating local/offline mirrors | Hard deny | | `cdx:collider:originHost` | component | string | `packages.example.com` | When the sanitized Collider origin has a network host | Handy for host-level allowlists and explainability | Context only | | `cdx:collider:originSanitized` | component | boolean string | `"true"` | When credentials, query strings, or fragments were stripped from Collider origin metadata | Signals potentially secret-bearing or unstable signed URLs in the original lockfile | Warning / triage | | `cdx:collider:hasWrapHash` | component | boolean string | `"true"`, `"false"` | When Collider lockfile wrap hash metadata is present and valid | Fast integrity gate for wrap-hash-pinned reproducibility | Hard deny | | `cdx:collider:wrapHash` | component | string | `sha256:abc123...` | When Collider lockfile records the wrap file digest | Exact immutable wrap fingerprint for verification and incident correlation | Warning / triage | | `cdx:collider:wrapHashInvalid` | component | boolean string | `"true"` | When Collider lockfile contains a malformed wrap hash | High-signal integrity issue indicating a stale, malformed, or tampered lock entry | Hard deny | | `cdx:cmake:depKind` | component | string | `fetch`, `external-project`, `cpm`, `submodule` | On C/C++ components fetched at configure time (FetchContent, ExternalProject, CPM.cmake) or checked out as git submodules | Distinguishes configure-time downloads and git submodules from plain `find_package` requirements, so policy can treat unregistry-sourced C/C++ deps differently | Warning / triage | | `cdx:cmake:resolvedVia` | component | string | `cmake-lists`, `cmake-cache`, `gitclone-script`, `git-submodule` | On C/C++ components, how the version or pin was determined: declared in a CMake file, or resolved from a build artifact | Provenance signal showing how the version was determined; useful for confidence-weighted policy | Context only | | `cdx:cmake:sourceDir` | component | path string | `third_party/benchmark`, `_deps/tinyjson-src` | On C/C++ components resolved from CMakeCache.txt or git submodules, the repo-relative source directory | Locates the dependency within the project tree for boundary-aware analysis | Context only | | `cdx:cmake:uninitialised` | component | boolean string | `"true"` | On git submodule components whose working tree is not populated (the normal case for `--depth 1` clones) | Signals that the submodule version is a commit SHA with no tag, since `git describe` cannot run on uninitialised submodules | Context only | | `cdx:cmake:versionRequirements` | component | pipe-separated versions | `1.54\|1.64` | On a C/C++ component that several CMake-like files require at different minimum versions | Records every requirement behind the single component version, which is the highest of them, so a policy can see the range the build spans | Context only | | | | | | | | parent of eb5dd547 (docs(c): resolved includes, CONAN_HOME and vcpkg triplets) | | `cdx:cmake:subprojectDir` | sub-component of `metadata.component` | path string | `tools`, `lib_src` | On a `project()` declared in a `CMakeLists.txt` below the scan root: the directory it is declared in (repo-relative) | Marks first-party CMake sub-projects, which are parts of the project rather than dependencies | Context only | | `cdx:vendored` | component | boolean string | `"true"` | On a directory of the project that carries its own license file stating a license other than the project's | Flags code carried in the tree under different terms (copied libraries, imported test suites) for license review | Warning / triage | | `cdx:vendored:path` | component | path string | `tests/imported/gnu` | Alongside `cdx:vendored`: the directory (repo-relative) | Locates the vendored code | Context only | | `cdx:vendored:licenseFile` | component | path string | `tests/imported/gnu/LICENSE.txt` | Alongside `cdx:vendored`: the license file the license was read from (repo-relative) | Evidence for the license finding | Context only | | `cdx:vcpkg:triplet` | component | string | `x64-linux`, `arm64-osx` | On a vcpkg port found installed in the build tree (`vcpkg_installed/vcpkg/info`): the triplet it was built for; the component's version is the installed one | Ties a vcpkg dependency to the exact port version and target the build used | Context only | | `cdx:cmake:buildType` | metadata component | string | `Debug`, `RelWithDebInfo` | When the configured build tree's CMakeCache.txt sets `CMAKE_BUILD_TYPE` | Says which configuration the build evidence (hardening, compilers) describes | Context only | | `cdx:cmake:preset:file` | formulation `data` component | path string | `CMakePresets.json`, `cmake/presets/linux.json` | On each visible CMake configure preset, the presets file that defines it (repo-relative) | Locates the preset definition for review | Context only | | `cdx:cmake:preset:inherits` | formulation `data` component | comma-separated names | `linux-common` | When a configure preset inherits from other presets | Shows the template chain a configuration is built from | Context only | | `cdx:cmake:preset:generator` | formulation `data` component | string | `Ninja`, `Visual Studio 17 2022` | When a configure preset (or a preset it inherits) names a generator | Build-system provenance for the configuration | Context only | | `cdx:cmake:preset:binaryDir` | formulation `data` component | path string | `build/gcc` | When a configure preset's build directory is inside the project (repo-relative; out-of-tree directories are not recorded) | Ties the configuration to the build tree cdxgen read CMakeCache.txt and compile_commands.json from | Context only | | `cdx:cmake:preset:buildType` | formulation `data` component | string | `Debug`, `Release` | When a configure preset sets `CMAKE_BUILD_TYPE` | Distinguishes debug from release configurations | Context only | | `cdx:cmake:preset:cCompiler` | formulation `data` component | executable name | `gcc`, `clang`, `cl` | When a configure preset names the C compiler (`CMAKE_C_COMPILER` or the `CC` environment entry); the file name only, never a full path | Which compiler family a configuration builds with | Context only | | `cdx:cmake:preset:cxxCompiler` | formulation `data` component | executable name | `g++`, `clang++` | As `cdx:cmake:preset:cCompiler`, for C++ (`CMAKE_CXX_COMPILER` or `CXX`) | Which compiler family a configuration builds with | Context only | | `cdx:cmake:preset:toolchainFile` | formulation `data` component | path string | `cmake/toolchains/arm.cmake`, `vcpkg.cmake` | When a configure preset names a toolchain file; repo-relative inside the project, otherwise the file name only | Cross-compilation and package-manager integration signal | Context only | | `cdx:cmake:preset:vcpkg` | formulation `data` component | boolean string | `"true"` | When a configure preset's toolchain file is vcpkg's `vcpkg.cmake` | The configuration resolves its dependencies through vcpkg (manifest mode when a `vcpkg.json` is present) | Context only | | `cdx:cmake:preset:vcpkgTriplet` | formulation `data` component | string | `x64-linux`, `arm64-windows` | When a configure preset sets `VCPKG_TARGET_TRIPLET` | The target the vcpkg ports are built for | Context only | | `cdx:cmake:preset:exportCompileCommands` | formulation `data` component | boolean string | `"true"` | When a configure preset turns on `CMAKE_EXPORT_COMPILE_COMMANDS` | The configuration writes the compilation database cdxgen and atom read | Context only | | `cdx:cmake:preset:hostCondition` | formulation `data` component | `met`, `unmet`, `unknown` | `unmet` | When a configure preset has a `condition`; evaluated for the host cdxgen ran on (`matches` conditions are not evaluated: `unknown`) | Tells host-specific configurations (Windows-only, macOS-only) from the ones this host can build | Context only | | `cdx:cpp:compiler:family` | formulation `platform` component | string | `gcc`, `clang`, `apple-clang`, `msvc`, `clang-cl`, `nvcc`, `icx`, `icc`, `nvhpc`, `edg` | On each compiler the compilation database or the configured build tree names | Toolchain inventory for build provenance and compiler-specific policy | Context only | | `cdx:cpp:compiler:drivers` | formulation `platform` component | comma-separated executable names | `gcc,g++` | On each compiler component, the driver names that invoke it (file names only) | Links compilation database entries to the toolchain | Context only | | `cdx:cpp:compiler:identifiedBy` | formulation `platform` component | `cmake`, `version-query`, `name` | `cmake` | How the compiler and its version were identified: CMake's own compiler description in the build tree, its `--version` output, or only its name (secure mode, or a compiler cdxgen does not run) | Confidence signal for the version | Context only | | `cdx:cpp:compiler:languages` | formulation `platform` component | comma-separated | `c,c++`, `cuda` | The languages the compiler compiles in this build | Scope of the toolchain | Context only | | `cdx:cpp:compiler:units` | formulation `platform` component | integer string | `412` | The number of translation units the compilation database compiles with this compiler | Weight of each toolchain in the build | Context only | | `cdx:cpp:frontend` | formulation `platform` component | string | `edg` | When the compiler reports that it is built on the Edison Design Group C/C++ front end | Identifies EDG-based compilers, whose language behaviour follows EDG's | Context only | | `cdx:cpp:compileCommands:units` | metadata component | integer string | `412` | When a compilation database was read | Denominator for the `cdx:cpp:hardening::units` counts | Context only | | `cdx:cpp:hardening:` | metadata component, formulation `data` component | string | `cdx:cpp:hardening:fortifySource=2`, `stackProtector=strong`, `pie=on`, `relro=full`, `cfProtection=full`, `sanitizers=address,undefined`, `glibcxxAssertions=on`, `stackClashProtection=on`, `msvcBufferSecurityCheck=on`, `msvcControlFlowGuard=on` | The security-hardening options the project is compiled or linked with: on the project component the most common value across the compilation database's units (link-time settings from the configured build tree), on a preset component the value its flag variables set | Evidence for hardening policy (FORTIFY, stack protector, PIE, RELRO, CET, sanitizers) without inspecting binaries | Warning / triage | | `cdx:cpp:hardening::units` | metadata component | integer string | `cdx:cpp:hardening:fortifySource:units=398` | Alongside `cdx:cpp:hardening:` from a compilation database: how many units use that value | Shows whether a hardening option covers the whole build or only part of it | Warning / triage | | `cdx:cpp:hardening:source` | metadata component | comma-separated | `compile-commands,cmake-cache` | When hardening properties were recorded: where they came from | Provenance of the hardening evidence | Context only | | `cdx:meson:wrapdb:wrap` | component | string | `zlib`, `abseil-cpp` | On a C/C++ dependency whose scraped name matched a Meson WrapDB entry | Names the WrapDB wrap the component was renamed to; the wrap's release archive is attached as a `distribution` external reference with its hash | Context only | | `cdx:meson:wrapdb:latestVersion` | component | string | `1.3.1` | Alongside `cdx:meson:wrapdb:wrap` | The release the bundled WrapDB data describes, which is not necessarily the version the project builds; the component version stays empty until a lock or build tree resolves it | Context only | | `cdx:dotnet:assembly_name` | component | string | `Microsoft.AI.Agent.Intercept`, `Contoso.Api.Core` | When an assembly is named differently from its NuGet package: a `` whose `HintPath` names another package, or a project whose `PackageId` or restore output names its package otherwise than its explicit `` | The package id names the component and its purl, while the assembly name is the file that ships. Use it to match a binary, or a dosai assembly, back to its package or project | Context only | | `cdx:dotnet:assembly_version` | component | version string | `13.0.0.0`, `2.0.15.0` | When a .NET `` names its assembly version inline (`Version=13.0.0.0`) | The assembly's version, not the package's: Newtonsoft.Json 13.0.3 ships assembly 13.0.0.0. It never fills in the component version or purl, so match advisories on the package version and use this to check binding redirects | Context only | | `cdx:dotnet:hint_path` | component | path string | `..\\..\\lib\\external.dll` | When .NET assembly references use `HintPath` | Useful for local/GAC/side-loaded binary provenance | Warning / triage | | `cdx:dotnet:output_type` | component | string | `Exe`, `WinExe` | When an MSBuild project declares a non-`Library` `OutputType` | Distinguish executable projects from libraries when scoping reachability or runtime-exposure policy. Emitted as a property rather than a purl qualifier: `nuget` does not define `output_type`, so the previous `?output_type=` purl was invalid. `Library` is reflected in `component.type` instead. | Context only | | `cdx:nuget:declared_version_range` | component | string | `[3.13.3,4.0)`, `2.0.*`, `$(JsonVersion)` | When a .NET manifest states a version constraint rather than an installed version - a NuGet range, a wildcard, or an unresolved MSBuild property | Keeps the declaration visible while the component stays versionless, so a scanner never sees a `version` field its purl cannot back up | Context only | | `cdx:nuget:metadata_version` | component | version string | `13.0.4` | When licence metadata for a versionless NuGet component was read from a release cdxgen picked, rather than one the project declared | Traces where the description and licence came from without claiming the component is that release | Context only | | `cdx:nuget:metadataSource` | component | string | `local-nuspec` | When a NuGet component's description and licence were read from the nuspec of the package installed in the global packages folder | Traces the answer to the machine's own copy of the package, which the NuGet service was not asked about | Context only | | `cdx:purl:sanitized_from` | component | purl string | `pkg:generic/x@1?arch=arm64` | When cdxgen ingests a component whose purl came from external metadata and was not a valid Package URL | Detect upstream tools emitting invalid purls; audit where cdxgen repaired or dropped identity it did not author. The original, invalid purl. cdxgen rebuilds a canonical purl from the component identity where possible, otherwise drops the purl and assigns a fallback `bom-ref`. | Warning / triage | | `cdx:caxa:arch` | component | string | `arm64`, `x64` | On the parent component of a caxa-packaged standalone binary (`-t caxa`) | Confirm a shipped binary matches the intended target architecture. Emitted by `@cdxgen/caxa` and ingested by cdxgen. Previously an `arch` purl qualifier, which the `generic` type does not permit. | Context only | | `cdx:caxa:platform` | component | string | `linux`, `darwin`, `win32` | On the parent component of a caxa-packaged standalone binary (`-t caxa`) | Confirm a shipped binary matches the intended target platform. Emitted by `@cdxgen/caxa` and ingested by cdxgen. Previously a `platform` purl qualifier, which the `generic` type does not permit. | Context only | | `cdx:caxa:stripped` | component | boolean string | `"true"` | On the bundled Node.js runtime component of a caxa-packaged standalone binary (`-t caxa`) when caxa stripped its symbol table | Explains why the shipped runtime's bytes, and on macOS its signature, differ from the official Node.js release of the same version, so a hash or signature comparison against that release is expected to fail. Emitted by `@cdxgen/caxa` 4.0 and later and ingested by cdxgen. | Context only | | `cdx:caxa:lazyMember` | component | path string | `plugins/trivy/trivy-cdxgen-linux-amd64` | Once per lazy member, on the npm package of a caxa binary that holds it (`-t caxa`), and on its tool with `--caxa-app-dir` | Until its first run a lazy member is a placeholder in the extracted app, so a hash or scan of that file may see the caxa stub's bytes rather than the member's. The value is the path relative to the package. Emitted by `@cdxgen/caxa` 4.0.1 and later for Unix builds and ingested by cdxgen. | Context only | | `cdx:plugin:manifest:name` | component | string | `trivy`, `osquery` | On a native tool component read from a cdxgen plugins manifest (`-t caxa --caxa-app-dir`) | Names the bundled plugin the component describes, as `plugins-manifest.json` of `@cdxgen/cdxgen-plugins-bin` lists it. Emitted by the plugins manifest and ingested by cdxgen. | Context only | | `cdx:gradle:resolutionFailed` | component | boolean string | `"true"` | When `gradle dependencies` printed the dependency as `FAILED` in every configuration and project that names it. The component keeps the version it was requested at, or has none when the request was a range, a dynamic version or no version | The dependency is declared but Gradle could not resolve it in the scan environment, so its transitive dependencies are missing from the BOM | Warning / triage | | `cdx:gradle:requestedVersion` | component | string | `{strictly [1.0, 2.0)}`, `1.+` | With `cdx:gradle:resolutionFailed`, when the version Gradle printed as requested differs from the component version | Keeps the declared version or rich-version constraint visible for a dependency Gradle could not resolve | Context only | | `cdx:gradle:verificationMethods` | component | comma-separated method names | `sha256,sha512`, `pgp,sha256` | On a maven component whose coordinates match a committed `gradle/verification-metadata.xml` | Names the verification methods Gradle applied to this artifact when `--write-verification-metadata` ran; the digests themselves are on the component's hashes. The file travels with the source, so this records what Gradle verified then, not a check cdxgen re-ran | Context only | | `cdx:gradle:pgpKeyIds` | component | comma-separated key ids | `C5D9B9B0683DBD130CA4B8C7BF3FE5E70418D06D` | With `cdx:gradle:verificationMethods`, when the artifact is verified by signature | The long key ids or v4 fingerprints of the signatures Gradle verified, at most ten. Only ids of those two lengths are kept, so a truncated or invented value never reaches the BOM | Context only | | `cdx:gradle:verificationMetadata` | component | boolean string | `"true"` | On components built from `gradle/verification-metadata.xml` when the `gradle-verification-fallback` feature flag is set and nothing else, neither a Gradle run, nor the lockfiles, nor a version catalog, produced components | Marks the last-resort fallback: the component is `optional`, because the file cannot tell a runtime dependency from build tooling, and carries no dependency edges, and the scan records `jvm.gradle.verification-metadata-only` | Warning / triage | | `cdx:gradle:verifyMetadata` | metadata component | boolean string | `"true"`, `"false"` | On the primary component of a Gradle build with a committed `gradle/verification-metadata.xml` that writes the flag | Whether Gradle verified the POM and module metadata of the build when the file was written, a fact about the whole build rather than one component | Context only | | `cdx:gradle:verifySignatures` | metadata component | boolean string | `"true"`, `"false"` | On the primary component of a Gradle build with a committed `gradle/verification-metadata.xml` that writes the flag | Whether Gradle verified the PGP signatures of the build when the file was written | Context only | | `cdx:gradle:verificationMismatch` | component | boolean string | `"true"` | On a maven component whose own digest of an algorithm differs from the digest `gradle/verification-metadata.xml` records for it. The component keeps its own digest; the recorded one is never applied. SNAPSHOT versions are not compared | A stale file cannot cause this, since a released version does not change; `INT-016` reports it as a possible republished artifact or tampered cache | Warning / triage | | `cdx:maven:shaded` | component | boolean string | `"true"`, `"false"` | When shaded/relocated bytecode is detected | Can signal vendoring, obfuscation, or namespace relocation risk | Warning / triage | | `cdx:nix:revision` | component | string | git commit SHA | When flake lock contains a revision | Important reproducibility anchor | Hard deny | | `cdx:nix:nar_hash` | component | string | `sha256-...` | When flake lock contains content hash | Important integrity and reproducibility anchor | Hard deny | | `cdx:nix:input_url` | component | URL string | `github:nixos/nixpkgs/nixos-24.05` | When flake input URLs are parsed | Provenance signal for source origin policy | Warning / triage | | `cdx:swift:localCheckoutPath` | component | path string | `checkouts/MyDep-1.0.0` | When SwiftPM uses a local checkout | Detects local or developer-only dependency provenance | Hard deny | | `cdx:pods:projectDir` | component | path string | `/path/to/project` | When CocoaPods uses a local project directory | Local provenance signal for pod sourcing | Warning / triage | | `cdx:pub:registry` | component | URL string | `https://pub.company.example` | When Dart pub uses a non-default registry | Useful for registry allowlists | Hard deny | | `cdx:deno:source` | component | string | `jsr`, `npm`, `https` | On every component parsed from a `deno.lock`, recording which Deno dependency channel it originated from | Distinguishes JSR, npm-registry, and remote `https://` URL imports so registry/source allowlists can treat them differently | Hard deny | | `cdx:deno:jsrKey` | component | string | `@std/assert@1.0.19` | On JSR components, whose purl is rewritten to the `@jsr/__` npm-compat form | Preserves the original JSR identity for traceability and to pivot back from the npm-compat purl | Context only | | `cdx:deno:integrity` | component | string | `eaada96ee120...` (raw sha256 hex) | On JSR components that carry a Deno-provided integrity hash | Records the source-verbatim JSR integrity digest as published in `deno.lock` for reproducibility and verification | Context only | | `cdx:scala:compilerVersion` | component | string | `3`, `2.13` | The Scala compiler target binary version extracted from the artifact name suffix | Supports downstream package matching and precise Scala version verification | Context only | | `cdx:sbt:failedProjects` | component | comma-separated project ids | `backend, ui` | On the metadata component when the sbt dependency tree of one or more subprojects could not be resolved after a per-subproject retry | Explains why an sbt SBOM may be incomplete and names the subprojects to fix | Warning / triage | | `cdx:deb:source` | component | string | `php8.3`, `util-linux (2.39.3-9ubuntu6.6)` | On a deb package found by an OBOM: dpkg's `Source` field as osquery reports it, with the source version in parentheses when it differs from the package's own | Names the source package a vulnerability feed is keyed by: the binary package `bsdutils` is advised under `util-linux` | Context only | | `cdx:rpm:sourceRpm` | component | string | `openssl-3.5.8-1.el9_8.src.rpm` | On an rpm package found by an OBOM: the file name of the source rpm, from the rpm database. It used to be the subpath of the purl, though it names no path inside the package | Names the source package of an rpm for source-keyed advisories | Context only | | `cdx:apk:origin` | component | string | `php84`, `musl` | On an apk package found by an OBOM: the `o:` origin of its record in the apk installed database, the package it was built from | Names the source package of an apk package, which Alpine advisories are keyed by | Context only | | `cdx:homebrew:type` | component | string | `formula`, `cask` | On a Homebrew package found by an OBOM on macOS or Linux, from the `type` column of osquery's `homebrew_packages`; a cask has the same `pkg:brew/@` form as a formula | Tells a prebuilt app (cask) from a formula, and is what the OBOM summary counts casks by | Context only | | `cdx:alpm:pkgbase` | component | string | `glibc`, `linux` | On a pacman package found by an OBOM: the `%BASE%` of its local database entry, the pkgbase the package was built from, from the `source` column of osquery's `pacman_packages` | Names the source package of a split package, which Arch advisories are keyed by | Context only | | `cdx:macports:variants` | component | string | `+quartz+universal` | On a MacPorts port found by an OBOM: the variants it was built with, from `macports_packages` | Two builds of one port with different variants are different software | Context only | | `cdx:macports:requested` | component | string | `1`, `0` | On a MacPorts port found by an OBOM: `1` when the port was installed on request, `0` when it came in as a dependency | Tells the ports someone chose from the ones that came with them | Context only | | `cdx:snap:type` | component | string | `app`, `base`, `kernel`, `gadget`, `snapd` | On a snap found by an OBOM, from the `type` column of `snap_packages` | Tells applications from the base and kernel snaps they run on | Context only | | `cdx:snap:revision` | component | string | `42`, `1981` | On a snap found by an OBOM: the store revision installed now. Only the current revision is listed | Names the exact build the store shipped, which the version alone does not | Context only | | `cdx:snap:channel` | component | string | `latest/stable`, `24/edge` | On a snap found by an OBOM: the channel it tracks, from snapd's `state.json`; absent when osquery cannot read that file | Shows hosts that follow beta or edge channels | Context only | | `cdx:snap:confinement` | component | string | `strict`, `classic`, `devmode` | On a snap found by an OBOM, from the snap's `meta/snap.yaml` | A `devmode` snap runs without its sandbox being enforced, which `OBOM-LNX-023` flags | Context only | | `cdx:flatpak:displayName` | component | string | `Calculator` | On a flatpak found by an OBOM: the AppStream name. The component name is the application ID (`org.gnome.Calculator`) | Keeps the human-readable name next to the identifier the purl uses | Context only | | `cdx:flatpak:commit` | component | string | 64 hex characters | On a flatpak found by an OBOM: the OSTree commit of the active deployment | Pins the exact build, which two hosts on one version may not share | Context only | | `cdx:flatpak:origin` | component | string | `flathub`, `fedora` | On a flatpak found by an OBOM: the name of the remote it was installed from | Shows which repository a host trusts for each flatpak | Context only | | `cdx:flatpak:installation` | component | string | `system`, `user` | On a flatpak found by an OBOM: whether it is installed for the whole system or under a user's home | Separates what an administrator installed from what a user installed | Context only | | `cdx:flatpak:type` | component | string | `app`, `runtime` | On a flatpak found by an OBOM | Tells applications from the runtimes they share | Context only | | `cdx:flatpak:runtime` | component | string | `org.gnome.Platform/x86_64/48` | On a flatpak application found by an OBOM: the runtime it runs on | Links an application to the runtime whose libraries it uses | Context only | A JavaScript file referenced by a lifecycle hook that is larger than 4 MiB is not parsed. It is reported with the `oversized-file` value in `cdx:npm:lifecycleObfuscationIndicators`, so size alone does not keep a script out of review. #### High-value combinations - `cdx:npm:hasInstallScript=true` + `cdx:npm:isRegistryDependency=false` - `cdx:npm:native_addon=true` + platform constraints (`cdx:npm:cpu`, `cdx:npm:os`, `cdx:npm:libc`) - `cdx:npm:isLink=true` + `cdx:npm:resolvedPath` present + `cdx:npm:isWorkspace=false` - `cdx:npm:nameMismatchError` or `cdx:npm:versionMismatchError` present - `cdx:pypi:registry` non-allowlisted + unpinned `cdx:pypi:versionSpecifiers` - `cdx:pip:markers` present + incompatible `cdx:python:requires_python` - `cdx:gem:remote=git` + `cdx:gem:remoteBranch` without `cdx:gem:remoteRevision` - `cdx:gem:yanked=true` - `cdx:cargo:git` present + missing `cdx:cargo:gitRev` and `cdx:cargo:gitTag` - `cdx:cargo:path` present in release-oriented BOMs - `cdx:cargo:yanked=true` - `cdx:rust:buildTool=cargo` + `cdx:cargo:hasNativeBuild=true` - `cdx:cargo:workspaceDependencyResolved=true` + `cdx:cargo:dependencyKind=build` - `cdx:rust:buildTool=cargo` + `cdx:cargo:hasNativeBuild=true` + Cargo workflow setup action not SHA pinned - `cdx:rust:buildTool=cargo` + `cdx:cargo:buildScriptCapabilities` includes `process-execution` or `network-access` + workflow runs `cargo build`, `cargo test`, `cargo package`, or `cargo publish` - `cdx:go:local_dir` present + repository policy forbids local replacement - `cdx:golem:securitySignalSeverity=high` + `cdx:golem:usageScopes` contains `runtime` - `cdx:golem:vendored=true` + missing or zero `cdx:golem:licenseFileCount` - `cdx:golem:localReplacement=true` + release or CI build context - `cdx:rusi:securitySignalSeverity=high` + `cdx:rusi:usageKind` contains runtime usage - `cdx:rusi:cryptoFindingSeverity=high` + `cdx:rusi:dataFlowCategories` contains sensitive data flows - `cdx:nix:ref` present without `cdx:nix:revision` or `cdx:nix:nar_hash` - `cdx:swift:localCheckoutPath` present + production release profile - `cdx:pods:projectDir` present + remote podspec source mismatch - `cdx:collider:originScheme=http` - `cdx:collider:originSanitized=true` - `cdx:collider:hasWrapHash=false` or `cdx:collider:wrapHashInvalid=true` #### Golem Go Evinse evidence `cdx:golem:*` properties are emitted by `evinse -l go` when the `golem` helper is available. They are intentionally split between the root metadata component, the analyzed Go application component, dependency components, and rendered `cryptographic-asset` components. Use metadata-level values to judge the evidence run: tool version, call graph/data-flow modes, file/module counts, generated file counts, native artifact counts, security signal totals, build directive kinds, Go directive version, toolchain directive, workspace/vendor presence, and data-flow performance counters. Use component-level values to judge dependency posture: module path, Go version, usage scopes, occurrence evidence kinds, direct import status, symbol usage kind, local replacement status, vendoring, private module hints, license-file evidence, security signal category/severity, data-flow categories, crypto-flow flags, and call-stack/occurrence coverage. Use crypto-asset values to judge CBOM pivots: source symbol, usage scope, strength, source location, algorithm OID, protocol type/version, or related crypto material type. cdxgen intentionally does not assign purls to `cryptographic-asset` components. These properties are safe for policy because they are small values, counts, categories, source locations, and module facts. They do not copy Go generator commands, environment values, HTTP parameter values, raw key material, plaintext, ciphertext, embedded file contents, generated file contents, or secrets into the BOM. Source file names and private module paths can still reveal internal structure, so review an enriched BOM before sharing it outside the organization. The built-in BOM audit categories `golem-security`, `golem-performance`, and `golem-compliance` use these properties directly. In `cdxi`, use `.golemsummary`, `.golemhotspots`, and `.golemcoverage` to inspect the same evidence interactively. ##### Golem metadata-level inventory | Property | Meaning | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------- | | `cdx:golem:toolVersion` | Golem helper version. | | `cdx:golem:callGraphMode` | Main call graph mode (`none`, `static`, `cha`, `rta`, `vta`). | | `cdx:golem:dataFlowMode` | Data-flow mode (`none`, `security`, `crypto`, `all`). | | `cdx:golem:dataFlowCallGraphMode` | Call graph mode used for data-flow dynamic summary replay. | | `cdx:golem:noRecurse`, `cdx:golem:includeAllFlows` | Effective recursive child-module discovery and module-cache-only flow filtering defaults. | | `cdx:golem:dataFlowPacks` | Data-flow pattern packs used for the run. | | `cdx:golem:packageCount`, `cdx:golem:moduleCount`, `cdx:golem:fileCount` | Project size counters. | | `cdx:golem:generatedFileCount`, `cdx:golem:generatorKinds` | Generated source counters and safe generator categories. | | `cdx:golem:importCount`, `cdx:golem:declarationCount`, `cdx:golem:usageCount` | Import, declaration, and typed usage counters. | | `cdx:golem:runtimeUsageCount`, `cdx:golem:testUsageCount`, `cdx:golem:benchmarkUsageCount`, `cdx:golem:fuzzUsageCount`, `cdx:golem:exampleUsageCount` | Usage-scope counters. | | `cdx:golem:buildDirectiveCount`, `cdx:golem:buildDirectiveKinds`, `cdx:golem:goGenerateCount`, `cdx:golem:goEmbedCount` | Build directive and safe directive-kind summaries. | | `cdx:golem:nativeArtifactCount`, `cdx:golem:nativeArtifactKinds` | cgo, native source/object, assembly, and related sidecar summaries. | | `cdx:golem:securitySignalCount`, `cdx:golem:securitySignalCategories`, `cdx:golem:securitySignalSeverities` | Security-sensitive API signal summaries. | | `cdx:golem:diagnosticCount` | Golem diagnostic count. | | `cdx:golem:goDirectiveVersion`, `cdx:golem:toolchainDirective`, `cdx:golem:goWorkPresent` | Go module/workspace toolchain facts. | | `cdx:golem:goModReplaceCount`, `cdx:golem:goModExcludeCount`, `cdx:golem:replaceModule`, `cdx:golem:replaceTargetPathKind`, `cdx:golem:localReplacementPresent`, `cdx:golem:excludeModule` | Replace/exclude directive summaries. | | `cdx:golem:vendorDirectoryPresent`, `cdx:golem:vendorModuleCount`, `cdx:golem:workspaceModuleCount` | Vendor and workspace summaries. | | `cdx:golem:privateModuleHintCount`, `cdx:golem:licenseFileModuleCount` | Private-module and license-file evidence counters. | | `cdx:golem:callGraphNodeCount`, `cdx:golem:callGraphEdgeCount` | Main call graph size counters. | | `cdx:golem:dataFlowSourceCount`, `cdx:golem:dataFlowSinkCount`, `cdx:golem:dataFlowSliceCount` | Data-flow source/sink/slice counters. | | `cdx:golem:dataFlowNodeCount`, `cdx:golem:dataFlowEdgeCount`, `cdx:golem:dataFlowSummaryCount` | Data-flow graph and summary counters. | | `cdx:golem:dataFlowCandidateFunctionCount`, `cdx:golem:dataFlowFunctionCount`, `cdx:golem:dataFlowSkippedFunctionCount`, `cdx:golem:dataFlowInstructionCount` | SSA/function materialization counters. | | `cdx:golem:dataFlowWorkerCount`, `cdx:golem:dataFlowElapsedMillis` | Performance counters for data-flow runs. | | `cdx:golem:dataFlowUniqueFlowCount`, `cdx:golem:dataFlowDuplicateSliceCount`, `cdx:golem:dataFlowDuplicateGroupCount`, `cdx:golem:dataFlowMaxPathLength` | Data-flow deduplication and trace-size counters. | | `cdx:golem:dataFlowSanitizedSliceCount`, `cdx:golem:dataFlowTruncated`, `cdx:golem:dataFlowTruncationReasons` | Sanitization and truncation summaries. | | `cdx:golem:cryptoLibraryCount`, `cdx:golem:cryptoAssetCount`, `cdx:golem:cryptoOperationCount`, `cdx:golem:cryptoMaterialCount`, `cdx:golem:cryptoProtocolCount`, `cdx:golem:cryptoFindingCount` | Crypto evidence counters. | | `cdx:golem:cryptoAlgorithms`, `cdx:golem:cryptoMaterialTypes`, `cdx:golem:cryptoProtocols` | Crypto evidence summaries. | | `cdx:golem:cryptoDataFlowCount` | Total crypto-related data-flow slices attached to components. | | `cdx:golem:cgoMode`, `cdx:golem:cgoToolchainVersion`, `cdx:golem:cgoToolchainPatched` | The `CGO_ENABLED` the golem load ran with (`disabled` unless the environment stated a choice), the toolchain it answered from, and whether that toolchain carries the go1.26.11/go1.27.4 cgo flag checks. | | `cdx:golem:cgoEnvOverrideNames` | Names of `CGO_*_ALLOW` / `CGO_*FLAGS` variables in the load environment; each `_ALLOW` one widens the toolchain's flag checks for every package. Values are never reported. | | `cdx:golem:cgoRiskyFlags`, `cdx:golem:cgoRiskCategories` | Sorted unique cgo flag NAMES (e.g. `--sysroot`) and risk categories (`refused-by-go1.27.4`, `path-escape`, `module-path`, `cgo-directive-in-source`, `invalid-object`) across the analysed tree. | | `cdx:golem:cgoPackageCount`, `cdx:golem:cgoFileCount`, `cdx:golem:cgoDirectiveCount`, `cdx:golem:cgoRiskyFlagCount` | cgo evidence counters: packages crossing into C, files importing "C", `#cgo` and `//go:cgo_*` directives, distinct risky flag names. | | `cdx:golem:cgoPkgConfigCount`, `cdx:golem:cgoSysoCount`, `cdx:golem:cgoSysoInvalidCount`, `cdx:golem:cgoUnloadedPackageCount` | `pkg-config` directive count, `.syso` inputs classified, how many were not valid objects or archives, and packages seen only textually because cgo was off. | ##### Golem component-level inventory | Property | Meaning | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `cdx:golem:modulePath`, `cdx:golem:goVersion`, `cdx:golem:mainModule` | Go module identity and toolchain facts. | | `cdx:golem:replacementModule`, `cdx:golem:localReplacement` | Replacement target and local replacement signal. | | `cdx:golem:vendored`, `cdx:golem:privateModuleCandidate`, `cdx:golem:licenseFileCount`, `cdx:golem:licenseFiles` | Vendor/private/license evidence. | | `cdx:golem:usageScopes`, `cdx:golem:usageScope`, `cdx:golem:testOnly` | Runtime/test/benchmark/fuzz/example usage posture. | | `cdx:golem:UsageCount` | Per-scope counters, where `` is `runtime`, `test`, `benchmark`, `fuzz`, or `example`. | | `cdx:golem:occurrenceEvidenceKinds` | Source of occurrence evidence, such as `import`, `symbolCall`, `symbolReference`, or `dataFlowSlice`. | | `cdx:golem:OccurrenceCount` | Per-kind occurrence counters, including `importOccurrenceCount`, `symbolCallOccurrenceCount`, `symbolReferenceOccurrenceCount`, and `dataFlowSliceOccurrenceCount`. | | `cdx:golem:importDirect`, `cdx:golem:importAliasKind` | Import evidence details. | | `cdx:golem:symbolKind`, `cdx:golem:usageKind` | Typed symbol usage details. | | `cdx:golem:securitySignalCategory`, `cdx:golem:securitySignalSeverity` | Component-level security signal classification. | | `cdx:golem:dataFlowCategories`, `cdx:golem:dataFlowRuleId`, `cdx:golem:dataFlowSeverity`, `cdx:golem:dataFlowConfidence`, `cdx:golem:dataFlowTaintKinds`, `cdx:golem:dataFlowSliceCount` | Component-level data-flow classification and count. | | `cdx:golem:cryptoDataFlow`, `cdx:golem:cryptoDataFlowCategories`, `cdx:golem:cryptoDataFlowRuleId`, `cdx:golem:cryptoDataFlowTaintKinds`, `cdx:golem:cryptoDataFlowCount` | Crypto-specific data-flow classification and count. | | `cdx:golem:cryptoOperationType`, `cdx:golem:cryptoAlgorithm`, `cdx:golem:cryptoFinding`, `cdx:golem:cryptoFindingSeverity` | Crypto operation and finding pivots attached to owning Go modules. | | `cdx:golem:service:framework`, `cdx:golem:service:kind`, `cdx:golem:service:scheme`, `cdx:golem:service:host`, `cdx:golem:service:package` | Service (`services[]`) facts for the servers golem found: the framework routes were registered with, the kind of server, and its scheme, host, and Go package. The host is the address a listener binds, the host of an outbound service, or the host a Go 1.22 net/http pattern such as `GET example.com/items` names. | ##### Golem crypto-asset inventory | Property | Meaning | | --------------------------------- | ------------------------------------------------------------------ | | `cdx:golem:crypto:sourceLocation` | Source file, line, and column where the crypto asset was detected. The file is named relative to the analyzed directory, as `@/` for a file of another module, or by its base name otherwise. | | `cdx:golem:crypto:strength` | Conservative strength classification from Golem. | | `cdx:golem:crypto:symbol` | Safe symbol name associated with the crypto asset. | | `cdx:golem:crypto:usageScope` | Usage scope associated with the crypto asset. | #### Rusi Rust Evinse evidence `cdx:rusi:*` properties are emitted by `evinse -l rust` when the `rusi` helper is available. They are intentionally split between the root metadata component, the analyzed Rust application component, dependency components, and rendered `cryptographic-asset` components. Use metadata-level values to judge the evidence run: tool version, rustc/cargo versions, call graph/data-flow modes, package/file/import/usage counts, crypto library/finding counts, and data-flow graph sizes. Use component-level values to judge dependency posture: import paths/aliases, usage kinds, data-flow categories/rules/slice counts, security signal categories/severities, and crypto finding categories/severities. Use crypto-asset values to judge CBOM pivots: source symbol, provider, operation, function, confidence, and source location. cdxgen intentionally does not assign purls to `cryptographic-asset` components. These properties are safe for policy because they are small values, counts, categories, source locations, and module facts. They do not copy Rust generator commands, environment values, HTTP parameter values, raw key material, plaintext, ciphertext, embedded file contents, generated file contents, or secrets into the BOM. Source file names and private module paths can still reveal internal structure, so review an enriched BOM before sharing it outside the organization. ##### Rusi metadata-level inventory | Property | Meaning | | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | | `cdx:rusi:schemaVersion` | Rusi report schema version. | | `cdx:rusi:toolVersion` | Rusi helper version. | | `cdx:rusi:rustcVersion`, `cdx:rusi:cargoVersion`, `cdx:rusi:host` | Rust toolchain and host environment facts. | | `cdx:rusi:backend` | Backend that produced the evidence. `compiler` only when compiler evidence was collected, otherwise `stable`. | | `cdx:rusi:requestedBackend` | Backend that was requested, present only when rusi fell back to a different one. | | `cdx:rusi:analysisScope` | Analysis configuration facts. | | `cdx:rusi:callGraphMode`, `cdx:rusi:dataFlowMode` | Call graph and data-flow modes used. | | `cdx:rusi:packageCount`, `cdx:rusi:fileCount`, `cdx:rusi:importCount`, `cdx:rusi:declarationCount`, `cdx:rusi:usageCount` | Project size and usage counters. | | `cdx:rusi:securitySignalCount` | Security-sensitive API signal summary. | | `cdx:rusi:cryptoLibraryCount`, `cdx:rusi:cryptoComponentCount`, `cdx:rusi:cryptoFindingCount` | Crypto evidence counters. | | `cdx:rusi:callGraphNodeCount`, `cdx:rusi:callGraphEdgeCount` | Call graph size counters. | | `cdx:rusi:dataFlowNodeCount`, `cdx:rusi:dataFlowEdgeCount`, `cdx:rusi:dataFlowSliceCount` | Data-flow graph and slice counters. | ##### Rusi component-level inventory | Property | Meaning | | ----------------------------------------------------------------------------------------- | ------------------------------------------------------ | | `cdx:rusi:importPath`, `cdx:rusi:importAlias` | Import evidence details. | | `cdx:rusi:importedBy` | purl of the package whose source imports this crate. | | `cdx:rusi:usageKind` | Typed symbol usage details. | | `cdx:rusi:dataFlowCategories`, `cdx:rusi:dataFlowRuleName`, `cdx:rusi:dataFlowSliceCount` | Component-level data-flow classification and count. | | `cdx:rusi:securitySignalCategory`, `cdx:rusi:securitySignalSeverity` | Component-level security signal classification. | | `cdx:rusi:cryptoFindingCategory`, `cdx:rusi:cryptoFindingSeverity` | Crypto finding pivots attached to owning Rust modules. | ##### Rusi crypto-asset inventory | Property | Meaning | | -------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | | `cdx:rusi:crypto:sourceLocation` | Source file and line where the crypto asset was detected. | | `cdx:rusi:crypto:provider` | Crypto provider or library name. | | `cdx:rusi:crypto:operation` | Crypto operation type. | | `cdx:rusi:crypto:kind` | Detected asset kind as rusi reported it, kept because `cryptoProperties.algorithmProperties.primitive` accepts only the CycloneDX enum. | | `cdx:rusi:crypto:symbol` | Safe symbol name associated with the crypto asset. | | `cdx:rusi:crypto:function` | Function name for related crypto material. | | `cdx:rusi:crypto:confidence` | Confidence level of the crypto material detection. | #### Kosi Kotlin Evinse evidence `cdx:kosi:*` properties are emitted by `evinse -l kotlin` when the `kosi` helper is available. They are split between the root metadata component, dependency components, rendered `cryptographic-asset` components, and services. Use metadata-level values to judge the evidence run: helper and schema versions, the Kotlin version analysed, and the slice counters. Use component-level values to judge dependency posture: data-flow categories and rules, per-component slice counts, whether a flow crosses a dependency boundary, how complete the recorded trace is, and whether the component's evidence survived call-graph reachability from the roots. Use crypto-asset and service values to judge CBOM and API pivots: asset form and resolution, related-material function, crypto flow shape, service protocol/resolution/client library, and endpoint framework/handler/authentication/media types. These properties are counts, categories, symbol names, and media types. They do not copy key material, plaintext, ciphertext, request values, or source contents into the BOM. Handler names and internal package paths can still reveal internal structure, so review an enriched BOM before sharing it outside the organization. Data-flow findings also arrive as CycloneDX **callstack evidence**, not as a property: from kosi's per-slice `frames[]` when the report carries them (each frame naming its function, file and line, with its role — `source`, `move`, `call`, `return`, `dispatch`, `summary`, `sanitizer-not-applied`, `sink` — in the frame's `module` field, the same convention the older node-derived walk used for its node kind), and from the node walk for reports that predate them. ##### Kosi metadata-level inventory | Property | Meaning | | ------------------------------------ | -------------------------------------------------------------------- | | `cdx:kosi:schemaVersion` | Kosi report schema version. | | `cdx:kosi:toolVersion` | Kosi helper version. | | `cdx:kosi:kotlinVersion` | Kotlin version the analysis ran against. | | `cdx:kosi:sliceCount` | Total data-flow slices in the report. | | `cdx:kosi:crossDependencySliceCount` | Slices whose flow crosses a dependency boundary. | | `cdx:kosi:bytecodeSummariesApplied` | Dependency-tier bytecode summaries applied during taint propagation. | ##### Kosi run-completeness inventory These say how much of the project kosi actually read. Without them a BOM produced from a half-analysed repository is indistinguishable from one produced from a fully-analysed repository, which is the difference that decides whether an empty result is a measurement or a silence. | Property | Meaning | | ------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `cdx:kosi:degraded` | Present only when kosi does not trust its own counts. `no-jdk`: the resolved tier attached no JDK, so every `java.*` symbol resolved to nothing — a native binary has no `java.home` of its own and falls back to `JAVA_HOME`, the `java` launcher on `PATH`, then the conventional install roots. `kotlin-version`: a language-version mismatch coincided with heavy resolution fallout. Either way the counts below describe the run, not the code. | | `cdx:kosi:sourceCoverageDiscovered` | Source files discovery collected. | | `cdx:kosi:sourceCoveragePresent` | Source files present under the analysed root, under the same exclusion policy. | | `cdx:kosi:sourceCoverageTestPresent` | How many of those sit under a test directory. A source root is a MAIN source root, so test files are present-but-not-sought. | | `cdx:kosi:sourceCoverageRatio` | `discovered / present` — what is on disk. | | `cdx:kosi:sourceCoverageNonTestRatio` | `discovered` against the non-test files only. This is the ratio that measures DISCOVERY, and the one kosi's `source-coverage-gap` diagnostic fires on. | | `cdx:kosi:diagnostic:` | One per kosi diagnostic code, valued with the summed population it affected (per-file entries aggregate). The vocabulary is kosi's `JSON_ATTRIBUTE_REFERENCE.md`. | | `cdx:kosi:securitySignalCount` | Non-flow findings in the report. Counted here as well as attached per component, because a cinterop `.def` file carries no purl — it is not a module source — and would otherwise vanish between the report and the BOM. | | `cdx:kosi:securitySignal` | One per distinct signal code present in the report. | | `cdx:kosi:diagnosticErrors` | Comma-separated codes whose severity was `error` — a piece of the analysis is ABSENT from the report (the call graph crashed, a file could not be read), not merely imperfect. Absent when every diagnostic was a warning. | ##### Kosi component-level inventory | Property | Meaning | | --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `cdx:kosi:dataFlowCategories` | Source/sink categories of the slices attached to this component. | | `cdx:kosi:dataFlowRuleName` | Name of the rule that produced the slice. | | `cdx:kosi:dataFlowSliceCount` | Slices attached to this component. | | `cdx:kosi:crossesDependency` | `true` when at least one slice crosses a dependency boundary. | | `cdx:kosi:pathKind` | How complete the recorded trace is: `complete`, `partial`, or `symbol-only`. | | `cdx:kosi:reachableFromRoots` | `true` when the component's evidence survived intersection with call-graph reachability from the declared roots; absent means not measured. | | `cdx:kosi:cryptoFlow` | `sourceCategory->sinkCategory` of a crypto-relevant flow attached to this component. | | `cdx:kosi:securitySignalCode` | A non-flow finding kosi attaches to this component. The vocabulary is closed; `native-interop` (a JNI seam, a resolved `loadLibrary` binding site, or a cinterop `.def` file) emits today. | | `cdx:kosi:securitySignalSeverity` | Severity of that code, from kosi's closed vocabulary. Absent for a code this cdxgen release does not know, which is published with its code rather than dropped. | | `cdx:kosi:securitySignalSymbol` | The symbol the signal attaches to — the `external fun`, or the function containing the `loadLibrary` call. | ##### Kosi crypto-asset inventory | Property | Meaning | | ---------------------------- | ------------------------------------------------------------------------- | | `cdx:kosi:crypto:form` | How the algorithm was expressed at the call site, such as a literal. | | `cdx:kosi:crypto:resolution` | How the algorithm name was resolved (constant fold, literal, unresolved). | | `cdx:kosi:crypto:function` | Function name associated with related cryptographic material. | ##### Kosi service and endpoint inventory | Property | Meaning | | ---------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `cdx:kosi:service:protocol` | Protocol of an outbound service call. | | `cdx:kosi:service:resolution` | How the service target was resolved (literal, config, unresolved). | | `cdx:kosi:service:clientLibrary` | Client library the outbound call uses. | | `cdx:kosi:service:location` | `path:line:column` of a call site for this service, one property per site. The same locations are also published as `services[].evidence.occurrences[]`, which spec-version compatibility strips below CycloneDX 2.0 — this property is where they survive at 1.6 and 1.7. | | `cdx:kosi:service:enclosingSymbol` | The function each call site sits in, from kosi's `urls[]`. A service reached from three places carries three of these. | | `cdx:kosi:service:urlResolution` | How the URL at a call site was resolved (`literal`, `folded`, `config`, `env`, `unresolved`). Distinct from `cdx:kosi:service:resolution`, which is the service target's resolution as a whole. | | `cdx:kosi:endpoint:framework` | Framework that declares the inbound endpoint. | | `cdx:kosi:endpoint:handler` | Handler symbol or canonical name serving the endpoint. | | `cdx:kosi:endpoint:authentication` | Authentication scheme required by the endpoint. | | `cdx:kosi:endpoint:consumes` | Media types the endpoint accepts. | | `cdx:kosi:endpoint:produces` | Media types the endpoint returns. | | `cdx:kosi:endpoint:substantiated` | Present, and only ever `false`, when kosi read NONE of the code behind this endpoint — an Android manifest component whose class is not among the analysed declarations (a library component, or a run that discovered no sources). The endpoint is still published, because the manifest declares it; absence of the property means the handler was read. | #### Scalasem Scala semantic evidence Emitted by `evinse -l scala` and `cdxgen --evidence` for every Scala project type, from the scalasem report of `@appthreat/atom-parsetools`. Run context, on the metadata component: | Property | Meaning | | -------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `cdx:scalasem:schemaVersion` | Report schema version, `scalasem/2`. | | `cdx:scalasem:factsSource` | Which readers produced the facts, `tasty` or `semanticdb`, comma separated. | | `cdx:scalasem:compilerSource` | Where the compilers came from, such as `sbt`, comma separated. | | `cdx:scalasem:scalaVersions` | Scala releases the modules were compiled with, comma separated. | | `cdx:scalasem:platforms` | Platforms the project builds for: `jvm`, `js`, `native`. | | `cdx:scalasem:filesAnalyzed` | Number of source files the report covers. | | `cdx:scalasem:degraded` | `true` when the report is truncated or the run has any diagnostic. | | `cdx:scalasem:diagnostic:` | Count per diagnostic code: the codes a degraded report carries, and the ones a run that fell short adds (`scalasem-missing`, `scalasem-not-runnable`, `scalasem-timeout`, `scalasem-no-report`, `scalasem-invalid-report`, `scalasem-old-report`, `scalasem-exit-status`). A Scala run never ends with no evidence and no explanation. The informational counts `unresolved-symbols` and `stale-output` are left out, since a healthy run carries them. | | `cdx:scalasem:jsModules` | JavaScript modules the Scala.js facades import that no npm component covers, comma separated. | Per component: | Property | Meaning | | --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | | `cdx:scalasem:usageScopes` | `main`, `generated`, `test`, comma separated, for the scopes of the sources this component is used from. | | `cdx:scalasem:platforms` | Platforms of the files that use this component. | | `cdx:scalasem:callSites` | How many calls into this component the report holds, whatever the occurrence cap kept. | | `cdx:scalasem:cryptoAlgorithms` | Algorithm the providing library was found to generate, one per algorithm. | | `cdx:scalasem:crypto:` | A crypto finding without a registry OID, as `name@file#line`, on the providing component or the project component for JDK APIs. | | `cdx:scalasem:crypto:weakFinding` | The same `name@file#line` for such a finding that is weak, since no asset carries the verdict. | | `cdx:scalasem:jsModule` | JavaScript module this npm component was imported as, one per module. | On crypto assets: | Property | Meaning | | ------------------------------------ | -------------------------------------------------------------------------------------------------------- | | `cdx:scalasem:crypto:resolution` | How the algorithm name was resolved (literal, constant, argument, inline, unresolved). | | `cdx:scalasem:crypto:api` | API family of the call site, such as `JCA`, `BouncyCastle` or `WebCrypto`. | | `cdx:scalasem:crypto:provider` | Library or runtime the algorithm comes from. | | `cdx:scalasem:crypto:weak` | `true` for a weak algorithm, mode or key size. | | `cdx:scalasem:usageScopes` | Scopes of the sources the algorithm is used from: `main`, `generated` or `test`, one property per scope. | | `cdx:scalasem:crypto:nativeFunction` | The C function a Scala Native binding or call resolves to. | | `cdx:scalasem:crypto:nativeLibrary` | The native library that function comes from, such as `crypto`. | | `cdx:scalasem:crypto:gcmTagBits` | GCM tag length in bits, where the source sets one. | On services: | Property | Meaning | | --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `cdx:scalasem:service:kind` | `http-client`, `websocket`, `datastore`, `messaging` or `cloud`. | | `cdx:scalasem:service:client` | Client library of the outbound call. | | `cdx:scalasem:service:resolution` | How the target was resolved (literal, constant, config, interpolated, unresolved). | | `cdx:scalasem:service:location` | `file#line` of a call site (outbound) or declaration (inbound), one property per site. The same locations are `services[].evidence.occurrences[]`, which spec-version compatibility keeps only at CycloneDX 2.0, so this property is how the locations reach a 1.6 or 1.7 BOM. | | `cdx:scalasem:endpoint:framework` | Framework that declares the inbound endpoint. | | `cdx:scalasem:endpoint:handler` | Handler method serving the endpoint. | #### Dosai .NET reachability confidence `cdx:dosai:reachability:*` properties are emitted by `evinse -l dotnet` from dosai's `PackageReachability`. They qualify the occurrence and callstack evidence on the same component: how the package was found to be reachable, and how much the finding is worth. This matters most for a tree that was never built. Dosai binds .NET source against the assemblies it can find, so an unbuilt checkout can leave call sites unresolved and fall back to dependency-only reachability. Without these properties that outcome looks identical to a package that really is only imported and never called. Read `confidence` together with `evidence`: `SourceRoslynDirect` or `AssemblyIlDirect` at `High` is a bound call, while `SourceUnresolved` at `Low` means the call site was seen in source but its target assembly was missing, and `reasons` says so in words. Restoring or building the project before the scan is what raises it. These properties are enum values and short explanatory sentences produced by dosai. They do not copy source contents into the BOM. | Property | Meaning | | ----------------------------------- | ------------------------------------------------------------------------------------------------------------------- | | `cdx:dosai:reachability:kind` | How the package was reached (for example `ExternalCallGraphNode`, `Dependency`). | | `cdx:dosai:reachability:confidence` | Dosai's confidence in the finding (`High`, `Medium`, `Low`). | | `cdx:dosai:reachability:evidence` | Comma-separated evidence kinds behind it (for example `SourceRoslynDirect`, `ExternalSummary`, `SourceUnresolved`). | | `cdx:dosai:reachability:reasons` | Pipe-separated explanations of why the confidence is what it is. | #### Example payload fragments **npm / pnpm execution risk** ```json { "name": "example-pkg", "version": "1.0.0", "purl": "pkg:npm/example-pkg@1.0.0", "properties": [ { "name": "cdx:npm:hasInstallScript", "value": "true" }, { "name": "cdx:npm:risky_scripts", "value": "postinstall" }, { "name": "cdx:npm:isRegistryDependency", "value": "false" }, { "name": "cdx:npm:resolvedPath", "value": "file:../local-pkg" } ] } ``` **Nix reproducibility evidence** ```json { "name": "nixpkgs", "purl": "pkg:nix/nixos/nixpkgs@24.05", "properties": [ { "name": "cdx:nix:input_url", "value": "github:nixos/nixpkgs/nixos-24.05" }, { "name": "cdx:nix:revision", "value": "1234567890abcdef1234567890abcdef12345678" }, { "name": "cdx:nix:nar_hash", "value": "sha256-abc123..." }, { "name": "cdx:nix:ref", "value": "nixos-24.05" } ] } ``` #### Alias and overlap notes - Prefer `cdx:npm:isWorkspace`, but match **both** `cdx:npm:isWorkspace` and `cdx:npm:is_workspace` in policies for compatibility. - `cdx:npm:bin/` keys are internal analyzer evidence labels, not emitted BOM component properties. They are produced when source/config analysis sees a package-manager wrapper invoke a command, such as `npx license-report` or `pnpm dlx @angular/cli`. During BOM construction, cdxgen matches those command labels against emitted package metadata such as `cdx:npm:bin` and `cdx:npm:binPaths`; when they match, the owning package is treated as used and can be marked `scope: "required"` without hardcoding a package-name allowlist. - `cdx:pip:structuredMarkers` is the more machine-friendly companion to `cdx:pip:markers`; when both exist, parse the JSON string and prefer the structured form for policy logic, while keeping the raw form for explainability. - `cdx:gem:remoteBranch` and `cdx:gem:remoteTag` are weaker, mutable source indicators than `cdx:gem:remoteRevision`. - There is no `cdx:gem:platform` property. RubyGems models the version and the native platform separately, so the platform is emitted as the `platform` purl qualifier, for example `pkg:gem/nokogiri@1.16.7?platform=x86_64-linux`. A policy can read it with `$substringAfter(purl, 'platform=')`, and the absence of the qualifier means the implied default platform `ruby`. - `cdx:nix:ref` is descriptive context; use `cdx:nix:revision` and `cdx:nix:nar_hash` as the stronger reproducibility gates. ### AI / model artifact inventory #### Authoritative grouped index - **AI model and service inventory:** `cdx:ai:artifactFormat`, `cdx:ai:confidence`, `cdx:ai:contextWindow`, `cdx:ai:deployment`, `cdx:ai:kind`, `cdx:ai:modelCount`, `cdx:ai:modelFamily`, `cdx:ai:modelId`, `cdx:ai:modelSelection`, `cdx:ai:modality`, `cdx:ai:parameterCount`, `cdx:ai:provider`, `cdx:ai:quantization`, `cdx:ai:reviewNeeded`, `cdx:ai:runtime`, `cdx:ai:source`, `cdx:ai:transportSecurity`, `cdx:ai:variant` - **Hugging Face remote/runtime metadata:** `cdx:huggingface:downloads`, `cdx:huggingface:downloadsAllTime`, `cdx:huggingface:likes`, `cdx:huggingface:likesRecent`, `cdx:huggingface:gated`, `cdx:huggingface:private`, `cdx:huggingface:disabled`, `cdx:huggingface:fileCount`, `cdx:huggingface:libraryName`, `cdx:huggingface:spaceCount`, `cdx:huggingface:inferenceProvider`, `cdx:huggingface:inferenceProviderCount`, `cdx:huggingface:inferenceStatus`, `cdx:huggingface:inferenceTask`, `cdx:huggingface:previewable`, `cdx:huggingface:viewer`, `cdx:huggingface:papersWithCodeId`, `cdx:huggingface:taskCategory`, `cdx:huggingface:taskId`, `cdx:huggingface:sdk`, `cdx:huggingface:subdomain`, `cdx:huggingface:runtimeStage`, `cdx:huggingface:sdkVersion`, `cdx:huggingface:runtimeHardwareCurrent`, `cdx:huggingface:runtimeHardwareRequested`, `cdx:huggingface:modelCount`, `cdx:huggingface:datasetCount` - **GGUF artifact metadata:** `cdx:gguf:alignment`, `cdx:gguf:basename`, `cdx:gguf:bosTokenId`, `cdx:gguf:chatTemplateDetected`, `cdx:gguf:chatTemplateLength`, `cdx:gguf:datasetCount`, `cdx:gguf:eosTokenId`, `cdx:gguf:finetune`, `cdx:gguf:formatVersion`, `cdx:gguf:huggingFaceTokenizer`, `cdx:gguf:language`, `cdx:gguf:metadataCount`, `cdx:gguf:paddingTokenId`, `cdx:gguf:quantizationVersion`, `cdx:gguf:quantizedBy`, `cdx:gguf:separatorTokenId`, `cdx:gguf:shard`, `cdx:gguf:shardCount`, `cdx:gguf:shardIndex`, `cdx:gguf:sidecar`, `cdx:gguf:sizeLabel`, `cdx:gguf:tensorCount`, `cdx:gguf:tokenizerAddedTokenCount`, `cdx:gguf:tokenizerMergeCount`, `cdx:gguf:tokenizerModel`, `cdx:gguf:tokenizerScoreCount`, `cdx:gguf:tokenizerTokenCount`, `cdx:gguf:tokenizerTokenTypeCount`, `cdx:gguf:type`, `cdx:gguf:unknownTokenId` - **ONNX artifact metadata:** `cdx:onnx:irVersion`, `cdx:onnx:producer`, `cdx:onnx:producerVersion`, `cdx:onnx:domain`, `cdx:onnx:opsets`, `cdx:onnx:metadataPropsCount`, `cdx:onnx:metadataKeys`, `cdx:onnx:externalData`, `cdx:onnx:externalDataFileCount` (all on the artifact file component) #### Compact operational reference | Key | Scope | Value type | Typical values | When emitted | Why it matters | Policy readiness | | ------------------------------------------------------------------------------------------------------------------------------- | ----------------------- | --------------- | ----------------------------------------- | ------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ---------------- | | `cdx:ai:artifactFormat` | model component | enum string | `gguf`, `modelfile` | When AI inventory finds a local model artifact or config | Separates direct local artifacts from source-only model references | Warning / triage | | `cdx:ai:quantization` | model component | enum string | `Q5_K_M`, `Q4_K_M`, `BF16`, `F16` | When GGUF metadata or artifact naming reveals the weight encoding | Useful for capacity planning, local-runtime fit, and AI-BOM performance rules | Warning / triage | | `cdx:ai:contextWindow` | model component | number string | `8192`, `32768` | When a model artifact or config declares an explicit context length | High-signal governance and performance pivot for overly large local models | Warning / triage | | `cdx:ai:deployment` | service | enum string | `remote`, `local`, `implicit` | When cdxgen observes inference endpoints or local runtimes | Separates SaaS-hosted inference from local-only deployments | Warning / triage | | `cdx:ai:transportSecurity` | service | enum string | `https`, `insecure-http`, `local-only` | When service endpoints are present | Useful for blocking insecure remote AI integrations | Hard deny | | `cdx:ai:reviewNeeded` | model component/service | boolean string | `"true"` | When local-only inference, Ollama discovery, or other human-review cues are present | One-bit reviewer hint that an AI finding deserves manual inspection | Warning / triage | | `cdx:huggingface:downloadsAllTime` | remote model/dataset | number string | `67890`, `12337416` | When remote Hugging Face resolution is enabled and the API returns long-run download totals | Helpful governance signal for distinguishing niche/internal experiments from widely consumed hub artifacts | Warning / triage | | `cdx:huggingface:inferenceProvider`, `cdx:huggingface:inferenceStatus`, `cdx:huggingface:inferenceTask` | remote model | repeated string | `hf-inference`, `live`, `text-generation` | When the Hub advertises hosted inference backends for the model | Highlights hosted-inference exposure and clarifies whether the same repo is intended for local-only or managed serving | Warning / triage | | `cdx:huggingface:sdk`, `cdx:huggingface:runtimeStage`, `cdx:huggingface:sdkVersion` | remote space | enum/string | `gradio`, `RUNNING`, `5.0.0` | When a Hugging Face Space is resolved remotely | Makes Space runtime posture and deployment health visible to AI-BOM review | Warning / triage | | `cdx:huggingface:modelCount`, `cdx:huggingface:datasetCount` | remote space | number string | `1`, `2` | When a Space declares linked models or datasets | Useful for spotting multi-asset Spaces that should also receive dependency or governance review | Warning / triage | | `cdx:huggingface:gatedFieldCount`, `cdx:huggingface:gatedPromptCustomized` | modelCard properties | number/boolean | `1`, `"true"` | When a model card customizes gated-access prompts or requested fields | Signals that access is workflow- or compliance-mediated without copying the raw access form into the BOM | Warning / triage | | `cdx:gguf:sizeLabel` | model + file component | string | `7B`, `8x7B`, `3.8B-ContextLength4k` | When GGUF metadata or naming convention carries the size class | Preserves model-class evidence that is often visible in filenames but not otherwise machine-ready | Context only | | `cdx:gguf:sidecar` | model + file component | enum string | `mmproj`, `mtp` | When a GGUF filename follows the sidecar naming convention | Distinguishes auxiliary projector / draft-model artifacts from standalone model weights | Warning / triage | | `cdx:gguf:type` | model + file component | enum string | `LoRA`, `vocab` | When the GGUF naming convention declares a non-default artifact kind | Helps reviewers separate adapters and vocab-only files from normal tensor artifacts | Warning / triage | | `cdx:gguf:shard` | file component | string | `00001-of-00002` | When a GGUF artifact filename includes shard coordinates | Makes multi-file model layouts explicit and easier to verify during packaging and deployment | Context only | | `cdx:gguf:shardIndex` | file component | number string | `1`, `2` | When the shard marker is present | Lets policies reason about shard completeness without parsing the combined string | Context only | | `cdx:gguf:shardCount` | file component | number string | `2`, `9` | When the shard marker is present | Useful for completeness checks on distributed/sharded local model assets | Context only | | `cdx:gguf:alignment` | file component | number string | `32`, `64` | When `general.alignment` is present in GGUF metadata | Captures artifact-level GGUF layout details relevant to loader compatibility | Context only | | `cdx:gguf:formatVersion` | file component | number string | `3` | For parsed GGUF artifacts | Preserves the on-disk GGUF format version independently from the model's own version | Context only | | `cdx:gguf:quantizationVersion` | model + file component | number string | `2`, `4` | When GGUF metadata declares quantization-format versioning | Complements `cdx:ai:quantization` with the low-level GGUF quantization revision | Context only | | `cdx:gguf:tensorCount` | file component | number string | `291`, `842` | For parsed GGUF artifacts | Useful artifact-shape evidence for forensic comparison and packaging sanity checks | Context only | | `cdx:gguf:tokenizerModel` | model + file component | enum string | `llama`, `gpt2`, `rwkv` | When GGUF metadata declares the embedded tokenizer family | Helps reviewers understand tokenizer/runtime compatibility assumptions | Warning / triage | | `cdx:gguf:tokenizerTokenCount` | model + file component | number string | `32000`, `128256` | When GGUF metadata includes `tokenizer.ggml.tokens` | Useful tokenizer-shape evidence without embedding the raw vocabulary | Context only | | `cdx:gguf:tokenizerScoreCount` | model + file component | number string | `32000` | When GGUF metadata includes tokenizer score arrays | Sanity-checks tokenizer completeness without copying score payloads | Context only | | `cdx:gguf:tokenizerTokenTypeCount` | model + file component | number string | `32000` | When GGUF metadata includes tokenizer token-type arrays | Highlights partial tokenizer exports or executor-compatibility mismatches | Context only | | `cdx:gguf:tokenizerMergeCount` | model + file component | number string | `50000` | When GGUF metadata includes BPE merge rules | Preserves tokenizer-shape evidence without exposing the merge list | Context only | | `cdx:gguf:tokenizerAddedTokenCount` | model + file component | number string | `1`, `12` | When GGUF metadata includes added tokens | Highlights tool/chat/vendor tokenizer extensions | Warning / triage | | `cdx:gguf:huggingFaceTokenizer` | model + file component | boolean string | `"true"` | When GGUF metadata embeds a Hugging Face tokenizer JSON | Distinguishes GGML-only tokenization from artifacts carrying a higher-fidelity HF tokenizer | Warning / triage | | `cdx:gguf:chatTemplateDetected` | model + file component | boolean string | `"true"` | When GGUF metadata embeds `tokenizer.chat_template` | High-signal hint that the model expects chat-style prompt framing | Warning / triage | | `cdx:gguf:chatTemplateLength` | model + file component | number string | `128`, `512` | When a GGUF chat template is present | Preserves a safe derivative of the prompt contract without copying the raw template | Context only | | `cdx:gguf:bosTokenId`, `cdx:gguf:eosTokenId`, `cdx:gguf:unknownTokenId`, `cdx:gguf:separatorTokenId`, `cdx:gguf:paddingTokenId` | model + file component | number string | `0`, `1`, `2` | When GGUF metadata declares tokenizer special-token IDs | Useful tokenizer compatibility pivots for runtimes and prompt-packaging workflows | Context only | | `cdx:gguf:language` | model + file component | repeated string | `en`, `fr`, `ja` | When GGUF metadata declares supported languages | Preserves multilingual capability hints without overloading standard CycloneDX fields | Context only | | `cdx:gguf:datasetCount` | model + file component | number string | `1`, `3` | When GGUF metadata includes `general.datasets` | Quick governance signal that training/evaluation datasets were declared in the artifact metadata | Context only | | `cdx:onnx:irVersion`, `cdx:onnx:producer`, `cdx:onnx:producerVersion`, `cdx:onnx:domain`, `cdx:onnx:opsets` | file component | enum/string | `9`, `pytorch`, `2.4.0`, `ai.onnx:17` | When an ONNX file's protobuf header validates, read without loading tensors | Ties the artifact file to the exporting toolchain and operator sets, supporting provenance review when absent (rule AIS-004) | Context only | #### High-value combinations - `cdx:ai:artifactFormat=gguf` + `cdx:ai:deployment=local` - `cdx:ai:contextWindow` above internal review thresholds + `cdx:ai:reviewNeeded=true` - `cdx:huggingface:gated=true` + `cdx:huggingface:gatedFieldCount` present - `cdx:huggingface:runtimeStage=RUNNING` + `cdx:huggingface:modelCount>0` on a Space component - `cdx:huggingface:downloadsAllTime` high + `cdx:ai:quantization` missing on a large local derivative - `cdx:gguf:chatTemplateDetected=true` + `cdx:gguf:tokenizerAddedTokenCount>0` - `cdx:gguf:huggingFaceTokenizer=true` + `cdx:gguf:tokenizerModel=llama` - `cdx:gguf:sidecar=mmproj` + missing corresponding base-model dependency or deployment documentation - `cdx:gguf:type=LoRA` + missing `pedigree.ancestors[]` on the corresponding model component - `cdx:gguf:shardCount` present + fewer observed GGUF file components than expected ### Cross-cutting BOM/service/build metadata #### Authoritative grouped index - `cdx:bom:componentNamespaces` - `cdx:bom:componentSrcFiles` - `cdx:bom:componentTypes` - `cdx:bom:inferredRootDependencies` - `cdx:build:versionSpecifiers` - `cdx:lolbas:attackTactics` - `cdx:lolbas:attackTechniques` - `cdx:lolbas:contexts` - `cdx:lolbas:functions` - `cdx:lolbas:matchFields` - `cdx:lolbas:matched` - `cdx:lolbas:names` - `cdx:lolbas:queryCategory` - `cdx:lolbas:references` - `cdx:lolbas:riskTags` - `cdx:lolbas:sourceRef` - `cdx:container:attackTactics` - `cdx:container:attackTechniques` - `cdx:container:knowledgeSourceRefs` - `cdx:container:knowledgeSources` - `cdx:container:matchSource` - `cdx:container:matched` - `cdx:container:name` - `cdx:container:offenseTools` - `cdx:container:riskTags` - `cdx:container:seccompBlockedSyscalls` - `cdx:container:seccompProfile` - `cdx:gtfobins:contexts` - `cdx:gtfobins:functions` - `cdx:gtfobins:matchSource` - `cdx:gtfobins:matched` - `cdx:gtfobins:mitreTechniques` - `cdx:gtfobins:name` - `cdx:gtfobins:privilegedContexts` - `cdx:gtfobins:reference` - `cdx:gtfobins:riskTags` - `cdx:gtfobins:sourceRef` - `cdx:caxa:arch` - `cdx:caxa:platform` - `cdx:caxa:lazyMember` - `cdx:caxa:stripped` - `cdx:plugin:manifest:name` - `cdx:osquery:category` - `cdx:purl:sanitized_from` - `cdx:service:httpMethod` - `cdx:service:authenticated` - `cdx:service:xTrustBoundary` - `cdx:service:trustZone` - `cdx:crypto:pqc:class` - `cdx:crypto:pqc:deprecatedAfter` - `cdx:crypto:pqc:disallowedAfter` - `cdx:crypto:pqc:source` - `cdx:dosai:crypto:id` - `cdx:dosai:crypto:strength` - `cdx:dosai:crypto:storage` - `cdx:dosai:crypto:reachableFromEntryPoint` - `cdx:dosai:crypto:entryPointCount` - `cdx:dosai:crypto:dataFlowSliceIds` - `cdx:service:kind` - `cdx:service:direction` - `cdx:service:framework` - `cdx:service:pathTemplate` - `cdx:dosai:confidence` - `cdx:dosai:operationCount` - `cdx:dosai:authScheme` - `cdx:dosai:tag` - `cdx:ai:modelFile` - `cdx:ai:promptText` - `cdx:ai:toolSchema` #### Compact operational reference | Key | Scope | Value type | Typical values | When emitted | Why it matters | Policy readiness | | ------------------------------------------ | --------- | -------------- | ---------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------- | ---------------- | | `cdx:bom:componentNamespaces` | metadata | list string | `pkg:npm`, `pkg:pypi`, `pkg:maven` | After BOM post-processing | Shows ecosystem breadth and helps explain mixed-language outputs | Context only | | `cdx:bom:componentSrcFiles` | metadata | list string | `package.json`, `requirements.txt`, `pom.xml` | After BOM post-processing | Useful for completeness gates and evidence-of-origin attestations | Warning / triage | | `cdx:bom:componentTypes` | metadata | list string | `library`, `application`, `container` | After BOM post-processing | Helps identify unexpectedly narrow or broad BOM composition | Warning / triage | | `cdx:bom:inferredRootDependencies` | metadata | number string | `1`, `25` | When no leg emitted the parent component's direct dependencies | Flags a root edge inferred from graph shape rather than a manifest | Warning / triage | | `cdx:build:versionSpecifiers` | component | string | `>=1.0,<2.0` | When build metadata yields non-exact constraints | Good pinning strictness signal for build ecosystems | Warning / triage | | `cdx:lolbas:names` | component | list string | `powershell.exe,regsvr32.exe` | When Windows osquery rows reference curated LOLBAS helpers | Useful pivot for startup persistence, WMI, or process triage | Warning / triage | | `cdx:lolbas:attackTechniques` | component | list string | `T1059.001,T1218.010` | When LOLBAS helpers map to ATT&CK techniques | Aligns Windows host telemetry with ATT&CK-aware policy pipelines | Warning / triage | | `cdx:lolbas:riskTags` | component | list string | `proxy-execution,network-transfer,uac-bypass` | When LOLBAS helpers imply higher-level abuse categories | Helps prioritize Windows persistence or proxy-execution review | Warning / triage | | `cdx:container:attackTechniques` | component | list string | `T1611,T1613,T1552.007` | When executables match curated container tradecraft knowledge | Maps binaries to ATT&CK for Containers or related ATT&CK techniques | Warning / triage | | `cdx:container:offenseTools` | component | list string | `peirates,cdk,deepce` | When executables overlap known container intrusion playbooks | High-signal context for cluster-pivot or offensive toolkit review | Warning / triage | | `cdx:container:seccompBlockedSyscalls` | component | list string | `setns,unshare,open_by_handle_at` | When helper abuse depends on syscalls blocked by Docker seccomp | Helps prevent breakouts caused by permissive or disabled seccomp | Warning / triage | | `cdx:gtfobins:functions` | component | list string | `shell,upload,file-read` | When collected container executables match GTFOBins-derived data | Encodes post-exploit primitives available inside the image | Warning / triage | | `cdx:gtfobins:privilegedContexts` | component | list string | `sudo,suid,capabilities` | When GTFOBins metadata exposes privileged execution contexts | High-value hardening signal for breakout and privilege review | Hard deny | | `cdx:gtfobins:riskTags` | component | list string | `container-escape,privilege-escalation` | When GTFOBins functions imply higher-level container risk tags | Good summary field for audit rules and triage | Warning / triage | | `cdx:osquery:category` | component | string | `packages`, `system`, `deb_packages`, `apk_packages` | When packages are discovered through osquery, or `apk_packages` read from the apk installed database | Indicates evidence source and confidence context | Context only | | `cdx:service:httpMethod` | service | string | `GET`, `POST`, `DELETE` | When OpenAPI/service endpoints are captured | Useful for API exposure reviews and method-specific policy | Context only | | `cdx:dosai:crypto:id` | component | string | `asset-uuid`, `op-uuid` | When dosai reports an asset/operation/material with an ID | Stable identity pivot for deduplication and cross-reference | Context only | | `cdx:dosai:crypto:strength` | component | string | `128`, `256` | When dosai reports an asset/operation with key strength info | Identifies weak cryptographic key sizes for algorithm review | Warning / triage | | `cdx:dosai:crypto:storage` | component | string | `hardcoded`, `environment`, `config` | When dosai detects a material with a known storage type | Flags hardcoded crypto material as high-risk supply-chain exposure | Hard deny | | `cdx:dosai:crypto:reachableFromEntryPoint` | component | boolean string | `"true"`, `"false"` | For every dosai asset/operation/material | Separates actively reachable crypto from dead code | Warning / triage | | `cdx:dosai:crypto:entryPointCount` | component | number string | `1`, `5` | When dosai reports one or more entry-point IDs | Higher counts indicate broader reachability surface | Warning / triage | | `cdx:dosai:crypto:dataFlowSliceIds` | component | list string | `dfs1,dfs2` | When dosai reports data-flow slice IDs for an asset or material | Enables correlation with dosai data-flow slice output for triage | Context only | | `cdx:service:kind` | service | string | `http`, `grpc`, `mcp` | When dosai classifies a detected service | Separates HTTP surface from RPC, messaging, and AI egress | Context only | | `cdx:service:direction` | service | string | `inbound`, `outbound`, `bidirectional` | When dosai classifies a detected service | Distinguishes hosted attack surface from third-party egress | Warning / triage | | `cdx:service:framework` | service | string | `aspnetcore-mvc`, `grpc`, `mcp` | When dosai attributes a service to a framework provider | Attributes each service to the framework that exposes it | Context only | | `cdx:service:pathTemplate` | service | string | `api/[controller]/{id}` | When the authored template differs from the resolved path; URL credentials, query and fragment removed | Preserves the authored template alongside the resolved endpoint | Context only | | `cdx:dosai:confidence` | service | string | `high`, `medium`, `low` | On every dosai-derived service | Flags name-matched or config-inferred findings for manual review | Warning / triage | | `cdx:dosai:operationCount` | service | number string | `1`, `6` | When dosai reports operations for a provider service | Sizes the operation surface behind a service beyond its endpoints | Context only | | `cdx:dosai:authScheme` | service | list string | `JwtBearer`, `Cookie` | When dosai detects authentication schemes on a service | Distinguishes authenticated surfaces from anonymous ones | Warning / triage | | `cdx:dosai:tag` | service | list string | `finding:mcp-http-host-header-unrestricted` | When a provider raises a security-relevant tag | Surfaces framework-specific misconfiguration findings | Warning / triage | | `cdx:ai:modelFile` | component | string | `models/phi-3.gguf` | When an on-disk model artifact is detected | Identifies local model weights shipped with the application | Context only | | `cdx:ai:promptText` | component | string | `You are a helpful assistant...` | When a system prompt is extracted (redacted unless opted in) | Exposes prompt content that governs model behaviour | Warning / triage | | `cdx:ai:toolSchema` | component | string | `{"type":"object",...}` | When a tool exposed to a model has a derived JSON Schema | Documents the tool surface an LLM can invoke | Warning / triage | #### High-value combinations - `cdx:bom:componentTypes` present + `cdx:bom:componentSrcFiles` present before allowing downstream signing - Missing `cdx:bom:componentSrcFiles` for a BOM that otherwise claims broad language coverage - `cdx:build:versionSpecifiers` present + policy requires exact pinning in build metadata - `cdx:lolbas:names` present + `cdx:osquery:category` in `windows_run_keys`, `scheduled_tasks`, `services_snapshot`, or WMI tables - `cdx:lolbas:attackTechniques` contains `T1218` or `T1548.002` on Windows persistence surfaces - `cdx:gtfobins:riskTags=container-escape` + `cdx:gtfobins:privilegedContexts` present in runtime container images - `cdx:container:offenseTools` present + `cdx:container:riskTags=offensive-toolkit` in any runtime image - `cdx:container:seccompBlockedSyscalls` present + container deployed with unconfined or custom seccomp profiles - `cdx:service:httpMethod=DELETE` or `PATCH` + public service exposure policy outside this document #### Example payload fragment ```json { "metadata": { "properties": [ { "name": "cdx:bom:componentNamespaces", "value": "pkg:npm\npkg:pypi\npkg:maven" }, { "name": "cdx:bom:componentTypes", "value": "library\napplication" }, { "name": "cdx:bom:componentSrcFiles", "value": "package.json\nrequirements.txt\npom.xml" } ] } } ``` ### IDE and editor extensions #### Authoritative grouped index - **VS Code extensions:** `cdx:vscode-extension:activationEvents`, `cdx:vscode-extension:browser`, `cdx:vscode-extension:contributes`, `cdx:vscode-extension:executesCode`, `cdx:vscode-extension:extensionDependencies`, `cdx:vscode-extension:extensionKind`, `cdx:vscode-extension:extensionPack`, `cdx:vscode-extension:ide`, `cdx:vscode-extension:lifecycleScripts`, `cdx:vscode-extension:main`, `cdx:vscode-extension:untrustedWorkspaces`, `cdx:vscode-extension:virtualWorkspaces`, `cdx:vscode-extension:vscodeEngine`, `cdx:vscode-extension:installSource`, `cdx:vscode-extension:installedAt`, `cdx:vscode-extension:preRelease`, `cdx:vscode-extension:pinned`, `cdx:vscode-extension:builtin`, `cdx:vscode-extension:updated`, `cdx:vscode-extension:galleryId`, `cdx:vscode-extension:registered`, `cdx:vscode-extension:pendingRemoval`, `cdx:vscode-extension:entryPoint`, `cdx:vscode-extension:symlink`, `cdx:vscode-extension:entryHashMismatch` - **Editors and remote servers:** `cdx:ide:id`, `cdx:ide:kind`, `cdx:ide:extensionsDir`, `cdx:ide:extensionCount`, `cdx:ide:vscodeVersion`, `cdx:ide:commit`, `cdx:ide:quality`, `cdx:ide:installDir` - **Chromium browser extensions:** `cdx:chrome-extension:browser`, `cdx:chrome-extension:channel`, `cdx:chrome-extension:profile`, `cdx:chrome-extension:profilePath`, `cdx:chrome-extension:manifestVersion`, `cdx:chrome-extension:updateUrl`, `cdx:chrome-extension:minimumChromeVersion`, `cdx:chrome-extension:versionName`, `cdx:chrome-extension:incognito`, `cdx:chrome-extension:offlineEnabled`, `cdx:chrome-extension:permissions`, `cdx:chrome-extension:optionalPermissions`, `cdx:chrome-extension:hostPermissions`, `cdx:chrome-extension:optionalHostPermissions`, `cdx:chrome-extension:commands`, `cdx:chrome-extension:contentScriptsRunAt`, `cdx:chrome-extension:contentScriptsMatches`, `cdx:chrome-extension:contentSecurityPolicy`, `cdx:chrome-extension:storageManagedSchema`, `cdx:chrome-extension:webAccessibleResourceMatches`, `cdx:chrome-extension:externallyConnectableMatches`, `cdx:chrome-extension:capabilities`, `cdx:chrome-extension:capability:fileAccess`, `cdx:chrome-extension:capability:deviceAccess`, `cdx:chrome-extension:capability:network`, `cdx:chrome-extension:capability:bluetooth`, `cdx:chrome-extension:capability:accessibility`, `cdx:chrome-extension:capability:codeInjection`, `cdx:chrome-extension:capability:fingerprinting`, `cdx:chrome-extension:hasAutofill`, `cdx:chrome-extension:edge:minimumVersion`, `cdx:chrome-extension:edge:urlOverrides`, `cdx:chrome-extension:brave:maybeBackground`, `cdx:chrome-extension:brave:permissions` - **Electron ASAR archives:** `cdx:asar:entryCount`, `cdx:asar:fileCount`, `cdx:asar:directoryCount`, `cdx:asar:symlinkCount`, `cdx:asar:jsFileCount`, `cdx:asar:packageJsonCount`, `cdx:asar:lockfileCount`, `cdx:asar:hasUnpackedEntries`, `cdx:asar:unpackedFileCount`, `cdx:asar:hasNativeAddons`, `cdx:asar:nativeAddonCount`, `cdx:asar:hasIntegrityMismatch`, `cdx:asar:integrityMismatchCount`, `cdx:asar:hasSigningMetadata`, `cdx:asar:headerHash`, `cdx:asar:signingAlgorithm`, `cdx:asar:signingDeclaredHash`, `cdx:asar:signingSource`, `cdx:asar:signingScope`, `cdx:asar:signingVerified`, `cdx:asar:signingArchivePath`, `cdx:asar:capabilities`, `cdx:asar:capability:fileAccess`, `cdx:asar:capability:network`, `cdx:asar:capability:hardware`, `cdx:asar:capability:dynamicFetch`, `cdx:asar:capability:dynamicImport`, `cdx:asar:capability:codeGeneration`, `cdx:asar:capability:childProcess`, `cdx:asar:executionIndicators`, `cdx:asar:networkIndicators`, `cdx:asar:obfuscationIndicators`, `cdx:asar:path`, `cdx:asar:size`, `cdx:asar:offset`, `cdx:asar:unpacked`, `cdx:asar:executable`, `cdx:asar:linkTarget`, `cdx:asar:declaredIntegrityHash`, `cdx:asar:integrityVerified`, `cdx:asar:integrityBlockSize`, `cdx:asar:integrityBlockCount`, `cdx:asar:js:capabilities`, `cdx:asar:js:capability:fileAccess`, `cdx:asar:js:capability:network`, `cdx:asar:js:capability:hardware`, `cdx:asar:js:capability:dynamicFetch`, `cdx:asar:js:capability:dynamicImport`, `cdx:asar:js:capability:codeGeneration`, `cdx:asar:js:capability:childProcess`, `cdx:asar:js:hasEval`, `cdx:asar:js:hasDynamicFetch`, `cdx:asar:js:hasDynamicImport`, `cdx:asar:js:fileAccessIndicators`, `cdx:asar:js:networkIndicators`, `cdx:asar:js:hardwareIndicators`, `cdx:asar:js:executionIndicators`, `cdx:asar:js:obfuscationIndicators`, `cdx:asar:primaryManifest`, `cdx:asar:main`, `cdx:asar:module`, `cdx:asar:browser`, `cdx:asar:productName`, `cdx:asar:lifecycleScripts` #### Decision-oriented sub-groups - **Execution surface:** `cdx:vscode-extension:lifecycleScripts`, `cdx:vscode-extension:main`, `cdx:vscode-extension:browser`, `cdx:vscode-extension:contributes`, `cdx:vscode-extension:executesCode` - **Privilege / trust:** `cdx:vscode-extension:untrustedWorkspaces`, `cdx:vscode-extension:virtualWorkspaces`, `cdx:vscode-extension:activationEvents` - **Dependency chain:** `cdx:vscode-extension:extensionDependencies`, `cdx:vscode-extension:extensionPack` - **Context / provenance:** `cdx:vscode-extension:ide`, `cdx:vscode-extension:extensionKind`, `cdx:vscode-extension:vscodeEngine`, `cdx:vscode-extension:installSource`, `cdx:vscode-extension:installedAt`, `cdx:vscode-extension:galleryId` - **Install state:** `cdx:vscode-extension:registered`, `cdx:vscode-extension:pendingRemoval`, `cdx:vscode-extension:symlink`, `cdx:vscode-extension:entryHashMismatch`, `cdx:vscode-extension:pinned`, `cdx:vscode-extension:preRelease`, `cdx:vscode-extension:updated`, `cdx:vscode-extension:builtin` - **Browser extension execution surface:** `cdx:chrome-extension:contentScriptsRunAt`, `cdx:chrome-extension:contentScriptsMatches`, `cdx:chrome-extension:commands`, `cdx:chrome-extension:contentSecurityPolicy`, `cdx:chrome-extension:capability:codeInjection`, `cdx:chrome-extension:hasAutofill` - **Browser extension privilege / scope:** `cdx:chrome-extension:permissions`, `cdx:chrome-extension:optionalPermissions`, `cdx:chrome-extension:hostPermissions`, `cdx:chrome-extension:optionalHostPermissions` - **Browser extension context / provenance:** `cdx:chrome-extension:browser`, `cdx:chrome-extension:channel`, `cdx:chrome-extension:profile`, `cdx:chrome-extension:profilePath`, `cdx:chrome-extension:manifestVersion`, `cdx:chrome-extension:updateUrl`, `cdx:chrome-extension:minimumChromeVersion`, `cdx:chrome-extension:versionName`, `cdx:chrome-extension:storageManagedSchema`, `cdx:chrome-extension:edge:minimumVersion`, `cdx:chrome-extension:brave:maybeBackground` - **ASAR execution surface:** `cdx:asar:capabilities`, `cdx:asar:executionIndicators`, `cdx:asar:networkIndicators`, `cdx:asar:obfuscationIndicators`, `cdx:asar:js:capabilities`, `cdx:asar:js:executionIndicators`, `cdx:asar:js:networkIndicators`, `cdx:asar:js:hardwareIndicators` - **ASAR integrity / provenance:** `cdx:asar:declaredIntegrityHash`, `cdx:asar:integrityVerified`, `cdx:asar:integrityBlockSize`, `cdx:asar:integrityBlockCount`, `cdx:asar:hasSigningMetadata`, `cdx:asar:headerHash`, `cdx:asar:signingAlgorithm`, `cdx:asar:signingDeclaredHash`, `cdx:asar:signingSource`, `cdx:asar:signingScope`, `cdx:asar:signingVerified`, `cdx:asar:signingArchivePath`, `cdx:asar:primaryManifest` - **ASAR packaging posture:** `cdx:asar:hasUnpackedEntries`, `cdx:asar:unpackedFileCount`, `cdx:asar:hasNativeAddons`, `cdx:asar:nativeAddonCount`, `cdx:asar:lifecycleScripts` #### Compact operational reference | Key | Scope | Value type | Typical values | When emitted | Why it matters | Policy readiness | | ------------------------------- | --------- | ----------------------------- | -------------------------------------------------------- | ---------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ---------------- | | `cdx:asar:hasIntegrityMismatch` | component | string | `true`, `false` | When a declared ASAR integrity hash does not match file contents | High-signal tamper or packaging-defect indicator for shipped desktop artifacts | Hard deny | | `cdx:asar:hasSigningMetadata` | component | string | `true`, `false` | When Electron `Info.plist` exposes `ElectronAsarIntegrity` data | Quick pivot showing the release artifact carries explicit signing metadata | Context only | | `cdx:asar:hasNativeAddons` | component | string | `true`, `false` | When `.node` binaries are shipped in the archive or `.unpacked` | Native addons increase review depth, sandbox escape interest, and platform-specific attack surface | Warning / triage | | `cdx:asar:hasUnpackedEntries` | component | string | `true`, `false` | When ASAR metadata marks entries as unpacked | Unpacked files are writable/extractable on disk and often include native code or helper executables | Warning / triage | | `cdx:asar:headerHash` | component | string | `sha256 hex digest` | When cdxgen computes the ASAR header hash | Lets reviewers compare computed header bytes with Electron-declared signing metadata | Context only | | `cdx:asar:signingAlgorithm` | component | string | `SHA256` | When Electron signing metadata is present | Identifies which digest algorithm the desktop packaging metadata expects | Context only | | `cdx:asar:signingDeclaredHash` | component | string | `ab12...` | When Electron signing metadata is present | Carries the declared Electron header hash used for verification | Context only | | `cdx:asar:signingSource` | component | string | `Info.plist` | When Electron signing metadata is present | Shows where signing metadata was sourced from during review | Context only | | `cdx:asar:signingScope` | component | string | `header-only` | When Electron signing metadata is present | Prevents reviewers from mistaking Electron header verification for full payload signing | Warning / triage | | `cdx:asar:signingVerified` | component | string | `true`, `false` | When Electron signing metadata is present | High-value signal that the declared Electron ASAR header hash matched or failed verification | Hard deny | | `cdx:asar:signingArchivePath` | component | path string | `Resources/app.asar` | On emitted signing/crypto components | Binds a crypto asset back to the signed ASAR path inside the Electron app bundle | Context only | | `cdx:asar:capabilities` | component | list string (comma-separated) | `fileAccess, network, dynamicFetch, codeGeneration` | When archive-level JS analysis rolls up per-file capability hits | Quick summary of packaged runtime posture without opening every archived file | Warning / triage | | `cdx:asar:js:capabilities` | component | list string (comma-separated) | `network, hardware`, `fileAccess, childProcess` | On ASAR file components for JS/TS-like entries | Pinpoints which exact archived source files combine local access, network reach, or dynamic execution | Warning / triage | | `cdx:asar:js:hasEval` | component | string | `true`, `false` | On archived JS file components | `eval` and related code generation patterns deserve manual review in packaged Electron applications | Hard deny | | `cdx:asar:js:hasDynamicFetch` | component | string | `true`, `false` | On archived JS file components | Flags network calls where the URL is not statically known, complicating review and endpoint allowlisting | Warning / triage | | `cdx:asar:path` | component | path string | `src/main.js`, `node_modules/sketchy-addon/package.json` | On ASAR file components | Stable archive-relative location useful for triage, provenance mapping, and attachment to release pipelines | Context only | #### High-value combinations - `cdx:asar:hasNativeAddons=true` + `cdx:asar:hasUnpackedEntries=true` — archive ships native code outside the packed byte stream - `cdx:asar:hasIntegrityMismatch=true` + `cdx:asar:declaredIntegrityHash` present — declared packaging metadata disagrees with computed content - `cdx:asar:hasSigningMetadata=true` + `cdx:asar:signingVerified=false` — Electron signing metadata exists but the declared ASAR header hash failed verification - `cdx:asar:js:hasEval=true` + `cdx:asar:js:hasDynamicFetch=true` — archived JavaScript can both generate code and fetch runtime-selected content - `cdx:asar:js:capabilities` contains `network` + `hardware` — packaged source can reach external hosts and local devices #### Compact operational reference | Key | Scope | Value type | Typical values | When emitted | Why it matters | Policy readiness | | -------------------------------------------- | --------- | ----------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------- | | `cdx:vscode-extension:activationEvents` | component | list string (comma-separated) | `onLanguage:python, onCommand:ext.run, *` | When extension declares activation events in package.json | Wildcard `*` means the extension activates on every workspace open, increasing attack surface. Use `$contains($split(value, ','), '*')` in JSONata to detect always-on extensions. | Warning / triage | | `cdx:vscode-extension:extensionKind` | component | list string | `ui`, `workspace`, `ui, workspace` | When extension declares where it can run | `workspace` extensions execute in the remote host context and can access the filesystem | Context only | | `cdx:vscode-extension:extensionDependencies` | component | list string | `ms-python.vscode-pylance, ms-toolsai.jupyter` | When extension declares dependencies on other extensions | Transitive trust chain; a compromised dependency extension can affect all dependants | Warning / triage | | `cdx:vscode-extension:extensionPack` | component | list string | `ms-python.python, ms-python.vscode-pylance` | When extension bundles other extensions as a pack | Pack extensions install additional extensions implicitly | Warning / triage | | `cdx:vscode-extension:untrustedWorkspaces` | component | string | `true`, `false`, `limited` | When extension declares workspace trust configuration | `true` means the extension runs in untrusted workspaces; `limited` restricts some features | Warning / triage | | `cdx:vscode-extension:virtualWorkspaces` | component | string | `true`, `false` | When extension declares virtual workspace support | Extensions supporting virtual workspaces may operate without direct filesystem access | Context only | | `cdx:vscode-extension:contributes` | component | list string (comma-separated) | `commands:count:42, terminal-access, filesystem-provider, authentication-provider` | When extension package.json declares contributed features | Summary of privileged capabilities; use `:count:` suffix to identify quantity of contribution points (e.g., `commands:count:12` means 12 commands contributed). Match specific capability keywords (`terminal-access`, `filesystem-provider`, etc.) for policy rules. | Warning / triage | | `cdx:vscode-extension:main` | component | path string | `./dist/extension.js`, `./out/main.js` | When extension declares a Node.js entry point | Identifies the primary executable entry point for security review | Context only | | `cdx:vscode-extension:browser` | component | path string | `./dist/web/extension.js` | When extension declares a browser/web entry point in package.json | Indicates the extension can run in web/VS Code for Web contexts. Browser extensions run in a sandboxed environment with reduced permissions compared to Node.js (`main`) entry points. Use to differentiate web-safe vs. host-executing extensions. | Context only | | `cdx:vscode-extension:lifecycleScripts` | component | list string | `postinstall, vscode:prepublish`, `vscode:uninstall` | When extension package.json contains lifecycle hooks | Install-time script execution risk; `postinstall` can run arbitrary code during extension installation | Hard deny | | `cdx:vscode-extension:executesCode` | component | string | `true`, `false` | When vsixmanifest Properties declares `ExecutesCode` | Explicitly declares whether the extension executes code; `true` confirms the extension runs arbitrary code | Warning / triage | | `cdx:vscode-extension:vscodeEngine` | component | semver range string | `^1.94.0`, `>=1.80.0` | When vsixmanifest Properties declares the required VS Code engine | Minimum VS Code version required; older engines may lack security features like workspace trust | Context only | | `cdx:vscode-extension:ide` | component | list string (comma-separated) | `Cursor`, `VS Code, Cursor`, `Cursor Server`, `Kiro` | When extension is discovered in an editor's extensions folder | Names every editor that has this build installed; one extension installed in two editors is one component with an occurrence per folder | Context only | | `cdx:vscode-extension:installSource` | component | list string (comma-separated) | `gallery`, `vsix`, `gallery, vsix` | When an editor's `extensions.json` records how a copy was installed; only `gallery`, `vsix` and `resource` are kept| `vsix` means a copy was installed from a file rather than the marketplace, so the marketplace's checks did not apply | Warning / triage | | `cdx:vscode-extension:installedAt` | component | ISO 8601 timestamp | `2026-10-29T09:40:00.000Z` | When `extensions.json` records a valid `installedTimestamp`; the earliest copy's time| Checks an install against the window of a marketplace incident | Warning / triage | | `cdx:vscode-extension:preRelease` | component | string | `true` | When the installed build is a pre-release | Pre-release builds skip the soak time of stable releases | Context only | | `cdx:vscode-extension:pinned` | component | string | `true` | When the user pinned the version, or installed a specific version | A pinned extension does not auto-update to a fixed release | Context only | | `cdx:vscode-extension:builtin` | component | string | `true` | When `extensions.json` marks the extension as built in | Built-in extensions ship with the editor | Context only | | `cdx:vscode-extension:updated` | component | string | `true` | When the editor installed this build as an update | Separates a first install from an auto-update | Context only | | `cdx:vscode-extension:galleryId` | component | UUID string | `3c13ae49-babe-45fe-8c48-5e45077a62bf` | When `extensions.json` records a marketplace id that is a UUID | Ties the install to a marketplace listing; the id differs between the VS Marketplace and Open VSX | Context only | | `cdx:vscode-extension:registered` | component | string | `false` | When a copy sits in an extensions folder whose `extensions.json` does not list it| A folder copied in by hand, outside the editor's installer | Warning / triage | | `cdx:vscode-extension:pendingRemoval` | component | string | `true` | When every copy is listed in its editor's `.obsolete` file | An uninstalled or replaced build still on disk until the editor restarts; keep it for forensics | Context only | | `cdx:vscode-extension:entryPoint` | file (nested)| string | `main`, `browser` | On the `file` component, with a SHA-256, for each entry file a copy runs; only regular files inside the extension folder are read| Matches the code the extension host loads against a published hash of a known build | Warning / triage | | `cdx:vscode-extension:symlink` | component | string | `true` | When a copy is a symlink in the extensions folder; a scan running as root reads only its folder name| A linked folder is often a local build or a hand-placed extension | Context only | | `cdx:vscode-extension:entryHashMismatch` | component | string | `true` | When two copies of the same build have entry files with different SHA-256s; each digest is its own `file` component| At least one copy was changed after it was installed | Warning / triage | #### Editor and remote server components | Key | Scope | Value type | Typical values | When emitted | | ----------------------- | --------- | ---------- | -------------------------------------------------- | ----------------------------------------------------------------- | | `cdx:ide:id` | component | string | `cursor`, `vscode-server`, `kiro`, `code-server` | Always, on an editor component | | `cdx:ide:kind` | component | string | `desktop`, `server` | Always; `server` is the remote server installed on an SSH host | | `cdx:ide:extensionsDir` | component | path list | `~/.cursor/extensions` | Always; relative to the home it was found in | | `cdx:ide:extensionCount`| component | integer | `24` | Always; the number of extension builds in the folder | | `cdx:ide:vscodeVersion` | component | version | `1.128.0` | When the editor's own version differs from its VS Code base | | `cdx:ide:commit` | component | string | `b1aa50cb6db84fd3e8c808259cb172ea73425c10` | When `product.json` records the build commit | | `cdx:ide:quality` | component | string | `stable`, `insider`, `releases` | When `product.json` records the release channel | | `cdx:ide:installDir` | component | path | `/Applications/Cursor.app/Contents/Resources/app` | When the editor or server was found on the scanned host | #### High-value combinations - `cdx:vscode-extension:lifecycleScripts` present + `cdx:vscode-extension:activationEvents` contains `*` — always-on extension with install-time execution - `cdx:vscode-extension:untrustedWorkspaces=true` + `cdx:vscode-extension:contributes` contains `filesystem-provider` — extension operates in untrusted contexts with filesystem access - `cdx:vscode-extension:extensionKind` contains `workspace` + `cdx:vscode-extension:executesCode=true` — extension executes arbitrary code on remote hosts - `cdx:vscode-extension:extensionPack` present + any member has `lifecycleScripts` — pack implicitly installs extensions with install-time risks - `cdx:vscode-extension:browser` present + `cdx:vscode-extension:contributes` contains `terminal-access` — potential cross-context capability confusion > **Value normalization note for workspace trust properties:** > The `cdx:vscode-extension:untrustedWorkspaces` and `cdx:vscode-extension:virtualWorkspaces` properties may originate from either a boolean or an object with a `supported` field in `package.json`. cdxgen normalizes these to string values: > > - `"true"` → extension explicitly supports untrusted/virtual workspaces > - `"false"` → extension does not support untrusted/virtual workspaces > - `"limited"` → extension supports untrusted workspaces with reduced functionality (only for `untrustedWorkspaces`) > > Policy authors should compare against these string values, not booleans. > **JSONata tip for VS Code extension rules:** > List-valued properties like `cdx:vscode-extension:activationEvents`, `contributes`, and `extensionKind` are comma-separated strings. Use the following pattern to match individual values: > > ```jsonata > $nullSafeProp($, 'cdx:vscode-extension:activationEvents') ~> $contains('*') > ``` > > The `$trim()` step removes whitespace around comma-separated values for reliable matching. #### Example payload fragment ```json { "name": "python", "publisher": "ms-python", "version": "2024.8.1", "type": "application", "purl": "pkg:vscode-extension/ms-python/python@2024.8.1", "properties": [ { "name": "cdx:vscode-extension:ide", "value": "vscode" }, { "name": "cdx:vscode-extension:activationEvents", "value": "onLanguage:python, onCommand:python.runLinting" }, { "name": "cdx:vscode-extension:extensionKind", "value": "workspace" }, { "name": "cdx:vscode-extension:extensionDependencies", "value": "ms-python.vscode-pylance" }, { "name": "cdx:vscode-extension:untrustedWorkspaces", "value": "limited" }, { "name": "cdx:vscode-extension:contributes", "value": "commands:count:42, debuggers:1, terminal-access" }, { "name": "cdx:vscode-extension:main", "value": "./dist/extension.js" }, { "name": "cdx:vscode-extension:lifecycleScripts", "value": "postinstall, vscode:prepublish" } ] } ``` #### Alias and overlap notes - The `cdx:vscode-extension:ide` property lists the editors the extension was found in, by display name (for example `VS Code`, `Cursor`, `Cursor Server`, `Kiro`). One build installed in several editors is one component with an occurrence per folder; its install properties describe all the copies together, as each row of the table above says. Extensions found from `.vsix` files do not have this property; they carry the SHA-256 of the `.vsix` in `hashes` instead. - A platform-specific build has a `platform` qualifier in its purl (`pkg:vscode-extension/anthropic/claude-code@2.1.313?platform=darwin-arm64`), read from the `.vsixmanifest`, from `extensions.json`, or from the folder name. Universal builds have none, whether their folder ends in `-universal` or not. - Each editor or remote server whose extensions folder was read is an `application` component with the purl `pkg:generic/cdxgen-ide/@`, carrying `cdx:ide:*` properties. In a `-t vscode-extension` BOM it depends on the extensions in its folder; an OBOM has no dependency graph, so `-t os` lists it without edges. - `cdx:vscode-extension:lifecycleScripts` is analogous to `cdx:npm:risky_scripts` for npm packages — both capture install-time execution risk. - `cdx:vscode-extension:contributes` is a summary list, not a full enumeration. The count suffix (for example `commands:count:42`) indicates how many contribution points exist in that category. - Extensions discovered via osquery (`-t os`) use the same `pkg:vscode-extension` purl, platform qualifier included, and may also carry `cdx:osquery:category`. osquery reads the registry of a fixed set of editors, so `-t os` also reads the extension folders and adds the editors and the extensions osquery did not report: the current user's folders, or every user's when cdxgen runs as root. - Chromium-browser extensions discovered via `-t chrome-extension` can include `cdx:chrome-extension:browser`, `cdx:chrome-extension:channel`, `cdx:chrome-extension:profile`, `cdx:chrome-extension:profilePath`, `cdx:chrome-extension:manifestVersion`, and `cdx:chrome-extension:updateUrl`. - Chromium-browser extensions discovered via `-t chrome-extension` can include security-sensitive fields from real manifests: `cdx:chrome-extension:permissions`, `cdx:chrome-extension:optionalPermissions`, `cdx:chrome-extension:hostPermissions`, `cdx:chrome-extension:optionalHostPermissions`, `cdx:chrome-extension:commands`, `cdx:chrome-extension:contentScriptsRunAt`, `cdx:chrome-extension:contentScriptsMatches`, `cdx:chrome-extension:contentSecurityPolicy`, `cdx:chrome-extension:storageManagedSchema`, `cdx:chrome-extension:webAccessibleResourceMatches`, `cdx:chrome-extension:externallyConnectableMatches`, and `cdx:chrome-extension:hasAutofill`. - Chromium-browser extensions can include capability booleans derived from manifest + Babel source analysis: `cdx:chrome-extension:capability:fileAccess`, `cdx:chrome-extension:capability:deviceAccess`, `cdx:chrome-extension:capability:network`, `cdx:chrome-extension:capability:bluetooth`, `cdx:chrome-extension:capability:accessibility`, `cdx:chrome-extension:capability:codeInjection`, and `cdx:chrome-extension:capability:fingerprinting`. - Vendor-specific fields are namespaced explicitly: Edge (`cdx:chrome-extension:edge:*`) and Brave (`cdx:chrome-extension:brave:*`). - Chrome extensions discovered via osquery (`-t os`) use `pkg:chrome-extension` and may also carry `cdx:osquery:category`. ### Remaining emitted keys, by namespace The groups above describe the keys that carry policy meaning. This index closes the gap: it lists every other property cdxgen can emit, so the document covers the full emitted surface. `lib/customProperties.poku.js` fails the build when a property is emitted that appears nowhere in this file. **`cdx:agent:*`** - `cdx:agent:allowedToolCount` - `cdx:agent:authHints` - `cdx:agent:booleanFeatureFlagCount` - `cdx:agent:credentialRiskIndicators` - `cdx:agent:defaultAgent` - `cdx:agent:description` - `cdx:agent:disallowedTools` - `cdx:agent:hasMcpReferences` - `cdx:agent:hasNonOfficialMcpReference` - `cdx:agent:hiddenComponentKinds` - `cdx:agent:hiddenEndpointCount` - `cdx:agent:hiddenMcpHosts` - `cdx:agent:hiddenMcpUrls` - `cdx:agent:hookActionTypes` - `cdx:agent:hookCount` - `cdx:agent:hookEvents` - `cdx:agent:inventorySource` - `cdx:agent:mcpPackageRefs` - `cdx:agent:mcpServerCount` - `cdx:agent:mode` - `cdx:agent:model` - `cdx:agent:permission` - `cdx:agent:permissionAllowRuleCount` - `cdx:agent:permissionAllowsAll` - `cdx:agent:permissionAskRuleCount` - `cdx:agent:permissionCapabilities` - `cdx:agent:permissionDenyRuleCount` - `cdx:agent:permissionEvaluateRuleCount` - `cdx:agent:permissionPolicyPresets` - `cdx:agent:permissionRuleCount` - `cdx:agent:permissionUnknownPolicyPresetCount` - `cdx:agent:permissionUnrestrictedAllowCapabilities` - `cdx:agent:permissionWorkspaceTrusted` - `cdx:agent:providerNames` - `cdx:agent:providerOverride` - `cdx:agent:role` - `cdx:agent:toolCount` - `cdx:agent:tools` - `cdx:agent:upgradeRevision` **`cdx:ai:*`** - `cdx:ai:codegen:signals:count` - `cdx:ai:safetensors:parameterCount` - `cdx:ai:safetensors:parameterCountLabel` - `cdx:ai:safetensors:tensorType` **`cdx:alpm:*`** - `cdx:alpm:pkgbase` **`cdx:apk:*`** - `cdx:apk:origin` **`cdx:asar:*`** - `cdx:asar:embeddedManifests` - `cdx:asar:hasDynamicFetch` - `cdx:asar:hasDynamicImport` - `cdx:asar:hasEval` - `cdx:asar:hasNestedArchives` - `cdx:asar:integrityAlgorithm` - `cdx:asar:manifestInventoryComplete` - `cdx:asar:nestedArchiveCount` **`cdx:audit:*`** - `cdx:audit:attack:tactics` - `cdx:audit:attack:techniques` - `cdx:audit:category` - `cdx:audit:confidence` - `cdx:audit:dispatch:edge` - `cdx:audit:dispatch:receiverFiles` - `cdx:audit:dispatch:receiverNames` - `cdx:audit:engine` - `cdx:audit:location:bomRef` - `cdx:audit:location:file` - `cdx:audit:location:purl` - `cdx:audit:mitigation` - `cdx:audit:name` - `cdx:audit:nextAction` - `cdx:audit:ruleId` - `cdx:audit:score` - `cdx:audit:severity` - `cdx:audit:target:purl` - `cdx:audit:target:repoUrl` - `cdx:audit:topFinding:ruleId` - `cdx:audit:upstreamGuidance` **`cdx:cargo:*`** - `cdx:cargo:hasWorkspaceMembers` - `cdx:cargo:publisherSetPartialDrift` **`cdx:chrome-extension:*`** - `cdx:chrome-extension:description` **`cdx:container:*`** - `cdx:container:unpackagedExecutableCount` - `cdx:container:unpackagedSharedLibraryCount` **`cdx:crewai:*`** - `cdx:crewai:assignedAgent` - `cdx:crewai:backstory` - `cdx:crewai:description` - `cdx:crewai:expectedOutput` - `cdx:crewai:goal` - `cdx:crewai:role` **`cdx:crypto:*`** - `cdx:crypto:k8sSecretName` - `cdx:crypto:primitive` - `cdx:crypto:sourceLocation` - `cdx:crypto:sourceType` **`cdx:deb:*`** - `cdx:deb:source` **`cdx:dosai:*`** - `cdx:dosai:allowAnonymous` - `cdx:dosai:authorizationPolicyCount` - `cdx:dosai:authorizationRequired` - `cdx:dosai:endpointKind` - `cdx:dosai:location` - `cdx:dosai:requiredClaimCount` - `cdx:dosai:requiredScopeCount` - `cdx:dosai:roleCount` **`cdx:dynamic:*`** - `cdx:dynamic:cryptoLibrary` - `cdx:dynamic:dryRun` - `cdx:dynamic:dryRun:captured` - `cdx:dynamic:dryRun:` (`totalEvents`, `fileReads`, `fileWrites`, `fileMetadata`, `networkOutbound`, `networkBind`, `execAttempts`, `forkAttempts`) - `cdx:dynamic:egressDecision` - `cdx:dynamic:filePath` - `cdx:dynamic:httpQueryParams` **`cdx:embeddedSbom:*`** - `cdx:embeddedSbom:format` - `cdx:embeddedSbom:source` **`cdx:tea:*`** - `cdx:tea:collection` - `cdx:tea:source` **`cdx:file:*`** - `cdx:file:hasHiddenUnicode` - `cdx:file:hiddenUnicodeCodePoints` - `cdx:file:hiddenUnicodeCommentCodePoints` - `cdx:file:hiddenUnicodeInComments` - `cdx:file:hiddenUnicodeLineNumbers` - `cdx:file:kind` **`cdx:flatpak:*`** - `cdx:flatpak:commit` - `cdx:flatpak:displayName` - `cdx:flatpak:installation` - `cdx:flatpak:origin` - `cdx:flatpak:runtime` - `cdx:flatpak:type` **`cdx:formulation:*`** - `cdx:formulation:componentRefs`: on a CycloneDX 2.0 formula of a subject-less document, a JSON array of the refIds of the `definitions.components` entries that belong to the formula. 2.0 has no formula member for them; the 2.0 reader moves the listed components back into the formula and drops the property. See [CDX_CONVERT.md](CDX_CONVERT.md#cyclonedx-20). **`cdx:github:*`** - `cdx:github:action:buildCacheDisableInput` - `cdx:github:action:buildCacheDisableValue` - `cdx:github:action:buildCacheEcosystem` - `cdx:github:action:disablesBuildCache` - `cdx:github:checkout:checksOutUntrustedRef` - `cdx:github:checkout:forkContextRefs` - `cdx:github:checkout:ref` - `cdx:github:checkout:referencesForkContext` - `cdx:github:checkout:repository` - `cdx:github:checkout:untrustedRefContexts` - `cdx:github:job:hasExplicitPermissionsBlock` - `cdx:github:step:exfiltrationIndicators` - `cdx:github:step:hasSensitiveOperations` - `cdx:github:step:isPublishCommand` - `cdx:github:step:legacyPublishTokenSources` - `cdx:github:step:likelyExfiltration` - `cdx:github:step:publishEcosystem` - `cdx:github:step:sensitiveOperations` - `cdx:github:step:usesLegacyPublishToken` - `cdx:github:workflow:hasAnyExplicitPermissionsBlock` - `cdx:github:workflow:hasExplicitPermissionsBlock` **`cdx:gtfobins:*`** - `cdx:gtfobins:matchFields` - `cdx:gtfobins:names` - `cdx:gtfobins:queryCategory` **`cdx:hbom:*`** Descriptions and examples for each `cdx:hbom:*` property are in [cdx-hbom's property reference](https://github.com/cdxgen/cdx-hbom/blob/v0.6.0/docs/hardware-properties.md). - `cdx:hbom:adapterRamBytes` - `cdx:hbom:adapterType` - `cdx:hbom:addressSizes` - `cdx:hbom:analysis:actionableDiagnosticCount` - `cdx:hbom:analysis:commandDiagnosticCount` - `cdx:hbom:analysis:commandErrorCount` - `cdx:hbom:analysis:commandErrorIds` - `cdx:hbom:analysis:diagnosticIssues` - `cdx:hbom:analysis:installHintCount` - `cdx:hbom:analysis:missingCommandCount` - `cdx:hbom:analysis:missingCommandIds` - `cdx:hbom:analysis:missingCommands` - `cdx:hbom:analysis:partialSupportCount` - `cdx:hbom:analysis:partialSupportIds` - `cdx:hbom:analysis:permissionDeniedCommands` - `cdx:hbom:analysis:permissionDeniedCount` - `cdx:hbom:analysis:permissionDeniedIds` - `cdx:hbom:analysis:privilegeHintCount` - `cdx:hbom:analysis:requiresPrivileged` - `cdx:hbom:analysis:timeoutCount` - `cdx:hbom:analysis:timeoutIds` - `cdx:hbom:architecture` - `cdx:hbom:architectureSource` - `cdx:hbom:availableSecurityProperties` - `cdx:hbom:bankLabel` - `cdx:hbom:bitlockerVolumeType` - `cdx:hbom:bitsPerPixel` - `cdx:hbom:busInfo` - `cdx:hbom:busReportedName` - `cdx:hbom:cameraModelId` - `cdx:hbom:capacity` - `cdx:hbom:channel` - `cdx:hbom:chargePercent` - `cdx:hbom:codeIntegrityPolicyEnforcement` - `cdx:hbom:collectorProcessArchitecture` - `cdx:hbom:collectorProfile` - `cdx:hbom:compatibleIds` - `cdx:hbom:configuredSpeedMTs` - `cdx:hbom:configuredVoltageMv` - `cdx:hbom:connected` - `cdx:hbom:connectionState` - `cdx:hbom:connectionType` - `cdx:hbom:conversionStatus` - `cdx:hbom:coreCount` - `cdx:hbom:currentClockMHz` - `cdx:hbom:cycleCount` - `cdx:hbom:defaultInput` - `cdx:hbom:defaultOutput` - `cdx:hbom:designVoltageMv` - `cdx:hbom:deviceLocator` - `cdx:hbom:deviceNode` - `cdx:hbom:devicePath` - `cdx:hbom:diskNumber` - `cdx:hbom:driver` - `cdx:hbom:driverDate` - `cdx:hbom:driverProvider` - `cdx:hbom:driverSigned` - `cdx:hbom:driverSigner` - `cdx:hbom:duplex` - `cdx:hbom:embeddedControllerVersion` - `cdx:hbom:encryptionMethod` - `cdx:hbom:estimatedRunTimeMinutes` - `cdx:hbom:evidence:command` - `cdx:hbom:evidence:commandCount` - `cdx:hbom:evidence:commandDiagnostic` - `cdx:hbom:evidence:elevated` - `cdx:hbom:evidence:file` - `cdx:hbom:evidence:fileCount` - `cdx:hbom:evidence:languageMode` - `cdx:hbom:evidence:powershellVersion` - `cdx:hbom:fanCount` - `cdx:hbom:fileSystem` - `cdx:hbom:fileVault` - `cdx:hbom:firmwareType` - `cdx:hbom:firmwareVersion` - `cdx:hbom:formFactor` - `cdx:hbom:hardwareClass` - `cdx:hbom:hardwareIds` - `cdx:hbom:health` - `cdx:hbom:healthStatus` - `cdx:hbom:hypervisorPresent` - `cdx:hbom:identifierPolicy` - `cdx:hbom:infName` - `cdx:hbom:interface` - `cdx:hbom:interfaceName` - `cdx:hbom:isActivated` - `cdx:hbom:isActive` - `cdx:hbom:isBootVolume` - `cdx:hbom:isCharging` - `cdx:hbom:isEnabled` - `cdx:hbom:isEncrypted` - `cdx:hbom:isOwned` - `cdx:hbom:isRemovable` - `cdx:hbom:isSystemVolume` - `cdx:hbom:isVirtual` - `cdx:hbom:l2CacheKiB` - `cdx:hbom:l3CacheKiB` - `cdx:hbom:lastAttemptStatus` - `cdx:hbom:lastAttemptVersion` - `cdx:hbom:linkRateMbps` - `cdx:hbom:linkStatus` - `cdx:hbom:locationPath` - `cdx:hbom:logicalCpuCount` - `cdx:hbom:maxCapacityBytes` - `cdx:hbom:maximumCapacity` - `cdx:hbom:memoryErrorCorrection` - `cdx:hbom:memoryModuleCount` - `cdx:hbom:memoryOnlineSize` - `cdx:hbom:memoryType` - `cdx:hbom:minorType` - `cdx:hbom:mountPath` - `cdx:hbom:mountPoint` - `cdx:hbom:operState` - `cdx:hbom:operationalStatus` - `cdx:hbom:path` - `cdx:hbom:pcSystemType` - `cdx:hbom:pciAddress` - `cdx:hbom:pciClassCode` - `cdx:hbom:phyMode` - `cdx:hbom:physicalBlockSize` - `cdx:hbom:physicalCpuCount` - `cdx:hbom:physicalMedium` - `cdx:hbom:platform` - `cdx:hbom:pnpInstanceId` - `cdx:hbom:powerOnHours` - `cdx:hbom:powerSource` - `cdx:hbom:present` - `cdx:hbom:problemCode` - `cdx:hbom:processorInstanceCount` - `cdx:hbom:productId` - `cdx:hbom:protectionStatus` - `cdx:hbom:receptacleStatus` - `cdx:hbom:refreshRateHz` - `cdx:hbom:requiredSecurityProperties` - `cdx:hbom:resolution` - `cdx:hbom:rssi` - `cdx:hbom:sampleRate` - `cdx:hbom:secureBootAuthorityKeyId` - `cdx:hbom:secureBootCertificateAuthorityKeyId` - `cdx:hbom:secureBootCertificatePath` - `cdx:hbom:secureBootCertificateSerial` - `cdx:hbom:secureBootCertificateSha1` - `cdx:hbom:secureBootCertificateSubjectKeyId` - `cdx:hbom:secureBootDbAuthorityKeyId` - `cdx:hbom:secureBootDbPath` - `cdx:hbom:secureBootDbSerial` - `cdx:hbom:secureBootDbSha1` - `cdx:hbom:secureBootDbSubjectKeyId` - `cdx:hbom:secureBootDbxAuthorityKeyId` - `cdx:hbom:secureBootDbxPath` - `cdx:hbom:secureBootDbxSerial` - `cdx:hbom:secureBootDbxSha1` - `cdx:hbom:secureBootDbxSubjectKeyId` - `cdx:hbom:secureBootEnabled` - `cdx:hbom:secureBootSerial` - `cdx:hbom:secureBootSha1` - `cdx:hbom:secureBootSource` - `cdx:hbom:secureBootSubjectKeyId` - `cdx:hbom:securityMode` - `cdx:hbom:securityServicesConfigured` - `cdx:hbom:securityServicesRunning` - `cdx:hbom:size` - `cdx:hbom:sizeBytes` - `cdx:hbom:slatSupported` - `cdx:hbom:smartStatus` - `cdx:hbom:smbiosVersion` - `cdx:hbom:socketDesignation` - `cdx:hbom:specVersion` - `cdx:hbom:speed` - `cdx:hbom:speedMTs` - `cdx:hbom:speedMbps` - `cdx:hbom:state` - `cdx:hbom:status` - `cdx:hbom:systemFamily` - `cdx:hbom:targetArchitecture` - `cdx:hbom:targetPlatform` - `cdx:hbom:temperatureCelsius` - `cdx:hbom:transport` - `cdx:hbom:usbInterfaceDrivers` - `cdx:hbom:usermodeCodeIntegrityPolicyEnforcement` - `cdx:hbom:uuid` - `cdx:hbom:vbsStatus` - `cdx:hbom:vendorId` - `cdx:hbom:virtualizationFirmwareEnabled` - `cdx:hbom:visibleMemoryBytes` - `cdx:hbom:vmMonitorModeExtensions` - `cdx:hbom:volumeUuid` - `cdx:hbom:watts` - `cdx:hbom:wearPercentageUsed` **`cdx:homebrew:*`** - `cdx:homebrew:type` **`cdx:hostview:*`** - `cdx:hostview:hardwareComponentCount` - `cdx:hostview:kernel_modules:count` - `cdx:hostview:linkedHardwareComponentCount` - `cdx:hostview:linkedRuntimeCategory` - `cdx:hostview:linkedRuntimeCategoryCount` - `cdx:hostview:logical_drives:count` - `cdx:hostview:mode` - `cdx:hostview:mount_hardening:count` - `cdx:hostview:runtime-storage:count` - `cdx:hostview:runtimeAddressCount` - `cdx:hostview:runtimeAnchorCount` - `cdx:hostview:runtimeComponentCount` - `cdx:hostview:topologyLinkCount` **`cdx:huggingface:*`** - `cdx:huggingface:citationDetected` - `cdx:huggingface:co2EmissionsGrams` - `cdx:huggingface:co2Geo` - `cdx:huggingface:co2HardwareUsed` - `cdx:huggingface:co2Source` - `cdx:huggingface:co2TrainingType` - `cdx:huggingface:createdAt` - `cdx:huggingface:datasetDescription` - `cdx:huggingface:language` - `cdx:huggingface:languageBcp47` - `cdx:huggingface:lastModified` - `cdx:huggingface:maskToken` - `cdx:huggingface:widgetExampleCount` **`cdx:invalid-purl:*`** - `cdx:invalid-purl` **`cdx:introspection:*`** Build introspection carries its verdict inside the BOM so a consumer who receives only the document still learns how much to trust it. The properties are emitted on `metadata.properties` when generation runs with `--introspect`, `--profile introspect`, or `CDXGEN_INTROSPECT=true`. The overall `tier` and `confidence` properties are omitted when the run produced no scored ecosystem, and per-ecosystem entries cover scored ecosystems only (unsupported ones have neither a tier nor a score). The same names appear as structured facts in the introspection annotations' text; a value of `1.1` for `schemaVersion` matches the JSON report's `schemaVersion`. - `cdx:introspection:schemaVersion` — Version of the introspection BOM surface and report contract. Always `1.1` today. - `cdx:introspection:tier` — Overall fidelity tier: the worst tier among the scored ecosystems (`resolved`, `lockfile`, `manifest`, `heuristic`, `absent`). - `cdx:introspection:score` — Overall score, 0-100: the component-count-weighted mean of the scored ecosystem scores. - `cdx:introspection:confidence` — Overall confidence: the worst confidence among the scored ecosystems (`high`, `medium`, `low`). - `cdx:introspection:ledgerComplete` — `true` when the build ledger covered the whole run, `false` when it was truncated. - `cdx:introspection:ecosystem::tier` — Fidelity tier assigned to one ecosystem, e.g. `cdx:introspection:ecosystem:java:tier`. - `cdx:introspection:ecosystem::score` — Score for one ecosystem, 0-100, e.g. `cdx:introspection:ecosystem:java:score`. - `cdx:introspection:remediationCount` — Number of ranked remediations the loop can act on (blocked entries excluded). One further property is emitted inside the document itself, on the `properties` of every entry under `formulation[].workflows[]`, when the run reflected over the freshly generated BOM. It marks the formulation section as a record of _this_ run, which is how a later re-scan of the BOM tells the run-derived half of formulation (the toolchain the generating run probed) from a record that arrived with a foreign document: - `cdx:introspection:runId` — Identifier of the cdxgen run that generated the formulation section and stamped the BOM. Replaced on every introspected re-write of the document. The annotation blocks also carry these entry-level names, rendered into the annotation text exactly the way `cdx:audit:*` findings are: - `cdx:introspection:remediationId` — Catalog or build-fidelity rule id the remediation is keyed by. - `cdx:introspection:ecosystem` — Ecosystem the remediation improves. - `cdx:introspection:currentTier` — Tier the ecosystem holds today. - `cdx:introspection:targetTier` — Tier the fix is expected to reach. - `cdx:introspection:expectedGain` — Expected overall score gain, two decimals. - `cdx:introspection:confidence` — Confidence label for the remediation's evidence (`high`, `medium`, `low`). - `cdx:introspection:verify:rules` — Comma-separated build-fidelity rule ids that must stop firing once the fix is applied. - `cdx:introspection:evidence:` — Per-fact evidence entries (`source`, `impact`, `severity`, `events`, `subsumes`, `eventsCleared`). **`cdx:langgraph:*`** - `cdx:langgraph:dependencies` - `cdx:langgraph:envFile` **`cdx:license:*`** - `cdx:license:category` - `cdx:license:complianceAlert` - `cdx:license:deprecated` - `cdx:license:foss` - `cdx:license:fsfLibre` - `cdx:license:osiApproved` **`cdx:macports:*`** - `cdx:macports:requested` - `cdx:macports:variants` **`cdx:maturin:*`** - `cdx:maturin:bindings` - `cdx:maturin:buildBackend` - `cdx:maturin:compatibility` - `cdx:maturin:features` - `cdx:maturin:manifestPath` - `cdx:maturin:moduleName` - `cdx:maturin:strip` **`cdx:mcp:*`** - `cdx:mcp:agentReference` - `cdx:mcp:auth:protectedResourceMetadata` - `cdx:mcp:auth:requiresOAuth` - `cdx:mcp:auth:supportsDCR` - `cdx:mcp:authMode` - `cdx:mcp:catalogSource` - `cdx:mcp:command` - `cdx:mcp:composition` - `cdx:mcp:configFormat` - `cdx:mcp:configKey` - `cdx:mcp:configuredEndpoints` - `cdx:mcp:configuredServiceCount` - `cdx:mcp:configuredServiceNames` - `cdx:mcp:credentialExposedServiceCount` - `cdx:mcp:credentialExposureFieldCount` - `cdx:mcp:credentialIndicatorCount` - `cdx:mcp:credentialReferenceCount` - `cdx:mcp:description` - `cdx:mcp:exposureType` - `cdx:mcp:hasTunnelReference` - `cdx:mcp:inventorySource` - `cdx:mcp:modelFamilies` - `cdx:mcp:modelNames` - `cdx:mcp:package` - `cdx:mcp:packageName` - `cdx:mcp:packageRefs` - `cdx:mcp:pinning` - `cdx:mcp:promptCount` - `cdx:mcp:providerFamilies` - `cdx:mcp:providerNames` - `cdx:mcp:resourceCount` - `cdx:mcp:resourceUri` - `cdx:mcp:reviewNeeded` - `cdx:mcp:role` - `cdx:mcp:sdkImports` - `cdx:mcp:serviceRef` - `cdx:mcp:sourceLine` - `cdx:mcp:toolAnnotations` - `cdx:mcp:usageConfidence` - `cdx:mcp:usageSignals` **`cdx:npm:*`** - `cdx:npm:manifestSource` (the non-registry specs, such as git or tarball URLs, that manifests used for the package; a URL loses its userinfo, query string and any fragment that holds `=` or a token shape) - `cdx:npm:manifestSourceType` **`cdx:nuget:*`** - `cdx:nuget:declared_version_range` - `cdx:nuget:metadata_version` - `cdx:nuget:metadataSource` **`cdx:os:*`** - `cdx:os:modularityLabel` - `cdx:os:repo:architectures` - `cdx:os:repo:baseurl` - `cdx:os:repo:components` - `cdx:os:repo:kind` - `cdx:os:repo:metalink` - `cdx:os:repo:mirrorlist` - `cdx:os:repo:release` **`cdx:pylock:*`** - `cdx:pylock:file:path` - `cdx:pylock:file:registry` - `cdx:pylock:file:size` - `cdx:pylock:file:source_type` - `cdx:pylock:file:subdirectory` - `cdx:pylock:file:upload_time` **`cdx:pypi:*`** - `cdx:pypi:editable` **`cdx:pyproject:*`** - `cdx:pyproject:dependencyGroupMember` - `cdx:pyproject:extra` **`cdx:rpm:*`** - `cdx:rpm:sourceRpm` **`cdx:sbt:*`** - `cdx:sbt:package:development` - `cdx:sbt:failedProjects` **`cdx:service:*`** Container and rootfs scans turn the systemd unit files and init scripts that OS packages own into services. A file listed by several packages becomes one service; each owning package appears as a `cdx:service:packageRef` and `cdx:service:packageName` pair and as a dependency of the service. Unit files and init scripts larger than 1 MiB, or reached through a symbolic link, are not read, at most 64 properties are taken from one file, and the description and each property value are cut to 1024 characters. From the `[Service]` section of a unit file, the `Exec` keys become properties named after the key (`cdx:service:ExecStart`, `cdx:service:ExecStartPre` and the other `cdx:service:Exec` keys), with credentials in their command lines redacted, and `Type`, `User`, `Group`, `WorkingDirectory` and `Restart` become `cdx:service:Type`, `cdx:service:User`, `cdx:service:Group`, `cdx:service:WorkingDirectory` and `cdx:service:Restart`. - `cdx:service:DefaultStart` - `cdx:service:Provides` - `cdx:service:RequiredStart` - `cdx:service:manager` - `cdx:service:packageName` - `cdx:service:packageRef` - `cdx:service:unitType` **`cdx:skill:*`** - `cdx:skill:compatibility` - `cdx:skill:description` - `cdx:skill:license` - `cdx:skill:metadata` **`cdx:snap:*`** - `cdx:snap:channel` - `cdx:snap:confinement` - `cdx:snap:revision` - `cdx:snap:type` **`cdx:tool:*`** - `cdx:tool:aliases` - `cdx:tool:author` - `cdx:tool:category` - `cdx:tool:triggers` - `cdx:tool:version` **`cdx:trustinspector:*`** - `cdx:trustinspector:kind` **`cdx:validate:*`** - `cdx:validate:category` - `cdx:validate:engine` - `cdx:validate:mitigation` - `cdx:validate:ruleId` - `cdx:validate:scvsLevels` - `cdx:validate:severity` - `cdx:validate:standard` - `cdx:validate:standardRefs` - `cdx:validate:status` ## Consumer-oriented views ### CI/CD trust - `cdx:github:action:isShaPinned` - `cdx:github:workflow:hasWritePermissions` - `cdx:github:workflow:hasIdTokenWrite` - `cdx:actions:isOfficial` - `cdx:actions:isVerified` - `cdx:gitlab:job:image` - `cdx:azure:job:pool:vmImage` - `cdx:circleci:orb:alias` - `cdx:jenkins:agent:image` ### Dependency execution risk - `cdx:npm:hasInstallScript` - `cdx:npm:risky_scripts` - `cdx:npm:native_addon` - `cdx:npm:native_deps` - `cdx:gem:executables` - `cdx:cargo:features` ### Non-registry or local source detection - `cdx:npm:isRegistryDependency` - `cdx:npm:isLink` - `cdx:npm:resolvedPath` - `cdx:pypi:registry` - `cdx:gem:remote` - `cdx:gem:remoteRevision` - `cdx:go:local_dir` - `cdx:go:replaces` - `cdx:nix:input_url` - `cdx:swift:localCheckoutPath` - `cdx:pods:projectDir` - `cdx:pub:registry` ### Reproducibility and drift - `cdx:github:action:versionPinningType` - `cdx:npm:cleanedVersion` - `cdx:pypi:latest_version` - `cdx:gem:remoteRevision` - `cdx:gem:remoteBranch` - `cdx:nix:revision` - `cdx:nix:nar_hash` - `cdx:go:creation_time` - `cdx:build:versionSpecifiers` ### BOM completeness and explainability - `cdx:bom:componentNamespaces` - `cdx:bom:componentSrcFiles` - `cdx:bom:componentTypes` - `cdx:lolbas:names` - `cdx:lolbas:riskTags` - `cdx:container:riskTags` - `cdx:container:offenseTools` - `cdx:gtfobins:riskTags` - `cdx:osquery:category` - `cdx:service:httpMethod` ### IDE extension trust - `cdx:vscode-extension:lifecycleScripts` - `cdx:vscode-extension:activationEvents` - `cdx:vscode-extension:untrustedWorkspaces` - `cdx:vscode-extension:virtualWorkspaces` - `cdx:vscode-extension:contributes` - `cdx:vscode-extension:extensionDependencies` - `cdx:vscode-extension:extensionPack` - `cdx:vscode-extension:extensionKind` - `cdx:vscode-extension:ide` ### Browser extension trust - `cdx:chrome-extension:permissions` - `cdx:chrome-extension:optionalPermissions` - `cdx:chrome-extension:hostPermissions` - `cdx:chrome-extension:optionalHostPermissions` - `cdx:chrome-extension:contentScriptsRunAt` - `cdx:chrome-extension:contentScriptsMatches` - `cdx:chrome-extension:commands` - `cdx:chrome-extension:capability:fileAccess` - `cdx:chrome-extension:capability:deviceAccess` - `cdx:chrome-extension:capability:network` - `cdx:chrome-extension:capability:bluetooth` - `cdx:chrome-extension:capability:accessibility` - `cdx:chrome-extension:capability:codeInjection` - `cdx:chrome-extension:capability:fingerprinting` - `cdx:chrome-extension:hasAutofill` ### Trust material and signed-software review - **Repository source properties:** `cdx:os:repo:type`, `cdx:os:repo:url`, `cdx:os:repo:enabled`, plus distro-specific repo keys such as `cdx:os:repo:signedBy`, `cdx:os:repo:gpgkey`, and `cdx:os:repo:gpgcheck` - **Cryptographic material properties:** `cdx:crypto:trustDomain`, `cdx:crypto:fingerprint`, `cdx:crypto:algorithm`, `cdx:crypto:keyStrength`, `cdx:crypto:createdAt`, `cdx:crypto:expiresAt`, `cdx:crypto:keyPath`, `cdx:crypto:fileExtension`, `cdx:crypto:keyId`, `cdx:crypto:userId`, `cdx:crypto:isCA` - **Certificate identity properties** (on `assetType: certificate` components unless noted): `cdx:crypto:spkiSha256` (lowercase hex SHA-256 of the DER SubjectPublicKeyInfo; the join key for Go's CVE-2026-111943 distrust list and any pin), `cdx:crypto:spkiSha256Base64` (public-key components only; the RFC 7469 `pin-sha256` form), `cdx:crypto:certRole` (`root`, `intermediate` or `leaf`), `cdx:crypto:selfSigned` (`true`/`false`, signature-verified), `cdx:crypto:selfSignedUnverified` (`true` only when self-signed came from the self-issued fallback for a signature the runtime cannot check), `cdx:crypto:subjectKeyId`, `cdx:crypto:authorityKeyId` (lowercase hex), `cdx:crypto:issuerSpkiSha256` (repeatable; one per verified issuer key), `cdx:crypto:unverifiedIssuerSpkiSha256` (repeatable; names and key IDs chain but the signature could not be checked — never a dependency edge), `cdx:crypto:signatureAlgorithm`, `cdx:crypto:signatureAlgorithmOid`, `cdx:crypto:publicKeyAlgorithmOid` (also on public-key components as `cdx:crypto:publicKeyAlgorithmOid`), `cdx:crypto:pathLen` (only when constrained), `cdx:crypto:trustAcceptedPurposes` / `cdx:crypto:trustRejectedPurposes` (comma lists from OpenSSL `TRUSTED CERTIFICATE` aux data), `cdx:crypto:hostStore` (comma list such as `macos:SystemRoots`, `windows:LocalMachine\Root`), `cdx:crypto:keystoreReadable` (`false` or `partial`, on keystore components), `cdx:crypto:k8sSecretName` (the `metadata.name` of the Kubernetes TLS secret a certificate was read from) - **Multi-valued `cdx:crypto:sourceType`:** a certificate or public key found by several producers carries one `cdx:crypto:sourceType` property per value (for example `ca-store` and `observed-tls`), deduplicated and sorted, and the merge keeps the union whatever the order the producers ran in. A public key that is both certified and pinned has `certificate` and `pin`. Consumers must read every entry; in audit rules use `$hasProp($, 'cdx:crypto:sourceType', value)` (matches any value) or `$propValues($, 'cdx:crypto:sourceType')`. - **Kubernetes secret locations:** an occurrence of a certificate read from a secret is `#data.` or `#stringData.` (`` is `tls.crt` or `ca.crt`); `internal:SrcFile` is the file path without the fragment. - **Certificate source types** for `cdx:crypto:sourceType`: the existing values plus `ca-blocklist`, `ca-deselected`, `java-truststore`, `language-bundle`, `server-config`, `k8s-secret`, `embedded-binary`, `pin`, `host-store`, `observed-tls` (a certificate read from the chain a server presented in a traced TLS ≤ 1.2 handshake; the occurrence location is `tls://:`) - **Go toolchain per executable:** `cdx:go:buildVersion` (on `file` components with `internal:is_executable`, e.g. `go1.27.2` from the binary's buildinfo header, or `unknown-pre-1.18` for old pointer-based layouts), `cdx:go:cgoEnabled` (`true`/`false` from the module-info build lines, omitted when the binary records none), `cdx:go:cgoEnvFlagNames` (comma-separated names of the non-empty `CGO_*FLAGS` settings; their values are host C compiler flags and never leave the binary), `cdx:go:trimpath`, `cdx:go:buildmode` - **PHP runtime per file:** `cdx:php:buildVersion` (in container, rootfs and OS scans, on unpackaged `file` components for `php`, `php-fpm`, `php-cgi`, `phpdbg`, `libphp*.so` and `frankenphp`, e.g. `8.4.26` or `8.6.0RC3`, from the compiled-in `X-Powered-By: PHP/` marker or the installed `php_version.h`), `cdx:php:buildVersionSource` (`binary` or `php_version.h`), and `cdx:php:sapi` (`cli`, `fpm`, `cgi`, `phpdbg`, `libphp` or `frankenphp`) - **Node.js runtime per file:** `cdx:node:buildVersion` (in container, rootfs and OS scans, on unpackaged `node`, `nodejs` and `libnode.so*` file components, read from the compiled-in release URL `https://nodejs.org/download//v/` or the `node.js/v` string), `cdx:node:buildVersionSource` (`release-url` or `binary`) and `cdx:node:releaseChannel` (`release`, `rc`, `nightly`, `test` or `v8-canary`). Each version becomes one `platform` component, `pkg:generic/node@` with `cpe:2.3:a:nodejs:node.js:`. In formulation, each library the running Node.js reports carries `cdx:node:linkage` (`bundled`, or `shared` when the build links it as a shared library, as Homebrew and distro builds do, so updating Node.js alone does not update it). - **Ruby runtime per file:** `cdx:ruby:buildVersion` (in container, rootfs and OS scans, on unpackaged `ruby`, `ruby3.3`, `ruby.exe` and `libruby*` file components, e.g. `3.3.6` or `3.4.0-preview2`), `cdx:ruby:buildVersionSource` (`rbconfig` when read from the MAJOR, MINOR and TEENY entries of the install's `rbconfig.rb`, `binary` from the description compiled into libruby, `soname` from the `libruby.so.X.Y.Z` name, or `os-package` on the runtime component of a Ruby a package manager installed), `cdx:ruby:patchlevel` (`108`; `-1` for a pre-release or development build), `cdx:ruby:abiVersion` (the `lib/ruby/` directory, e.g. `3.3.0`) and `cdx:ruby:platform` (e.g. `x86_64-linux`, `aarch64-linux-musl`, `x64-mingw-ucrt`). Each version becomes one `platform` component, `pkg:generic/ruby@` with `cpe:2.3:a:ruby-lang:ruby:` (none for a development build, or for a pre-release whose tag nothing names); a Ruby a distro packaged also gets `pkg:generic/ruby@`, without a CPE since distros backport fixes, and `cdx:os:installedBy` names the package (`libruby3.2`, `ruby-libs`) to judge it by. Homebrew, Chocolatey and RubyInstaller builds keep the CPE. In container scans the runtime depends on its default gems. - **Ruby runtime of a project:** in source scans, the Ruby a project pins in its Gemfile.lock `RUBY VERSION` section, `.ruby-version`, `.tool-versions`, `mise.toml` or Gemfile `ruby` directive becomes `pkg:generic/ruby@` (or `jruby`, `truffleruby`) with its CPE, for every spec version. `cdx:ruby:versionSource` names the file the version came from (`Gemfile.lock` first), `cdx:ruby:patchlevel` the patchlevel Bundler recorded, `cdx:ruby:languageVersion` the Ruby language version a JRuby or TruffleRuby implements, `cdx:ruby:requiredVersionRange` the `vers` intersection of the gems' `required_ruby_version` requirements, `cdx:ruby:conflictingDeclarations` any other version the project declares, `cdx:ruby:prerelease` (`true`) a pre-release Bundler locked as `ruby X.Y.Zp-1` that no pin names the tag of (such a runtime has no CPE), and `cdx:ruby:isExternal` (`true`) that the interpreter comes with the deployment environment, which CycloneDX 1.7 also says with `isExternal`. `cdx:gem:bundledWith` (`true`) marks the `pkg:gem/bundler` component of the Bundler release the lockfile's `BUNDLED WITH` names, and `cdx:gem:defaultGem` (`true`) marks a gem read from `specifications/default/`, one that ships with Ruby (resolv, net-http, uri) and is updated by Ruby releases. - **.NET runtime:** `cdx:dotnet:sharedFramework` (`Microsoft.NETCore.App`, `Microsoft.AspNetCore.App` or `Microsoft.WindowsDesktop.App`) and `cdx:dotnet:runtimeIdentifier` (`linux-x64`, `linux-musl-arm64`, ...) on the `platform` component for each shared framework no package manager owns, named by the runtime pack its `deps.json` records, e.g. `pkg:nuget/Microsoft.NETCore.App.Runtime.linux-arm64@8.0.32` with `cpe:2.3:a:microsoft:.net:8.0.32`. The CPE uses the product names NVD uses (`.net` from 5.0 on, `.net_core` before it, `asp.net_core` for ASP.NET Core, none for WindowsDesktop), and the version and update fields follow the NVD CPE dictionary. A release candidate is `rc` (`cpe:2.3:a:microsoft:.net:11.0.0:rc3`), a preview is `preview.` for .NET 7, 8 and 10 and `preview` otherwise, a .NET Core x.y.0 release and its pre-releases and the .NET 5.0 pre-releases have a two-part version (`.net_core:3.1`, `.net:5.0:rc1`), and a pre-release of any other kind gets no CPE, because NVD names no such version. The same two properties also appear on the runtime components nested under the `dotnet` component of the formulation section, which `dotnet --list-runtimes` collects from the scanning host. - **Java runtime (JDK):** a `platform` component named `java` identifies one JDK, from its `release` file where the home is known and otherwise from the output of `java -version`. Its version is the clean `JAVA_VERSION` (`21.0.7`, `1.8.0_504`), its purl is `pkg:generic/-jdk@+` (there is no purl type for a JDK, as for Go); it carries no CPE, because the vendor-to-CPE names would be guesses and several are not in the NVD dictionary. `cdx:java:vendor` names the vendor (`Eclipse Temurin`), `cdx:java:implementor` and `cdx:java:implementorVersion` carry `IMPLEMENTOR` and `IMPLEMENTOR_VERSION`, `cdx:java:runtimeVersion` the full runtime version (`21.0.7+6-LTS`), `cdx:java:build` the build number (`6`, or `b09` for Java 8), `cdx:java:graalvmVersion` the `GRAALVM_VERSION` of a GraalVM, `cdx:java:arch` the `OS_ARCH`, `cdx:java:home` the JDK home (repeated for each home when one identity is installed more than once, which `evidence.occurrences` also lists) and `cdx:java:versionSource` where the facts came from (`release-file` or `java-version-output`). On the `java` launcher file component of a container, rootfs or OS scan, `cdx:java:version` and `cdx:java:vendor` name the JDK it belongs to, and a dependency edge links the file to the JDK component. A JDK an OS package owns is identified by that package and gets no such component, because distros backport fixes under the upstream version number. `-XshowSettings:properties` is never used, because it prints system properties, which can carry the passwords of a `JAVA_TOOL_OPTIONS`. `cdx:java:vm` is `hotspot` or `openj9`, and `cdx:java:base64IntrinsicExposure` is `exposed` (HotSpot 17.0.6 or later, open-ended until vendors publish fixed builds), `not-affected` (older JDKs, OpenJ9, Semeru) or `mitigated` (every probed process of the JDK sets `-XX:-UseBASE64Intrinsics` or `-XX:UseAVX=0` to `2`); the host-topology rules HMX-006 and HMX-007 read it. On the process and listening-port rows of a java launcher in an OBOM, `cdx:java:jvmOption:UseBASE64Intrinsics` (`true` or `false`) and `cdx:java:jvmOption:UseAVX` (`0` to `3`) record those two options as read from the row's command lines, including the text of a `JAVA_TOOL_OPTIONS` or `JDK_JAVA_OPTIONS` assignment in them; no other option is read, because a `-D` value can hold a password. The live-host probe also takes JDK homes from the launcher paths of running java processes, which finds JDKs that applications bundle. - **Embedded Brotli decoders:** `cdx:brotli:c:blockSwitchFix` (`true` when Google's C decoder in the file carries the CVE-2026-111497 fix, google/brotli 0ed4268, `false` when it does not, `unknown` when only the decoder's tables are left to recognise it by), `cdx:brotli:c:evidence` (`error-names`: the decoder's own error-name table; `constant-names`: Node.js's `BROTLI_DECODER_ERROR_FORMAT_*` table standing in for it next to the decoder tables, where a linker merged the strings; `tables`: the decoding tables alone, after `--gc-sections`, LTO or `-dead_strip` dropped the names), and `cdx:brotli:go:blockSwitchFix` (`true`/`false` for the Go port, andybalholm/brotli, fixed in v1.2.7) on unpackaged executables, shared libraries and native extension modules (Python wheels, PHP and Ruby extensions, Node.js addons, the .NET runtime's native libraries). One file can carry both a C decoder and the Go port, and each has its own property. `cdx:brotli:probe=too-large` marks a file over the 2 GiB read cap, which was not read and is therefore not known to be free of a decoder. The fix is read from the decoder's error-name table: a patched copy has the `BLOCK_SWITCH` name, an unpatched one does not; `process.versions.brotli` cannot tell them apart. The Rust port (brotli-decompressor), which is not affected, is recognised and ignored. Every embedding file depends on one `pkg:generic/brotli?vcs_url=git+https://github.com/google/brotli` library component, which carries `cdx:brotli:embeddedCopies`, `cdx:brotli:unpatchedCopies` and `cdx:brotli:unknownCopies`. A vendored brotli source tree carries `cdx:brotli:c:blockSwitchFix` from its `decode.h`, and formulation records it for the decoder the running Node.js uses. - **OS-installed language packages:** `cdx:os:installedBy` (the bom-ref of the OS package that owns a language package's metadata file, such as Alpine's `py3-brotli` for `pkg:pypi/brotli@1.1.0`). Distros fix such packages by backporting under the same upstream version, so judge the component by the OS package, not by the language advisory's version range. - **Python environments in an OBOM:** `cdx:python:environment` (`virtualenv` or `pyenv`) on packages read from a virtual environment's or a pyenv interpreter's `site-packages`, which osquery's `python_packages` table does not see. Each `dist-info` directory is an occurrence; a package the interpreter's own site-packages also holds keeps one component, with an occurrence for every installation. - **macOS trust properties:** `cdx:darwin:codesign:identifier`, `cdx:darwin:codesign:format`, `cdx:darwin:codesign:teamIdentifier`, `cdx:darwin:codesign:signed`, `cdx:darwin:codesign:runtimeVersion`, `cdx:darwin:codesign:authorityCount`, `cdx:darwin:codesign:authority`, `cdx:darwin:notarization:assessment`, `cdx:darwin:notarization:source`, `cdx:darwin:notarization:origin`, `cdx:darwin:gatekeeper:status` - **Windows trust properties:** `cdx:windows:authenticode:status`, `cdx:windows:authenticode:isOSBinary`, `cdx:windows:authenticode:statusMessage`, `cdx:windows:authenticode:signerSubject`, `cdx:windows:authenticode:signerIssuer`, `cdx:windows:authenticode:signerThumbprint`, `cdx:windows:authenticode:signerNotAfter`, `cdx:windows:authenticode:timestampSubject`, `cdx:windows:authenticode:timestampIssuer`, `cdx:windows:authenticode:timestampThumbprint`, `cdx:windows:wdac:activePolicyCount`, `cdx:windows:wdac:policyPath`, `cdx:windows:wdac:policySize`, `cdx:windows:wdac:lastModified` - **Helper-native OS package trust properties:** `PackageArchitecture`, `PackageOrigin`, `PackageSource`, `PackageStatus` **Native-field note:** cdxgen now promotes OS package maintainer/vendor trust metadata into native CycloneDX component fields when possible: `supplier`, `manufacturer`, and `authors`. If those fields already exist with different values, cdxgen leaves the existing native values untouched and retains the fallback property only when needed to avoid dropping the conflicting observation. **Compatibility note:** the six `Package*` keys above are emitted directly on OS-package components by the cdxgen Trivy wrapper for compatibility with existing container/rootfs processing. They are intentionally not `cdx:`-prefixed today, so policy authors should match the exact names shown here. ## Entry template for future additions When a new `cdx:` property is introduced, document it using this template so the inventory stays operational instead of becoming another flat list. | Key | Scope | Value type | Typical values | When emitted | Common policy use | Policy readiness | Notes | | ----------------- | ------------------------------------------------------ | ------------------------------------------------------------------- | ------------------------------ | ------------------------------------- | ------------------------------------- | ---------------------------------- | -------------------------------------------- | | `cdx:example:key` | component / workflow / job / step / metadata / service | boolean string / list string / path / URL / timestamp / JSON string | `"true"`, `main`, `sha256-...` | Trigger or parser stage that emits it | What policy authors should do with it | Hard deny / Warning / Context only | Aliases, overlaps, or compatibility guidance | ## Practical use-case patterns with policy examples Below are realistic examples showing how to use attributes individually and in combination. ### 1) Block unpinned GitHub Actions in privileged workflows **Individual signal** - `cdx:github:action:isShaPinned=false` means the action reference is tag/branch-based, not commit-SHA pinned. **Combined signal** - Escalate severity when both are true: - `cdx:github:action:isShaPinned=false` - `cdx:github:workflow:hasWritePermissions=true` (or `cdx:github:job:hasWritePermissions=true`) **JSONata** ``` components[ $prop($, 'cdx:github:action:isShaPinned') = 'false' and ( $prop($, 'cdx:github:workflow:hasWritePermissions') = 'true' or $prop($, 'cdx:github:job:hasWritePermissions') = 'true' ) ] ``` **OPA (Rego)** ```rego package cdxgen.policies has_prop(c, name, value) { some p in c.properties p.name == name p.value == value } deny[msg] { some c in input.components has_prop(c, "cdx:github:action:isShaPinned", "false") msg := sprintf("Unpinned GitHub Action: %s", [c.purl]) } deny[msg] { some c in input.components has_prop(c, "cdx:github:action:isShaPinned", "false") has_prop(c, "cdx:github:workflow:hasWritePermissions", "true") msg := sprintf("Unpinned action in write-permission workflow: %s", [c.purl]) } ``` **CEL** ```cel // any unpinned action input.components.exists(c, c.properties.exists(p, p.name == "cdx:github:action:isShaPinned" && p.value == "false") ) // unpinned action + write permissions input.components.exists(c, c.properties.exists(p, p.name == "cdx:github:action:isShaPinned" && p.value == "false") && ( c.properties.exists(p, p.name == "cdx:github:workflow:hasWritePermissions" && p.value == "true") || c.properties.exists(p, p.name == "cdx:github:job:hasWritePermissions" && p.value == "true") ) ) ``` ### 2) Flag npm packages with install-time execution risk **Individual signals** - `cdx:npm:hasInstallScript=true` - `cdx:npm:risky_scripts` contains lifecycle hooks (for example `preinstall`, `postinstall`) **Combined signal** - Raise priority when execution risk combines with non-registry source: - `cdx:npm:hasInstallScript=true` (or `cdx:npm:risky_scripts` present) - `cdx:npm:isRegistryDependency=false` **JSONata** ``` components[ $prop($, 'cdx:npm:hasInstallScript') = 'true' and $prop($, 'cdx:npm:isRegistryDependency') = 'false' ] ``` **OPA (Rego)** ```rego package cdxgen.policies has_prop(c, name, value) { some p in c.properties p.name == name p.value == value } warn[msg] { some c in input.components has_prop(c, "cdx:npm:hasInstallScript", "true") msg := sprintf("npm package has install script: %s", [c.purl]) } deny[msg] { some c in input.components has_prop(c, "cdx:npm:hasInstallScript", "true") has_prop(c, "cdx:npm:isRegistryDependency", "false") msg := sprintf("npm package executes install script from non-registry source: %s", [c.purl]) } ``` **CEL** ```cel input.components.exists(c, c.properties.exists(p, p.name == "cdx:npm:hasInstallScript" && p.value == "true") && c.properties.exists(p, p.name == "cdx:npm:isRegistryDependency" && p.value == "false") ) ``` ### 3) Enforce approved package registries and local-source policy **Individual signals** - `cdx:pypi:registry` appears when a non-default Python registry is used. - `cdx:pub:registry` appears when a non-default Dart registry is used. - `cdx:swift:localCheckoutPath` and `cdx:pods:projectDir` identify local dependency sources. **Combined signal** - Combine non-approved registries or local checkouts with environment-specific release policy. **JSONata** ``` components[ $hasProp($, 'cdx:pypi:registry') and not( $prop($, 'cdx:pypi:registry') = 'https://pypi.org/simple' or $prop($, 'cdx:pypi:registry') = 'https://pypi.org' ) ] ``` **OPA (Rego)** ```rego package cdxgen.policies approved_registries := { "https://pypi.org/simple", "https://pypi.org", } deny[msg] { some c in input.components some p in c.properties p.name == "cdx:pypi:registry" not approved_registries[p.value] msg := sprintf("Unapproved PyPI registry for %s: %s", [c.purl, p.value]) } deny[msg] { some c in input.components c.properties[_].name == "cdx:swift:localCheckoutPath" msg := sprintf("Swift local checkout is not allowed in release BOMs: %s", [c.purl]) } ``` **CEL** ```cel input.components.exists(c, c.properties.exists(p, p.name == "cdx:pypi:registry" && !(p.value in ["https://pypi.org/simple", "https://pypi.org"])) ) ``` ### 4) Require reproducibility metadata for Nix and Go **Individual signals** - `cdx:nix:revision` - `cdx:nix:nar_hash` - `cdx:go:local_dir` **Combined signal** - Consider a Nix dependency policy-compliant only when both lock properties are present. - Treat Go local replacements as non-hermetic unless explicitly allowed. **JSONata** ``` components[ $startsWith(purl, 'pkg:nix/') and ( not($hasProp($, 'cdx:nix:revision')) or not($hasProp($, 'cdx:nix:nar_hash')) ) ] ``` For go, use `$hasProp($, 'cdx:go:local_dir')` **OPA (Rego)** ```rego package cdxgen.policies has_prop(c, name) { some p in c.properties p.name == name } deny[msg] { some c in input.components startswith(c.purl, "pkg:nix/") not has_prop(c, "cdx:nix:revision") msg := sprintf("Nix component missing revision: %s", [c.purl]) } deny[msg] { some c in input.components startswith(c.purl, "pkg:nix/") not has_prop(c, "cdx:nix:nar_hash") msg := sprintf("Nix component missing nar_hash: %s", [c.purl]) } deny[msg] { some c in input.components has_prop(c, "cdx:go:local_dir") msg := sprintf("Go component uses local replacement: %s", [c.purl]) } ``` **CEL** ```cel input.components.exists(c, c.purl.startsWith("pkg:nix/") && ( !c.properties.exists(p, p.name == "cdx:nix:revision") || !c.properties.exists(p, p.name == "cdx:nix:nar_hash") ) ) || input.components.exists(c, c.properties.exists(p, p.name == "cdx:go:local_dir") ) ``` ### 5) Gate BOM completeness before downstream signing/attestation **Individual signals** - `cdx:bom:componentTypes` - `cdx:bom:componentSrcFiles` **Combined signal** - Require both metadata properties to exist before generating a “trusted” attestation. **JSONata** ``` not( $count(metadata.properties[name = 'cdx:bom:componentTypes']) > 0 and $count(metadata.properties[name = 'cdx:bom:componentSrcFiles']) > 0 ) ``` **OPA (Rego)** ```rego package cdxgen.policies meta_has(name) { some p in input.metadata.properties p.name == name } deny[msg] { not meta_has("cdx:bom:componentTypes") msg := "BOM metadata missing cdx:bom:componentTypes" } deny[msg] { not meta_has("cdx:bom:componentSrcFiles") msg := "BOM metadata missing cdx:bom:componentSrcFiles" } ``` **CEL** ```cel !(input.metadata.properties.exists(p, p.name == "cdx:bom:componentTypes") && input.metadata.properties.exists(p, p.name == "cdx:bom:componentSrcFiles")) ``` ### 6) Tighten OIDC use to trusted GitHub actions only **Individual signals** - `cdx:github:workflow:hasIdTokenWrite=true` - `cdx:actions:isOfficial` - `cdx:actions:isVerified` **Combined signal** - Escalate when a workflow can mint OIDC tokens and the action is neither official nor otherwise trusted by organization policy. **JSONata** ``` components[ $prop($, 'cdx:github:workflow:hasIdTokenWrite') = 'true' and $prop($, 'cdx:actions:isOfficial') = 'false' ] ``` **OPA (Rego)** ```rego package cdxgen.policies has_prop(c, name, value) { some p in c.properties p.name == name p.value == value } deny[msg] { some c in input.components has_prop(c, "cdx:github:workflow:hasIdTokenWrite", "true") has_prop(c, "cdx:actions:isOfficial", "false") msg := sprintf("OIDC-enabled workflow references non-official action: %s", [c.purl]) } ``` **CEL** ```cel input.components.exists(c, c.properties.exists(p, p.name == "cdx:github:workflow:hasIdTokenWrite" && p.value == "true") && c.properties.exists(p, p.name == "cdx:actions:isOfficial" && p.value == "false") ) ``` ### 7) Audit VS Code extensions for install-time execution and host access **Individual signals** - `cdx:vscode-extension:lifecycleScripts` present (especially containing `postinstall`) means the extension runs scripts during installation. - `cdx:vscode-extension:activationEvents` containing `*` means the extension activates on every workspace open. - `cdx:vscode-extension:contributes` containing `terminal-access`, `filesystem-provider`, or `authentication-provider` indicates privileged host interaction capabilities. **Combined signal** - Escalate when an always-on extension also has terminal access or lifecycle scripts: - `cdx:vscode-extension:activationEvents` contains `*` - `cdx:vscode-extension:contributes` contains `terminal-access` - `cdx:vscode-extension:lifecycleScripts` present **JSONata** ``` components[ $startsWith(purl, 'pkg:vscode-extension/') and $hasProp($, 'cdx:vscode-extension:lifecycleScripts') ] ``` **OPA (Rego)** ```rego package cdxgen.policies has_prop(c, name) { some p in c.properties p.name == name } prop_value(c, name) := v { some p in c.properties p.name == name v := p.value } deny[msg] { some c in input.components startswith(c.purl, "pkg:vscode-extension/") has_prop(c, "cdx:vscode-extension:lifecycleScripts") msg := sprintf("VS Code extension has lifecycle scripts: %s", [c.purl]) } warn[msg] { some c in input.components startswith(c.purl, "pkg:vscode-extension/") v := prop_value(c, "cdx:vscode-extension:activationEvents") contains(v, "*") msg := sprintf("VS Code extension uses wildcard activation (always-on): %s", [c.purl]) } deny[msg] { some c in input.components startswith(c.purl, "pkg:vscode-extension/") v := prop_value(c, "cdx:vscode-extension:activationEvents") contains(v, "*") cv := prop_value(c, "cdx:vscode-extension:contributes") contains(cv, "terminal-access") msg := sprintf("Always-on VS Code extension with terminal access: %s", [c.purl]) } ``` **CEL** ```cel // extension with lifecycle scripts input.components.exists(c, c.purl.startsWith("pkg:vscode-extension/") && c.properties.exists(p, p.name == "cdx:vscode-extension:lifecycleScripts") ) // always-on extension with terminal access input.components.exists(c, c.purl.startsWith("pkg:vscode-extension/") && c.properties.exists(p, p.name == "cdx:vscode-extension:activationEvents" && p.value.contains("*")) && c.properties.exists(p, p.name == "cdx:vscode-extension:contributes" && p.value.contains("terminal-access")) ) ``` ## Notes for policy authors - Prefer evaluating these as **context enrichers** rather than strict truth assertions unless you explicitly normalize missing-vs-false semantics. - Treat workspace/local path indicators (`isLink`, `resolvedPath`, `localCheckoutPath`, `projectDir`, `flake_dir`, `local_dir`) as provenance signals that may require stronger trust controls. - Treat execution-related indicators (`risky_scripts`, `hasInstallScript`, CI write permissions, OIDC enablement, action pinning type) as high-priority triage fields for software supply chain risk. - Treat VS Code extension lifecycle scripts (`cdx:vscode-extension:lifecycleScripts`) with the same urgency as npm install scripts (`cdx:npm:hasInstallScript`); both represent install-time code execution risk. Wildcard activation events (`*`) combined with terminal access or filesystem provider contributions indicate extensions with broad host access capabilities. - In Rego examples, use helper predicates such as `has_prop(c, name, value)` to ensure all property checks evaluate against the same component instance, avoiding unintended cross-component matches from repeated `c.properties[_]` array iteration. - Match overlapping keys where noted (`cdx:npm:isWorkspace` and `cdx:npm:is_workspace`; Azure pool defaults and job overrides) so older and newer BOMs behave consistently in policy engines.