# Dependency audit

> Dependency audit is an open-source agent skill for security. Audits project dependencies for CVEs, outdated versions, license risks and bloat. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/tansuasici/claude-code-kit/tree/main/.claude/skills/dependency-audit
- **Repository:** https://github.com/tansuasici/claude-code-kit
- **GitHub stars:** 6
- **License:** MIT
- **Skill name:** dependency-audit
- **Collection:** https://github.com/tansuasici/claude-code-kit
- **Categories:** [security](https://ai-powered.com/categories/security), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill has the agent review a project's third-party packages and produce a structured report covering known vulnerabilities, version currency, license compatibility and redundant or oversized packages. It works through the project's manifests and lock files in stages: first cataloging direct and development dependencies and checking whether lock files are present, then assessing version health, deprecations, supply-chain signals such as post-install scripts and maintainer depth, and finally license and bloat issues. Recommendations are grouped into immediate security fixes, short-term updates and longer-term replacements.

The skill is report-only by default. It instructs the agent not to install or upgrade anything, or to edit files, unless the user explicitly asks it to implement or apply fixes. It also recommends running native audit tools such as npm audit, pip audit, go vuln check, cargo audit or bundle audit to verify CVEs, since its own analysis is static and based on manifests.

It expects a project with readable dependency manifests in common ecosystems such as Node.js, Python, Go, Rust, Ruby, Java and Gradle. Network access to check package metadata is implied but not specified, and it has no bundled scripts.

## When your agent uses it

> Audit dependencies for security vulnerabilities, outdated versions, license risks, and bloat. Use when reviewing third-party packages, before a release, or when the user asks about CVEs, updates, or supply-chain risk.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/tansuasici/claude-code-kit/tree/HEAD/.claude/skills/dependency-audit)
- [License: MIT](https://github.com/tansuasici/claude-code-kit/tree/HEAD/.claude/skills/dependency-audit)

## Features

- **Manifest inventory:** Catalogs direct, development and transitive dependencies across common package manifests and lock files.
- **Version health checks:** Flags packages that are far behind their latest major versions, pinned or conflicting, and deprecated.
- **Security assessment:** Looks for known vulnerabilities, supply-chain risk, post-install scripts and dependency confusion exposure.
- **License compliance review:** Flags copyleft conflicts, missing licenses and custom terms that need legal review.
- **Bloat and redundancy detection:** Finds duplicate utility libraries, oversized packages and dev tools shipped to production.
- **Structured audit report:** Produces a summary and tables with prioritized immediate, short-term and long-term recommendations.

## Good for

- Review the dependencies of a project before cutting a release
- Check whether any packages have known CVEs and what version fixes them
- Find outdated or unmaintained libraries in a codebase
- Spot GPL or unlicensed packages in a proprietary project
- Identify duplicate libraries that could be consolidated
- Assess supply-chain risk before adding a new third-party package

## Install

### Claude Code

This skill ships in the `claude-code-kit` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add tansuasici/claude-code-kit
/plugin install claude-code-kit@claude-code-kit
```

Or copy only this skill to `~/.claude/skills/dependency-audit`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tansuasici/claude-code-kit.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/dependency-audit &&
cp -R "$tmp/.claude/skills/dependency-audit" ~/.claude/skills/dependency-audit &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/dependency-audit` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/dependency-audit` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tansuasici/claude-code-kit.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/dependency-audit &&
cp -R "$tmp/.claude/skills/dependency-audit" ~/.agents/skills/dependency-audit &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/dependency-audit` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/dependency-audit` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tansuasici/claude-code-kit.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/dependency-audit &&
cp -R "$tmp/.claude/skills/dependency-audit" ~/.cursor/skills/dependency-audit &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/dependency-audit` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/tansuasici/claude-code-kit.git --path .claude/skills/dependency-audit
```

Or copy the folder to `~/.gemini/skills/dependency-audit` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/dependency-audit`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tansuasici/claude-code-kit.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/dependency-audit &&
cp -R "$tmp/.claude/skills/dependency-audit" ~/.copilot/skills/dependency-audit &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/dependency-audit` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/tansuasici/claude-code-kit.git
```

Then copy `claude-code-kit/.claude/skills/dependency-audit` into your agent's skills folder as `dependency-audit`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does Dependency audit install or upgrade packages?

No. It is report-only by default and will not install or upgrade anything without explicit user approval. It only modifies files when the user explicitly asks for implement, fix, apply or refactor.

### Does Dependency audit verify CVEs by itself?

Its analysis is static, based on manifest and lock files. The skill recommends running ecosystem audit tools such as npm audit, pip audit, go vuln check or cargo audit to verify CVEs.

### When does the skill trigger?

It is invoked with /dependency-audit, and it applies when reviewing third-party packages, before a release, or when the user asks about CVEs, updates or supply-chain risk.

### Does Dependency audit give legal advice on licenses?

No. The license analysis is informational, and the skill advises consulting legal counsel for compliance decisions.

### How do I install Dependency audit in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/dependency-audit to use it in all your projects, or to .claude/skills/dependency-audit in one project. Or install the claude-code-kit plugin, which includes it: /plugin marketplace add tansuasici/claude-code-kit, then /plugin install claude-code-kit@claude-code-kit.

### Does Dependency audit run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Dependency audit?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Dependency audit?

The closest alternatives to Dependency audit are Go dependency audit, Dependency health triage, Dependency health loop, Supply chain risk auditor and Security review.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Go dependency audit](https://ai-powered.com/skills/go-dependency-audit): Go dependency audit is an open-source agent skill for security.
- [Dependency health triage](https://ai-powered.com/skills/dependency-health-triage): Dependency health triage is an open-source agent skill for security.
- [Dependency health loop](https://ai-powered.com/skills/dependency-health-loop): Dependency health loop is an open-source agent skill for developer tools.
- [Supply chain risk auditor](https://ai-powered.com/skills/supply-chain-risk-auditor): Supply chain risk auditor is an open-source agent skill for security.
- [Security review](https://ai-powered.com/skills/security-review): Security review is an open-source agent skill for security.
- [Security audit](https://ai-powered.com/skills/security-audit): Security audit is an open-source agent skill for security.
- [Supply chain audit](https://ai-powered.com/skills/supply-chain-audit): Supply chain audit is an open-source agent skill for security.
- [Security agent](https://ai-powered.com/skills/security-agent): Security agent is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/dependency-audit
