Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, Nix, pacman, zypper 安装 cargo-auditable

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

安装

其他安装命令

macOS

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

local Homebrew formula metadata

Linux

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

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

Debian apt已验证 · 92%
sudo apt install cargo-auditable

Debian stable package indexes · cargo-auditable · 来源: deb.debian.org

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

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

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

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

openSUSE zypper已验证 · 92%
sudo zypper install cargo-auditable

openSUSE Tumbleweed package metadata · cargo-auditable · 来源: download.opensuse.org

概览

软件包摘要

Make production Rust binaries auditable

命令和别名

  • cargo-auditable

历史

项目历史与用法

cargo-auditable is a Rust supply-chain tool that makes compiled Rust binaries self-describing by embedding dependency-tree data into a dedicated linker section. Its practical purpose is to let tools such as cargo-audit, Trivy, Grype, Syft, OSV Scanner, and related SBOM tooling recover what crates went into a production executable.

项目历史

The public repository was created in January 2019 under the rust-secure-code organization. The README says the end goal is for Cargo itself to encode this kind of information in binaries, and points to Rust RFC work as the long-term upstream path.

The project's design is intentionally package-manager friendly: the embedded data is JSON, zlib-compressed, placed in a linker section named `.dep-v0`, and designed not to disrupt reproducible builds.

采用历史

cargo-auditable has unusually concrete adoption evidence for a niche Rust tool. Its README states that Microsoft uses it internally, that multiple Linux distributions build Rust packages with it, and that Chainguard includes it in a Rust base container with a default cargo wrapper.

The README names Alpine Linux, NixOS, openSUSE, Void Linux, Chimera Linux, Wolfi OS, and Ubuntu 26.04 adoption or opt-in paths. The supplied package-manager facts also list Alpine, Homebrew, Debian, Nix, Arch Linux, Ubuntu, and openSUSE packages.

使用方式

The standard workflow is to install cargo-auditable and cargo-audit, build with `cargo auditable build --release`, and then run `cargo audit bin` on the resulting executable.

The tool works as a wrapper around Cargo: arguments are passed through, and users who cannot change direct Cargo invocation can use documented replacement-cargo guidance. On nightly Rust, the README documents using Cargo's unstable SBOM precursor for more accurate dependency recording.

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

cargo-auditable matters because binary packages sever the obvious connection between an executable and its Cargo.lock. Embedding dependency metadata lets downstream package repositories, container scanners, and security teams audit Rust binaries after they have left the build tree.

For package nerds, it is a bridge between language-package metadata and distro/container reality. It makes Rust binaries inspectable in the same places where operators already scan containers, distribution packages, and release artifacts.

时间线

  • 2019: cargo-auditable repository created on GitHub.
  • 2024: GitHub releases show a v0.6.4 release in May.
  • 2026: README documents distribution adoption, cargo-audit integration, and nightly Cargo SBOM precursor support.

Related projects

  • cargo-auditable is directly related to cargo-audit, which can scan binaries built with it accurately.
  • The README lists consumer tools including Trivy, Grype, OSV Scanner, Syft, Docker BuildKit Syft scanner, Blint, wasm-tools, rust-audit-info, and auditable2cdx, plus Cargo SBOM and Rust RFC work as upstream-adjacent efforts.

安全态势

风险级别:绿色

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-auditablecli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-25
管理器版本0.7.5
管理器更新时间2026-05-22
本地数据OK
上游当前
检测到的最新版本v0.7.5

https://github.com/rust-secure-code/cargo-auditable

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:cargo-auditable
版本0.7.5
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/cargo-auditable
主页https://github.com/rust-secure-code/cargo-auditable
仓库https://github.com/rust-secure-code/cargo-auditable
上游文档https://github.com/rust-secure-code/cargo-auditable#readme
许可证Apache-2.0 OR MIT
源码归档https://github.com/rust-secure-code/cargo-auditable/archive/refs/tags/v0.7.5.tar.gz
最后更新2026-05-22T03:20:40Z
Pulseupdated
构建依赖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-auditable
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

cargo-auditable 0.6.6-1+b1

Make production Rust binaries auditable

https://github.com/rust-secure-code/cargo-auditable

sudo apt install cargo-auditable
  • Section: utils
  • Architecture: amd64
  • Source Package: rust-cargo-auditable
  • 2 依赖
  • normalized package name match
  • 匹配方式:Cargo Auditable
Debian stable package indexes · deb.debian.org · Debian stable package indexes: cargo-auditable from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

cargo-auditable

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

cargo-auditable 0.6.1-3

Make production Rust binaries auditable

sudo apt install cargo-auditable
  • Section: universe/utils
  • Architecture: amd64
  • Source Package: rust-cargo-auditable
  • 2 依赖
  • normalized package name match
  • 匹配方式:Cargo Auditable
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: cargo-auditable from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

cargo-auditable 0.7.5-r0

Cargo wrapper for embedding auditing data

https://github.com/rust-secure-code/cargo-auditable

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

cargo-auditable-doc 0.7.5-r0

Cargo wrapper for embedding auditing data (documentation)

https://github.com/rust-secure-code/cargo-auditable

sudo apk add cargo-auditable-doc
  • License: MIT OR Apache-2.0
  • Architecture: x86_64
  • Source Package: cargo-auditable
  • normalized package name match
  • 匹配方式:Cargo Auditable
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cargo-auditable-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
pacman95%

cargo-auditable 0.7.5-1

A cargo-subcommand to make production Rust binaries auditable

https://github.com/rust-secure-code/cargo-auditable

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

cargo-auditable 0.7.5~0-1.1

A tool to embed auditing information in ELF sections of rust binaries

https://github.com/rust-secure-code/cargo-auditable

sudo zypper install cargo-auditable
  • License: (Apache-2.0 OR MIT) AND Unicode-DFS-2016 AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR Apache-2.0 WITH
  • Category: Development/Languages/Rust
  • Architecture: x86_64
  • Source Package: cargo-auditable
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Cargo Auditable
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: cargo-auditable from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

来源线索

由仓库数据生成

此页面由 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