# 使用 Homebrew 安装 vet

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

## 安装

```sh
sudo av install brew:vet
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install vet
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:vet
- **软件包管理器:** Homebrew
- **版本:** 1.18.1
- **来源摘要:** Policy driven vetting of open source dependencies
- **主页:** <https://safedep.io/>
- **仓库:** <https://github.com/safedep/vet>
- **最后更新:** 2026-07-30T13:57:09Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- vet (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.18.1
## 项目历史与用法

SafeDep vet is an open-source software-composition-analysis CLI for dependency vetting. It scans repositories, manifests, SBOMs, package URLs, container images, and related inputs, enriches dependencies with risk data, and evaluates policy rules so teams can block vulnerable, malicious, unhealthy, or non-compliant open-source components.

### 项目历史

The public repository was created on December 30, 2022, with early development releases appearing in January 2023. The project grew around the post-SolarWinds and post-typosquatting supply-chain-security problem: application teams needed automated dependency review that could be enforced locally and in CI rather than handled as a manual checklist.

SafeDep documentation describes Vet as a free, open-source SCA scanner for malicious, vulnerable, and risky dependencies in code and CI/CD. Its policy approach uses CEL expressions and policy suites, tying it to the broader policy-as-code movement rather than only to fixed vulnerability reports.

### 采用历史

Vet's adoption path is integration-driven. The project documents use in local scans, arbitrary CI systems, and a native GitHub Action for policy-driven guardrails. Its README also lists multi-ecosystem support across common package managers, container images, SBOM formats, and source repositories, which makes it useful as a cross-language dependency gate.

As SafeDep expanded, Vet became the CLI engine for a larger supply-chain-security platform. Official materials connect the CLI to OSV, OpenSSF Scorecard, deps.dev, SafeDep malware intelligence, active malware analysis, SARIF/JSON/CSV reporting, and SafeDep Cloud.

### 使用方式

Typical use starts with `vet scan -D /path/to/dir` to auto-discover known dependency manifests in a repository. Users can also scan a single manifest, a package URL, a Java archive, an OCI image, or an SBOM, then apply CEL filters or filter suites to fail a build when packages violate organization policy.

The tool is especially useful when teams want dependency governance to be versioned with the code. A repository can carry a YAML policy file that blocks critical vulnerabilities, disallowed licenses, low-maintenance projects, known malware indicators, or other package metadata conditions.

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

Vet sits in the package-nerd sweet spot where registry metadata, vulnerability feeds, maintainer health, malware signals, and CI enforcement all meet. It is less about one ecosystem's lockfile and more about making open-source dependency choice auditable across ecosystems.

### 时间线

- 2022-12-30: GitHub repository created.
- 2023-01-12: Early v0.0.1-dev release published.
- 2026-06-24: GitHub page lists v1.17.5 as the latest release.
- 2020s: SafeDep documentation positions Vet as a policy-as-code SCA scanner integrated with CI/CD and supply-chain intelligence sources.

### Related projects

- SafeDep Cloud: hosted intelligence and policy services used with Vet.
- vet-action: the GitHub Action integration for running Vet in CI.
- OSV, OpenSSF Scorecard, deps.dev, Syft, and SLSA: ecosystem data and standards referenced by the project documentation and README.

### 来源

- <https://api.github.com/repos/safedep/vet>
- <https://api.github.com/repos/safedep/vet/releases?per_page=100>
- <https://docs.safedep.io/vet/advanced/policy-as-code>
- <https://docs.safedep.io/vet/concepts/why-vet>
- <https://docs.safedep.io/vet/quickstart>
- <https://github.com/safedep/vet>


## 安全说明

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



## 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

- Unix: vet.yaml, vet.yml, .vet.yaml, .vet.yml

## Combined YAML source

View the package source record on GitHub. [combined/vet.yml](https://github.com/mxcl/pkgdb/blob/main/combined/vet.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
