# Safety — card for AI agents

Scans Python dependencies for known vulnerabilities.

Category: Auth and security libraries · PyPI package `safety` · latest version 3.8.1 (checked 2026-11-01)
Install: `pip install safety`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Agent Skills for it
- safety-alignment-constitutional-ai from davila7/claude-code-templates: `npx skills add davila7/claude-code-templates --skill safety-alignment-constitutional-ai`
- safety-interlocks from benchflow-ai/skillsbench: `npx skills add benchflow-ai/skillsbench --skill safety-interlocks`

## Numbers (AgentGid data)
- Gid Score: 37.9 (#3385 of all tools, 121 of 141 in its category)
- Used in 3 public projects set up for AI coding agents (0.0%)
- Downloads last week: 612,427 (as of 2026-11-24), -13.0% over 4 weeks
- GitHub stars: 1,999 (as of 2026-11-24)
- Last push: 2026-11-05

## Often used with
Pydantic 100.0%, python-dotenv 100.0%, FastAPI 93.3%, Uvicorn 93.3%, Bandit 86.7%, Black 80.0%

## Links
- AgentGid page: https://agentgid.com/tools/safety/
- Homepage: https://safetycli.com
- Repository: https://github.com/pyupio/safety

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
