Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, Nix, pacman 安装 cargo-cyclonedx

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install cargo-cyclonedx

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add cargo-cyclonedx

Alpine Linux edge package indexes · cargo-cyclonedx · 来源: dl-cdn.alpinelinux.org

Fedora dnf已验证 · 92%
sudo dnf install cargo-cyclonedx

Fedora Rawhide package metadata · cargo-cyclonedx · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#cargo-cyclonedx

nixpkgs package indexes · pkgs/by-name/ca/cargo-cyclonedx/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S cargo-cyclonedx

Arch Linux sync databases · cargo-cyclonedx · 来源: geo.mirror.pkgbuild.com

概览

软件包摘要

Creates CycloneDX Software Bill of Materials (SBOM) from Rust (Cargo) projects

命令和别名

  • cargo-cyclonedx

历史

项目历史与用法

cargo-cyclonedx is the Rust Cargo plugin from the CycloneDX project. It generates CycloneDX Software Bill of Materials files for Cargo projects, using Cargo metadata and lockfile information to describe Rust dependencies.

项目历史

The cyclonedx-rust-cargo repository was created in 2019 and contains both the cyclonedx-bom Rust library and the cargo-cyclonedx application. The cargo-cyclonedx crate was published later as the command-line plugin for Cargo users.

The project belongs to the OWASP CycloneDX ecosystem. The CycloneDX site describes CycloneDX as a full-stack Bill of Materials standard for cyber-risk reduction, while the Rust plugin adapts that standard to Cargo workspaces.

采用历史

cargo-cyclonedx adoption tracks the broader rise of SBOM requirements in software supply-chain security. It is packaged across multiple operating-system package managers and crates.io metadata shows more than one million downloads by June 2026.

Its value increased as organizations began asking Rust projects for SBOMs that can be consumed by security, compliance, and asset-management tooling.

使用方式

The documented command is `cargo cyclonedx`, run inside a Rust project containing Cargo.toml. By default it writes BOM files adjacent to Cargo.toml files in the workspace.

The plugin can emit XML or JSON, choose CycloneDX spec versions, select targets and feature sets, and describe crates, binaries, or all Cargo targets. The README notes that it uses both Cargo.lock and `cargo metadata`, which gives it more build-configuration context than lockfile-only scanners.

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

cargo-cyclonedx is important because it turns Cargo's dependency graph into a standardized interchange artifact. Package managers and security systems can consume the resulting BOM without knowing Rust internals.

It also illustrates a practical distinction in SBOM generation: registry lockfiles are not enough when features, targets, binaries, and package metadata affect what a Rust build actually contains.

时间线

  • 2019: cyclonedx-rust-cargo repository created.
  • 2021: crates.io records the cargo-cyclonedx crate publication.
  • 2021-2026: Project continues as the Rust Cargo plugin within the CycloneDX tool ecosystem.
  • 2026: crates.io metadata shows more than one million downloads.

Related projects

  • cyclonedx-bom is the Rust library in the same repository used to read and write CycloneDX BOM data.
  • CycloneDX is the OWASP BOM standard that defines the output format.
  • Cargo metadata is the upstream Cargo command whose output helps the plugin model Rust projects more accurately.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
cargo-cyclonedxcli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-25
管理器版本0.5.9
管理器更新时间
本地数据OK
上游当前
检测到的最新版本cargo-cyclonedx-0.5.9

https://github.com/CycloneDX/cyclonedx-rust-cargo

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:cargo-cyclonedx
版本0.5.9
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/cargo-cyclonedx
主页https://cyclonedx.org/
仓库https://github.com/CycloneDX/cyclonedx-rust-cargo
上游文档https://github.com/CycloneDX/cyclonedx-rust-cargo/tree/main/cargo-cyclonedx#readme
许可证Apache-2.0
源码归档https://github.com/CycloneDX/cyclonedx-rust-cargo/archive/refs/tags/cargo-cyclonedx-0.5.9.tar.gz
构建依赖rust
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Nix95%

cargo-cyclonedx

nix profile install nixpkgs#cargo-cyclonedx
  • normalized package name match
  • 匹配方式:Cargo Cyclonedx
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ca/cargo-cyclonedx/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

cargo-cyclonedx 0.5.9-r0

Creates CycloneDX Software Bill of Materials (SBOM) from Rust (Cargo) projects

https://github.com/CycloneDX/cyclonedx-rust-cargo

sudo apk add cargo-cyclonedx
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: cargo-cyclonedx
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Cargo Cyclonedx
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cargo-cyclonedx from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

cargo-cyclonedx 0.5.9-1.fc45

CycloneDX Software Bill of Materials (SBOM) for Rust Crates

https://crates.io/crates/cargo-cyclonedx

sudo dnf install cargo-cyclonedx
  • License: Apache-2.0 AND CC0-1.0 AND MIT AND MIT-0 AND Unicode-3.0 AND Unicode-DFS-2016 AND (Apache-2.0 OR MIT) AND (Unlicense OR MIT)
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: rust-cargo-cyclonedx
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Cargo Cyclonedx
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: cargo-cyclonedx from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

cargo-cyclonedx 0.5.9-1

Creates CycloneDX Software Bill of Materials (SBOM) from Rust (Cargo) projects

https://github.com/CycloneDX/cyclonedx-rust-cargo

sudo pacman -S cargo-cyclonedx
  • License: Apache-2.0
  • Architecture: x86_64
  • 3 依赖
  • normalized package name match
  • 匹配方式:Cargo Cyclonedx
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: cargo-cyclonedx from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

来源线索

由仓库数据生成

此页面由 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 package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment