← Back to Resources

Python Package Vulnerability Checker

Paste your Python packages and see which have known vulnerabilities or are malicious, with the CVE ids, how serious each one is, and the version to upgrade to. Free, no sign-up, and it runs in your browser.

Paste the output of python -m pip freeze, a requirements.txt, pip list, or a poetry.lock, uv.lock or Pipfile.lock. Up to 1,000 packages per check.

Run python --version and enter the result to check Python itself against selected recent CPython issues.

Tip: Ctrl+Enter in the list runs the check.

Everything runs in your browser. Only package names and versions are sent, to OSV.dev (Google's open source vulnerability database). Nothing is sent to Buffalo Sentinel.

Questions

How do I get my package list?

Activate the environment you want to check (the virtual environment, conda environment or system Python your program uses) and run python -m pip freeze. Copy the output and paste it here. Each environment has its own packages, so check each one separately. A requirements.txt only gives exact versions when every line is pinned with ==; a poetry.lock, uv.lock or Pipfile.lock always records the exact versions.

Where do the vulnerability results come from?

From OSV.dev, the open source vulnerability database run by Google. For PyPI packages it combines the GitHub Advisory Database (GHSA ids), the Python Packaging Advisory Database (PYSEC ids) and the OpenSSF Malicious Packages list (MAL ids). The same issue often has several ids; the checker merges records that point at each other and lists the other ids, including CVE numbers, under each advisory.

Does Buffalo Sentinel see my package list?

No. The list is read in your browser. The only data that leaves your computer is each package name and version, sent to OSV.dev (api.osv.dev) to look up advisories. Comments, file paths, URLs and anything else in what you paste stay on your computer, and nothing is sent to Buffalo Sentinel.

Why does a package say it is not pinned?

Advisories apply to specific versions. A line such as flask>=2.0 or django~=4.2 allows many versions, and the one actually installed depends on when and where it was installed, so the checker does not guess. Run python -m pip freeze in the environment to get the exact versions, or paste your lock file.

What should I do about a malicious package?

A MAL advisory means the published package contains malware, often a look-alike name (typosquatting) that steals credentials or installs a backdoor when it is installed. Uninstall it, then treat the computer as exposed: rotate the passwords, API keys, cloud credentials and tokens that were on that machine or in that environment, check how the package got there, and scan or rebuild the machine. Installing it once may have been enough to run its code.

Which Python versions does the CPython check cover?

Only a few recent CPython security issues, listed in the results with links to their advisories. It is not a full check of your Python version. Keep Python on the latest patch release of a supported version from python.org. Linux distributions often backport fixes without changing the version number, so a distribution's Python may already include a fix even if this check says otherwise.

If a package shows no advisories, is it safe?

It means OSV.dev has no published advisory for that exact version today. Vulnerabilities are found all the time, new malicious packages appear daily, and packages from a private index that share a name with a public package are matched against the public one. Check again regularly and keep packages up to date.

Want this checked on every computer automatically?

A paste-in check covers one environment on the day you run it. If you need the Python packages on your Windows and Linux computers watched for vulnerable and malicious packages, talk to us about what you run and what Buffalo Sentinel can do for you.

Talk to us