Automic VaultAutomic Vault

brew

使用 Homebrew, Nix, winget 安装 cdxgen

查看 cdxgen 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install cdxgen

local Homebrew formula metadata

Linux

Nix已验证 · 92%
nix profile install nixpkgs#cdxgen

nixpkgs package indexes · pkgs/by-name/cd/cdxgen/package.nix · 来源: api.github.com

Windows

Windows Package Manager已验证 · 92%
winget install --id CycloneDX.cdxgen -e

Windows Package Manager source index · CycloneDX.cdxgen · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Creates CycloneDX Software Bill-of-Materials (SBOM) for projects

命令和别名

  • cbom
  • cdx-audit
  • cdx-convert
  • cdx-sign
  • cdx-validate
  • cdx-verify
  • cdxgen
  • cdxgen-secure
  • cdxi
  • evinse
  • hbom
  • obom
  • saasbom
  • spdxgen

历史

项目历史与用法

CycloneDX Generator, usually called cdxgen, is a CLI, library, REPL, and server for generating CycloneDX and SPDX software bill of materials documents from source trees, container images, binaries, hosts, and related inputs.

项目历史

The GitHub API records the cdxgen repository as created on 2019-12-30. Its package metadata identifies @cyclonedx/cdxgen as the npm package and points to the official GitHub repository, while the README now presents cdxgen as a broader BOM toolkit covering SBOM, CBOM, OBOM, SaaSBOM, HBOM, AI-BOM, and validation/signing workflows.

The project grew from a CycloneDX SBOM generator into a multi-command supply-chain analysis suite with commands such as cdxgen, cdx-validate, cdx-convert, cdx-sign, cdx-verify, cdx-audit, evinse, hbom, obom, cbom, saasbom, aibom, and spdxgen.

采用历史

cdxgen's adoption tracks the rise of SBOM requirements in software supply-chain security. The README positions it for developers, AppSec, compliance teams, SOC analysts, hardware teams, and AI platform teams, and the supplied package-manager metadata shows Homebrew, Nix, and winget packaging in addition to npm and GitHub release binaries.

使用方式

The common developer path is cdxgen -o bom.json . for a local project, with additional modes for containers, git URLs, purls, hosts, AI assets, and validation/conversion/signing. The README emphasizes CI/CD use and standalone binaries for several commands.

为什么软件包爱好者会关心

cdxgen is package-nerd significant because it turns package graphs into standardized artifacts that other tools can consume. It sits at the intersection of language package managers, container metadata, CycloneDX, SPDX, Dependency-Track-style workflows, and modern compliance demands.

时间线

  • 2019: GitHub API records the cdxgen repository as created on 2019-12-30.
  • 2024: Git tags include the v10 series, showing the project had reached a mature major-version cadence.
  • 2026: Homebrew formula packages cdxgen 12.7.0, and the README documents CycloneDX 1.5-1.7 plus SPDX 3.0.1 support.

Related projects

  • CycloneDX is the primary BOM specification cdxgen emits.
  • OWASP Dependency-Track and depscan are adjacent downstream/security workflows referenced by the project documentation.
  • SPDX is supported as an export format through cdxgen and cdx-convert.

安全态势

尚未找到受保护工具覆盖

没有找到 cdxgen 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 5 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
.cdxgenrc.cdxgen.json.cdxgen.yml.cdxgen.yaml

可执行文件

已安装的可执行文件

命令类型暴露范围备注
cbomcli全局可执行文件
cdx-auditcli全局可执行文件
cdx-convertcli全局可执行文件
cdx-signcli全局可执行文件
cdx-validatecli全局可执行文件
cdx-verifycli全局可执行文件
cdxgencli全局可执行文件
cdxgen-securecli全局可执行文件
cdxicli全局可执行文件
evinsecli全局可执行文件
hbomcli全局可执行文件
obomcli全局可执行文件
saasbomcli全局可执行文件
spdxgencli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本12.7.1
管理器更新时间2026-07-09
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/CycloneDX/cdxgen

安装元数据

软件包元数据

软件包键brew:cdxgen
版本12.7.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/cdxgen
主页https://github.com/CycloneDX/cdxgen
仓库https://github.com/CycloneDX/cdxgen
上游文档https://cdxgen.github.io/cdxgen
许可证Apache-2.0
源码归档https://registry.npmjs.org/@cyclonedx/cdxgen/-/cdxgen-12.7.1.tgz
最后更新2026-07-09T15:58:25Z
Pulseupdated
依赖dotnet, node, ruby, sourcekitten, trivy
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecdxgen
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

cdxgen

nix profile install nixpkgs#cdxgen
  • normalized package name match
  • 匹配方式:Cdxgen
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/cd/cdxgen/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
winget95%

CycloneDX.cdxgen

winget install --id CycloneDX.cdxgen -e
  • normalized package name match
  • 匹配方式:Cdxgen
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: CycloneDX.cdxgen from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment