Audit Python environments and requirements files for known vulnerabilities with pip-audit · git:20260710.62afd0f · 2026-07-10 · sha256 7c5b9775ddf27a00

Audit Python environments and requirements files for known vulnerabilities with pip-audit git:20260710.62afd0fA

Immutable. This exact content is served forever at /api/v1/blob/7c5b9775ddf27a00.

---
name: "Audit Python environments and requirements files for known vulnerabilities with pip-audit"
slug: "audit-python-environments-and-requirements-files-for-known-vulnerabilities-with-pip-audit"
description: "Check Python environments and requirements files for published vulnerabilities before shipping, upgrading, or approving dependency changes."
github_stars: 1260
verification: "security_reviewed"
source: "https://github.com/pypa/pip-audit"
author: "PyPA"
publisher_type: "organization"
category: "Security & Verification"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "pypa/pip-audit"
  github_stars: 1260
---

# Audit Python environments and requirements files for known vulnerabilities with pip-audit

Check Python environments and requirements files for published vulnerabilities before shipping, upgrading, or approving dependency changes.

## Prerequisites

Python 3.9+, pip, pip-audit

## Installation

Use the upstream install or setup path that matches your environment:
- pip-audit
- pip-audit is a tool for scanning Python environments for packages
- pip-audit requires Python 3.10 or newer, and can be installed directly via pip:
- python -m pip install pip-audit

Requirements and caveats from upstream:
- [![Packaging status](https://repology.org/badge/tiny-repos/python:pip-audit.svg)](https://repology.org/project/python:pip-audit/versions)
- with known vulnerabilities. It uses the Python Packaging Advisory Database
- [![Packaging status](https://repology.org/badge/vertical-allrepos/python:pip-audit.svg)](https://repology.org/project/python:pip-audit/versions)

Basic usage or getting-started notes:
- [Usage](#usage)
- bash
- ### Third-party packages

- Source: https://github.com/pypa/pip-audit
- Extracted from upstream docs: https://raw.githubusercontent.com/pypa/pip-audit/HEAD/README.md

## Documentation

- https://pypa.github.io/pip-audit/

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/audit-python-environments-and-requirements-files-for-known-vulnerabilities-with-pip-audit/)