Scan Python Dependencies for Vulnerabilities with PySentry

Scan Python Dependencies for Vulnerabilities with PySentry

PySentry - Scan your Python dependencies for known vulnerabilities. Built in Rust for performance, PySentry is fast, easy to use, and supports flexible output formats (Markdown, JSON, etc.).

Here are some examples πŸ‘‡

# Install pysentry-rs using uv (or use pip install pysentry-rs)
$ uv add pysentry-rs           

# Run a security scan on the current environment
$ pysentry-rs                  
# PYSENTRY SECURITY AUDIT
# =======================
#
# SUMMARY: 142 packages scanned β€’ 11 vulnerable β€’ 18 vulnerabilities found
#
# SEVERITY:  1 CRITICAL     17 LOW
#
# FIXABLE: 17 vulnerabilities can be fixed by upgrading packages
# UNFIXABLE: 1 vulnerabilities cannot be fixed
#
# VULNERABILITIES
# ---------------
#
# 1. PYSEC-2022-42992  gitpython v3.1.24  [CRITICAL] [source: pypa-zip]
#    All versions of package gitpython are vulnerable to Remote Code Execution (RCE) due to improper user input validation...
#    β†’ Fix: Upgrade to 3.1.30+~
# ...

# Export the scan results in markdown format to security-report.md
$ pysentry-rs --format markdown --output security-report.md

Subscribe to our newsletter and stay updated.

Don't miss anything. Get all the latest posts delivered straight to your inbox.
Great! Check your inbox and click the link to confirm your subscription.
Error! Please enter a valid email address!