pysentry-rs
Security vulnerability auditing tool for Python packages
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-rsuv
uv add pysentry-rspoetry
poetry add pysentry-rsInstalling 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
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
pysnykA Python client library for the Snyk API that…
permissive · top 15,000 on PyPI
safetySafety CLI scans Python project dependencies…
permissive · top 5,000 on PyPI
uv-secureScans uv.lock, pylock.toml, and…
permissive · top 15,000 on PyPI
pip-auditpip-audit scans Python environments and…
permissive · top 1,000 on PyPI
socketsecuritySocket Security CLI scans Python projects for…
permissive · top 15,000 on PyPI
ca9ca9 analyzes Python package supply chains to…
copyleft · top 15,000 on PyPI
guarddogGuardDog is a CLI tool that scans PyPI, npm,…
permissive · top 15,000 on PyPI
nvdlibWrapper library for the NIST National…
permissive · top 15,000 on PyPI
cvssParses and scores CVSS v2, v3, and v4…
copyleft · top 5,000 on PyPI
pysonarA command-line scanner that integrates Python…
copyleft · top 15,000 on PyPI