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
tahoe
sequoia
sonoma
macOS on
Intel
sonoma
Linux ARM64
x86_64

Current versions:

stable 3.6.2
head ⚡️ HEAD

Depends on:

certifi 2025.10.5 Mozilla CA bundle for Python
cryptography 46.0.2 Cryptographic recipes and primitives for Python
python@3.13 3.13.7 Interpreted, interactive, object-oriented programming language

Depends on when building from source:

cmake 4.1.2 Cross-platform make
rust 1.90.0 Safe, concurrent, practical language

Analytics:

Installs (30 days)
safety 85
Installs on Request (30 days)
safety 85
Build Errors (30 days)
safety 0
Installs (90 days)
safety 204
Installs on Request (90 days)
safety 204
Installs (365 days)
safety 749
Installs on Request (365 days)
safety 749