macOS
brew install cargo-auditablelocal Homebrew formula metadata
安装
brew install cargo-auditablelocal Homebrew formula metadata
sudo apk add cargo-auditableAlpine Linux edge package indexes · cargo-auditable · 来源: dl-cdn.alpinelinux.org
sudo apt install cargo-auditableDebian stable package indexes · cargo-auditable · 来源: deb.debian.org
nix profile install nixpkgs#cargo-auditablenixpkgs package indexes · pkgs/by-name/ca/cargo-auditable/package.nix · 来源: api.github.com
sudo pacman -S cargo-auditableArch Linux sync databases · cargo-auditable · 来源: geo.mirror.pkgbuild.com
sudo zypper install cargo-auditableopenSUSE Tumbleweed package metadata · cargo-auditable · 来源: download.opensuse.org
概览
Make production Rust binaries 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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
cargo-auditable | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/rust-secure-code/cargo-auditable
安装元数据
| 软件包键 | 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 |
| Pulse | updated |
| 构建依赖 | rust |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cargo-auditable |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
cargo-auditable 0.6.6-1+b1
Make production Rust binaries auditable
https://github.com/rust-secure-code/cargo-auditable
sudo apt install cargo-auditablecargo-auditable
nix profile install nixpkgs#cargo-auditablecargo-auditable 0.6.1-3
Make production Rust binaries auditable
sudo apt install cargo-auditablecargo-auditable 0.7.5-r0
Cargo wrapper for embedding auditing data
https://github.com/rust-secure-code/cargo-auditable
sudo apk add cargo-auditablecargo-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-doccargo-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-auditablecargo-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来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.