package-doctor
A scanning tool that prioritizes action on actively exploited vulnerabilities and neglected Python dependencies.
What does it do?
It reads lockfiles, requirements files, and other files to scan dependencies, then groups results by the action needed. In CI, it scans a repository, fails the job if items need attention, and leaves a summary report. It can also run through pre-commit and Claude Code hooks, produce SARIF for code scanning, and record accepted risks with a reason and expiration date.
Key features
- Reads dependencies from uv.lock, poetry.lock, Pipfile.lock, requirements*.txt, and other files.
- Records scan results in a CI job summary and fails the job when necessary.
- Runs as a pre-commit hook and produces SARIF for code scanning.
- Checks dependencies before and after installation through a Claude Code hook.
- Allows known risks to be accepted with a reason and expiration date.