skillfed

pysentry-rs

Security vulnerability auditing tool for Python packages

pysentry-rs v0.4.9 99.2K downloads/30d#13,037 on PyPI245
Permissive license MIT Active released

What it is and what it does

PySentry is a command-line vulnerability scanner for Python projects built on a Rust core. It reads your dependency manifest or lock file (supporting formats like uv.lock, poetry.lock, Pipfile.lock, pyproject.toml, requirements.txt, and others), resolves the full dependency tree, and checks every package against three vulnerability databases concurrently. It then reports what is affected, how severe it is, and what upgrade fixes it.

The tool is designed for CI pipelines and local development. It distinguishes direct from transitive dependencies, flags archived or deprecated packages, and supports multiple output formats (human-readable, JSON, SARIF, Markdown). You can set exit thresholds by severity, forbid known malicious packages, and integrate it into pre-commit hooks or GitHub Actions. It has no runtime Python dependencies and comes with pre-built binaries for common platforms.

Use it for:

  • Audit a Python project in CI before deployment to catch known vulnerabilities early and fail the build if critical issues are found
  • Scan a requirements.txt or pyproject.toml file locally to identify outdated or vulnerable dependencies before committing
  • Generate a SARIF report for GitHub Code Scanning to track vulnerabilities alongside other code quality checks
  • Integrate into a pre-commit hook to prevent commits that introduce known vulnerable packages
  • Reject packages flagged as malicious or quarantined by using --forbid-quarantined in your build pipeline

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

PySentry scans Python projects for known security vulnerabilities by reading dependency manifests and lock files, checking them against multiple vulnerability databases, and reporting findings with severity levels and upgrade paths.

Yes. PySentry is actively maintained, has no runtime dependencies, supports modern Python versions (3.9–3.14), and addresses a real security need with a straightforward CLI. The MIT license is permissive. Medium install friction is acceptable given the pre-built wheels and active development. Use it if you want a fast, multi-database vulnerability scanner for Python dependencies.

Install

pysentry-rs on PyPI

pip

pip install pysentry-rs

uv

uv add pysentry-rs

poetry

poetry add pysentry-rs

Installing pysentry-rs

Before you install

Medium install friction due to pre-built wheels for multiple Python versions (3.9–3.14) and platforms. Active maintenance with a release 15 days ago and regular commits. No runtime dependencies simplifies deployment.

License in practice

MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions, making it suitable for both open-source and commercial projects.

Quickstart

pip install pysentry-rs
pysentry-rs
# or scan a specific project:
pysentry-rs /path/to/project
# report only high and critical findings:
pysentry-rs --severity high

Requires Python 3.9 or later. For scanning manifests without a lock file (requirements.txt, pyproject.toml, Pipfile), uv or pip-tools must be installed separately.

Verify before relying

  • Whether the three databases (PyPA Advisory, PyPI JSON API, OSV.dev) are queried with equal coverage or if one is more complete than others
  • Performance characteristics on projects with very large dependency trees
  • How frequently the local cache is refreshed and whether it can be manually cleared

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.9)
Install friction medium — platform-specific wheel
Runtime dependencies none
Maintenance actively maintained — 15 days since the last release
Last repo commit
First released
Downloads 99,183/month — #13,037 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: pysentry_rs-0.4.9-cp310-cp310-macosx_10_12_x86_64.whl; pysentry_rs-0.4.9-cp310-cp310-macosx_11_0_arm64.whl; pysentry_rs-0.4.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; pysentry_rs-0.4.9-cp310-cp310-manylinux_2_28_aarch64.whl; pysentry_rs-0.4.9-cp310-cp310-win_amd64.whl; pysentry_rs-0.4.9-cp311-cp311-macosx_10_12_x86_64.whl; pysentry_rs-0.4.9-cp311-cp311-macosx_11_0_arm64.whl; pysentry_rs-0.4.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; pysentry_rs-0.4.9-cp311-cp311-manylinux_2_28_aarch64.whl; pysentry_rs-0.4.9-cp311-cp311-win_amd64.whl; pysentry_rs-0.4.9-cp312-cp312-macosx_10_12_x86_64.whl; pysentry_rs-0.4.9-cp312-cp312-macosx_11_0_arm64.whl; pysentry_rs-0.4.9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; pysentry_rs-0.4.9-cp312-cp312-manylinux_2_28_aarch64.whl; pysentry_rs-0.4.9-cp312-cp312-win_amd64.whl; pysentry_rs-0.4.9-cp313-cp313-macosx_10_12_x86_64.whl; pysentry_rs-0.4.9-cp313-cp313-macosx_11_0_arm64.whl; pysentry_rs-0.4.9-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; pysentry_rs-0.4.9-cp313-cp313-manylinux_2_28_aarch64.whl; pysentry_rs-0.4.9-cp313-cp313-win_amd64.whl

Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: RustTopic :: SecurityTopic :: Software Development :: Libraries :: Python Modules

Tags

python dependency vulnerability scannersecurity audit python packagesCVE detection for python projectsdependency vulnerability checkerpython security scanning toollock file vulnerability auditpython package security auditor
vulnerability-scanningci-integrationdependency-audit

More Python Modules packages