dependency-audit

Audit Python dependencies for CVEs, outdated packages, licenses, and unused imports.

Updated Dec 12, 2025
One-click install
npx skills add https://github.com/mitchellvandusen-cell/Flask-Webhook --skill dependency-audit-mitchellvandusen-cell
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dependency-audit
Source: https://github.com/mitchellvandusen-cell/Flask-Webhook/tree/main/.claude/skills/dependency-audit
Command: npx skills add https://github.com/mitchellvandusen-cell/Flask-Webhook --skill dependency-audit-mitchellvandusen-cell

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pip-audit, safety, pip-licenses, pipdeptree, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of auditing dependencies in Python projects for security vulnerabilities, outdated packages, license compliance, and unused imports.

Core Features & Use Cases

  • Dependency Inventory: Scans requirements.txt and identifies all Python packages with their versions.
  • CVE Scan: Checks for known vulnerabilities (CVEs) in dependencies.
  • Version Currency Check: Verifies that all packages are up-to-date with the latest versions.
  • License Compliance: Checks for licenses and flags any issues that could affect proprietary SaaS.
  • Transitive Dependency Analysis: Identifies vulnerabilities in transitive dependencies.
  • Unused Dependency Detection: Flags unused packages that could be removed for optimization.
  • Python Version Compatibility: Ensures that all packages are compatible with the target Python version.

Quick Start

Run the 'dependency-audit' skill to automatically scan the dependencies of your project for potential issues.

Frequently Asked Questions about dependency-audit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scan Python dependencies for security vulnerabilities and license compliance?

Python dependency auditing scans requirements.txt to identify CVEs, outdated packages, and license issues. It verifies transitive dependencies and flags unused imports to ensure proprietary SaaS compliance.

What is the best way to check for unused imports and outdated Python packages?

Detecting unused Python packages involves analyzing project imports against installed dependencies. Version currency checks verify all packages match the latest releases, while compatibility checks ensure alignment with the target Python version.

Does dependency auditing work for transitive dependencies in Python projects?

Transitive dependency analysis identifies vulnerabilities hidden deep within Python package trees. It maps nested requirements to catch CVEs that direct package scans might miss, ensuring complete security coverage.

Can I verify Python version compatibility and license compliance for SaaS applications?

Python version compatibility checks ensure all dependencies support the target runtime environment. License verification scans package metadata to flag restrictive or non-compliant licenses that could impact proprietary SaaS distribution.

Why do I need pip-audit and safety to check requirements.txt for CVEs?

Checking requirements.txt for CVEs requires scanning package versions against known vulnerability databases. These tools automate transitive dependency analysis and version currency checks to pinpoint security gaps.

What are the limitations of automated dependency auditing for Python projects?

Automated dependency auditing relies on parsing requirements.txt and may miss dynamically installed packages not listed in the file. It verifies versions and licenses but cannot guarantee runtime behavior without active execution analysis.