Simple deployment

Secure Your People, Codebases and AI-Assistants in <60s.

Requirements

Safety supports Python versions >=3.8. Further details on supported versions, as well as options to run Safety CLI on versions <3.8 using a Docker image are available in our Documentation Hub.

Step 1

Install Safety

# Run this command in your terminal to install Safety
pip install safety

Step 2

Authenticate

# Register for a free account via the CLI or via 
# https://platform.safetycli.com/register
safety auth login

Step 3

Initialize and Scan

# Initialize Safety Firewall with a single command:
safety init

Step 4

View Results in Safety Platform

# Clear, Actionable Recommendations:
Dependency vulnerabilities detected:

 jinja2==3.1.4 [1 vulnerability found]                            
  -> Vuln ID 74735:
 
A vulnerability in the Jinja compiler allows an attacker who can
control both the content and filename of a te...

Update jinja2==3.1.4 to jinja2==3.1.5 to fix 1 vulnerability

View Scan Results: https://platform.safetycli.com/