safety

Install command:
brew install safety

Checks Python dependencies for known vulnerabilities and suggests remediations

https://safetycli.com/product/safety-cli

License: MIT

Formula JSON API: /api/formula/safety.json

Formula code: safety.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
sequoia
sonoma
ventura
macOS on
Intel
sonoma
ventura
Linux ARM64
x86_64

Current versions:

stable 3.6.0
head ⚡️ HEAD

Depends on:

certifi 2025.8.3 Mozilla CA bundle for Python
cryptography 45.0.6 Cryptographic recipes and primitives for Python
python@3.13 3.13.6 Interpreted, interactive, object-oriented programming language

Depends on when building from source:

cmake 4.1.0 Cross-platform make
rust 1.88.0 Safe, concurrent, practical language

Analytics:

Installs (30 days)
safety 67
Installs on Request (30 days)
safety 67
Build Errors (30 days)
safety 0
Installs (90 days)
safety 221
Installs on Request (90 days)
safety 221
Installs (365 days)
safety 772
Installs on Request (365 days)
safety 772