Skip to content

s3dev/vscanner

Repository files navigation

A simple Python package vulnerability scanner

PyPI - Version PyPI - Implementation PyPI - Python Version PyPI - Status Static Badge PyPI - License PyPI - Wheel

Overview

vscanner is a lightweight Python tool designed to scan Python packages (and their dependencies) for known vulnerabilities. By analyzing a requirements.txt-style input file, it cross-references each package against the OSV (Open Source Vulnerabilities) database and logs the results - including vulnerable packages, versions, and severity - to a structured CSV file. Ideal for developers and security teams, vscanner helps identify and mitigate risks in your project’s dependencies with minimal setup.

Quickstart

Installation

To install vscanner, first activate the target virtual environment, then use pip:

pip install vscanner

For older releases, visit PyPI or the GitHub Releases page.

Command Line Utility

Simply run vscan with the path to the input file containing the libraries to scan. Once the scan is complete, a log file (in CSV format) is written to your Desktop.

For example:

vscan /path/to/requirements.txt

Important: The input file is expected to be in requirements.txt-style format.

Command Line Utility Options

Help Menu: --help

The help menu can be accessed at any time using the following. This provides an overview of the tool's capabilities and available options.

vscan --help

No Dependencies: --no-deps

To perform a scan on the listed packages only, (i.e. disabling the dependency search and scan), pass the --no-deps argument as:

vscan /path/to/requirements.txt --no-deps

Troubleshooting

No troubleshooting guidance is available at this time.

For questions not covered here, or to report bugs, issues, or suggestions, please open an issue on GitHub.

About

A simple Python package vulnerability scanner.

Resources

License

Stars

Watchers

Forks