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
# Run this command in your terminal to install Safety
pip install safety
Step 2
# Register for a free account via the CLI or via
# https://platform.safetycli.com/register
safety auth login
Step 3
# Initialize Safety Firewall with a single command:
safety init
Step 4
# 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/