Dependency audit

From weisser-dev/awesome-opencode · View interactive version

Dependency audit is an AI agent skill from the GitHub repository weisser-dev/awesome-opencode. Scan dependencies for CVEs, outdated packages, license issues, and unused deps to produce a prioritized remediation list

How to use this skill

Skill file

What I do

When to use me

Use this skill when you need to:

Process

  1. Detect: Identify package manager and lockfiles
  1. Scan for vulnerabilities: Run the appropriate audit command

```bash

# Node.js

npm audit --json

# Python

pip-audit --format=json

# Go

govulncheck ./...

```

  1. Check for outdated packages: List packages behind latest

```bash

npm outdated --json

pip list --outdated --format=json

```

  1. Detect unused dependencies: Cross-reference imports against declared deps
  1. License audit: Extract license from each dependency
  1. Prioritize findings: Produce a remediation table

Output Format

## Dependency Audit Report

### Critical Vulnerabilities
| Package | Version | CVE | Severity | Fix Version |
|---------|---------|-----|----------|-------------|
| example | 1.2.3   | CVE-2024-XXXXX | Critical | 1.2.4 |

### Outdated Packages
| Package | Current | Latest | Type |
|---------|---------|--------|------|
| example | 1.0.0   | 2.0.0  | Major |

### License Issues
| Package | License | Issue |
|---------|---------|-------|
| example | GPL-3.0 | Incompatible with MIT project |

### Unused Dependencies
- `unused-pkg` — not imported anywhere in source

Severity Classification

Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.