# 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.

- Skill: `agentskillexchange/audit-python-environments-and-requirements-files-for-known-v` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/audit-python-environments-and-requirements-files-for-known-v`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/audit-python-environments-and-requirements-files-for-known-v/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Security
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/audit-python-environments-and-requirements-files-for-known-v

---


# 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/)

