# 使用 Homebrew 安装 safety

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

## 安装

```sh
sudo av install brew:safety
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install safety
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:safety
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/safety>
- **版本:** 3.8.1
- **来源摘要:** Checks Python dependencies for known vulnerabilities and suggests remediations
- **主页:** <https://safetycli.com/product/safety-cli>
- **仓库:** <https://github.com/pyupio/safety>
- **上游文档:** <https://safetycli.com/product/safety-cli>
- **许可证:** MIT
- **源码归档:** <https://files.pythonhosted.org/packages/c2/7b/8e1d580c5178f0736b806b7199827e61e2a2569eec5b49ec75da6273bbdf/safety-3.8.1.tar.gz>
- **最后更新:** 2026-07-09T10:25:35Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- safety (cli)
- safety (别名)

## 依赖

- certifi
- cryptography
- pydantic
- python@3.14

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 3.8.1
- 管理器更新时间: 2026-07-09
- 本地数据: OK
- 上游仓库: https://safetycli.com/product/safety-cli
- 信息: Release/tag comparison is only available for GitHub repositories.

## 安全说明

没有找到 safety 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 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: .safety-policy.yml
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** safety
- **Version Scheme:** 0
- **Revision:** 1
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://pkg.so/zh-hans/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [cve-bin-tool](https://pkg.so/zh-hans/brew/cve-bin-tool/) - Shares pkgdb curated category or tags: cli, python, security, software-supply-chain, vulnerability-scanner.
- [sigstore](https://pkg.so/zh-hans/brew/sigstore/) - Shares pkgdb curated category or tags: cli, python, security, software-supply-chain, supply-chain-security.
- [cosign](https://pkg.so/zh-hans/brew/cosign/) - Shares pkgdb curated category or tags: cli, security, software-supply-chain, supply-chain-security.
- [osv-scanner](https://pkg.so/zh-hans/brew/osv-scanner/) - Shares pkgdb curated category or tags: cli, security, vulnerability-scanner, vulnerability-scanning.
- [nuclei](https://pkg.so/zh-hans/brew/nuclei/) - Shares pkgdb curated category or tags: cli, security, vulnerability-scanner, vulnerability-scanning.
- [rekor-cli](https://pkg.so/zh-hans/brew/rekor-cli/) - Shares pkgdb curated category or tags: cli, security, software-supply-chain, supply-chain-security.
- [poutine](https://pkg.so/zh-hans/brew/poutine/) - Shares pkgdb curated category or tags: cli, security, software-supply-chain, supply-chain-security.
- [cyclonedx-python](https://pkg.so/zh-hans/brew/cyclonedx-python/) - Shares pkgdb curated category or tags: cli, python, security, software-supply-chain.

## Combined YAML source

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


## 来源

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