{"id":30908195,"url":"https://github.com/nyudenkov/pysentry","last_synced_at":"2026-06-08T01:01:25.180Z","repository":{"id":308631236,"uuid":"1033532448","full_name":"nyudenkov/pysentry","owner":"nyudenkov","description":"🐍 Scan your Python dependencies for known security vulnerabilities with Rust-powered scanner","archived":false,"fork":false,"pushed_at":"2026-04-08T12:44:48.000Z","size":1021,"stargazers_count":220,"open_issues_count":26,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-04-08T14:34:13.247Z","etag":null,"topics":["pipfile","pyproject-toml","python","security","security-audit","security-automation","security-scanner","security-tools","vulnerability-scanners"],"latest_commit_sha":null,"homepage":"http://docs.pysentry.com/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nyudenkov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"buy_me_a_coffee":"nyudenkov"}},"created_at":"2025-08-07T01:03:13.000Z","updated_at":"2026-04-07T11:48:45.000Z","dependencies_parsed_at":"2025-08-21T21:18:50.804Z","dependency_job_id":"bf8ccb6f-1312-4d5c-9d19-861248b35f6f","html_url":"https://github.com/nyudenkov/pysentry","commit_stats":null,"previous_names":["nyudenkov/pysentry"],"tags_count":28,"template":false,"template_full_name":null,"purl":"pkg:github/nyudenkov/pysentry","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nyudenkov%2Fpysentry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nyudenkov%2Fpysentry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nyudenkov%2Fpysentry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nyudenkov%2Fpysentry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nyudenkov","download_url":"https://codeload.github.com/nyudenkov/pysentry/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nyudenkov%2Fpysentry/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31818840,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T18:05:02.291Z","status":"ssl_error","status_checked_at":"2026-04-14T18:05:01.765Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pipfile","pyproject-toml","python","security","security-audit","security-automation","security-scanner","security-tools","vulnerability-scanners"],"created_at":"2025-09-09T14:01:56.768Z","updated_at":"2026-06-08T01:01:25.159Z","avatar_url":"https://github.com/nyudenkov.png","language":"Rust","funding_links":["https://buymeacoffee.com/nyudenkov"],"categories":["Rust"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n\u003cimg src=\"assets/logo.svg\" alt=\"PySentry logo\" width=\"96\" height=\"96\"\u003e\n\n# PySentry\n\n**A fast, reliable security vulnerability scanner for Python projects, written in Rust.**\n\n[![PyPI Downloads](https://static.pepy.tech/badge/pysentry-rs/week)](https://pepy.tech/projects/pysentry-rs)\n\n[Help to test and improve](https://github.com/nyudenkov/pysentry/issues/12) · [Participate in pysentry usage survey](https://tally.so/r/mYNPNv)\n\n\u003c/div\u003e\n\nPlease, send feedback to nikita@pysentry.com\n\nPySentry audits Python projects for known security vulnerabilities by analyzing dependency files and cross-referencing them against multiple vulnerability databases.\n\n**[Documentation](https://docs.pysentry.com)** · **[Benchmarks](benchmarks/results/)** · **[Buy Me a Coffee](https://buymeacoffee.com/nyudenkov)**\n\n## Features\n\n- **Multiple formats** — `uv.lock`, `poetry.lock`, `Pipfile.lock`, `pylock.toml`, `pyproject.toml`, `Pipfile`, `requirements.txt`\n- **Multiple sources** — PyPA Advisory Database, PyPI JSON API, OSV.dev (all enabled by default)\n- **PEP 792 support** — Detects archived, deprecated, and quarantined packages\n- **Flexible output** — Human-readable, JSON, SARIF, Markdown\n- **Fast** — Written in Rust with async processing and caching\n\n## Installation\n\n```bash\n# Using uvx (recommended)\nuvx pysentry-rs /path/to/project\n\n# Using pip\npip install pysentry-rs\n\n# Using cargo\ncargo install pysentry\n\n# Pre-built binaries available at GitHub Releases\n```\n\nSee [Installation Guide](https://docs.pysentry.com/getting-started/installation) for all options.\n\n## Quick Start\n\n\u003e **Note:** Examples use `pysentry-rs`. If you installed via `cargo install pysentry` or a binary release, replace it with `pysentry` throughout.\n\n```bash\n# Scan current directory\npysentry-rs\n\n# Scan specific project\npysentry-rs /path/to/project\n\n# Filter by severity\npysentry-rs --severity high\n\n# Output to JSON\npysentry-rs --format json --output report.json\n\n# Fail on critical vulnerabilities only\npysentry-rs --fail-on critical\n\n# Block quarantined packages (malware protection)\npysentry-rs --forbid-quarantined\n```\n\nSee [Quickstart Guide](https://docs.pysentry.com/getting-started/quickstart) for more examples.\n\n## Pre-commit\n\n```yaml\nrepos:\n  - repo: https://github.com/pysentry/pysentry-pre-commit\n    rev: v0.4.6\n    hooks:\n      - id: pysentry\n        # Use compact mode for minimal pre-commit output\n        # args: ['--compact']\n```\n\n## Configuration\n\nPySentry supports TOML configuration via `.pysentry.toml` or `pyproject.toml`:\n\n```toml\n# .pysentry.toml\nversion = 1\n\n[defaults]\nseverity = \"medium\"\nfail_on = \"high\"\n\n[sources]\nenabled = [\"pypa\", \"osv\"]\n\n[ignore]\nids = [\"CVE-2023-12345\"]\n```\n\nSee [Configuration Guide](https://docs.pysentry.com/configuration/config-files) for all options.\n\n## Documentation\n\nFull documentation is available at **[docs.pysentry.com](https://docs.pysentry.com)**:\n\n- [Installation](https://docs.pysentry.com/getting-started/installation)\n- [Quickstart](https://docs.pysentry.com/getting-started/quickstart)\n- [CLI Options](https://docs.pysentry.com/configuration/cli-options)\n- [Configuration Files](https://docs.pysentry.com/configuration/config-files)\n- [Environment Variables](https://docs.pysentry.com/configuration/environment-variables)\n- [Troubleshooting](https://docs.pysentry.com/troubleshooting)\n\n## Requirements\n\n- **For `requirements.txt` scanning**: Install `uv` (recommended) or `pip-tools` for dependency resolution\n- **Python**: 3.9–3.14 (for pip/uvx installation)\n- **Rust**: 1.79+ (for cargo installation or building from source)\n\n## Acknowledgments\n\n- Inspired by [pip-audit](https://github.com/pypa/pip-audit) and [uv #9189](https://github.com/astral-sh/uv/issues/9189)\n- Vulnerability data from [PyPA](https://github.com/pypa/advisory-database), [PyPI](https://pypi.org/), and [OSV.dev](https://osv.dev/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnyudenkov%2Fpysentry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnyudenkov%2Fpysentry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnyudenkov%2Fpysentry/lists"}