# dependency-health-check

> Scan your dependency manifests for outdated, vulnerable and deprecated packages and get a prioritized upgrade list before you start work or merge a version bump.

dependency-health-check is a free AI agent skill on Agensi by Timoranjes, in Security. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Timoranjes](https://www.agensi.io/creators/zicheng-liao)
- Category: [Security](https://www.agensi.io/skills/security)
- Uses: 14
- Version: 1.0
- Last updated: 2026-10-17
- Security: scan passed (2026-05-25); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/dependency-health-check
- Tags: audit, dependencies, security, vulnerability-scanning

## About this skill

### The Problem

Your Go project's `go.mod` references `golang.org/x/crypto v0.17.0`. The current version is `v0.31.0`. Between those versions, CVE-2024-45337 was patched — a critical authentication bypass. Your dependency checker (if you have one) only runs on `package.json` and ignores Go entirely. Six months later, a penetration test flags the vulnerability. You spend a sprint upgrading, backporting fixes, and explaining to the security team why a known CVE sat in your dependency tree for half a year. The fix: scan all your dependency manifests, not just the ones you remember to check.

### What You Get

- **Auto-detect all package managers** — scan the project tree for npm, yarn, pnpm, pip, poetry, Go modules, Cargo, Bundler, and Maven manifests using content sniffing, not filename guessing
- **Check for known CVEs** using ecosystem-specific tools — `npm audit`, `pip-audit`, `govulncheck`, `cargo audit`, `bundle audit` — with fallback to reference tables when CLI tools aren't available
- **Classify findings by severity** — Critical (CVE CVSS >= 7.0, officially deprecated, unmaintained 12+ months), Warning (>= 1 major version behind, CVSS < 7.0), Info (>= 1 minor version behind, devDependency outdated)
- **Detect version conflicts** across workspaces — flag when `package.json` in root pins v5.2.0 but a sub-package requires v5.3.0, or when `go.mod` has `replace` directives masking incompatibilities
- **Produce a machine-readable report** — every row includes package name, current version, latest version, severity tier, and specific notes about why it was flagged
- **Stay read-only** — never modify manifest files, lockfiles, or any project source. The skill scans and reports; you decide what to upgrade

### Why This Beats Prompting It Yourself

You can ask an agent "check my dependencies" and it will run `npm audit` if you have a `package.json`. But it won't also scan your `go.mod`, `Cargo.toml`, and `pom.xml` in the same pass. It won't cross-reference `requirements.txt` against known advisory tables when `pip-audit` isn't installed. It won't detect that two workspaces pin conflicting versions of the same library. This skill runs a systematic 5-step process across all nine supported ecosystems, producing a unified report regardless of what languages your project uses.

### Example Session

You: "Audit dependency health for this monorepo — it's Node.js + Python + Go"

Agent:

```
DEPENDENCY HEALTH REPORT
════════════════════════

Manifests detected: 3 ecosystems, 5 manifests
Scan date: 2026-09-21

CRITICAL (2)
────────────
Package              Ecosystem  Current  Latest   Notes
───────────────────  ─────────  ───────  ───────  ─────────────────────────────────────────────
golang.org/x/crypto  Go         v0.17.0  v0.31.0  CVE-2024-45337 (CVSS 9.1) — auth bypass
requests             pip        2.28.1   2.32.3   CVE-2024-35195 (CVSS 7.5) — cert verification
                                                  bypass

WARNING (4)
───────────
Package        Ecosystem  Current  Latest  Notes
─────────────  ─────────  ───────  ──────  ──────────────────────
express        npm        4.18.2   5.0.1   1 major version behind
pydantic       poetry     1.10.12  2.9.2   1 major version behind
gin-gonic/gin  Go         1.9.0    1.10.0  1 minor version behind

INFO (3)
────────
Package     Ecosystem  Current  Latest  Notes
──────────  ─────────  ───────  ──────  ───────────────────────
typescript  npm        5.3.3    5.6.3   3 minor versions behind
py
```
### Use Cases

- Starting work on an unfamiliar codebase — assess dependency debt before making changes
- Pre-merge PR review — validate that dependency version bumps don't introduce CVEs
- Routine security audits — scheduled scans of all project manifests
- Monorepo maintenance — detect cross-workspace version conflicts
- Pre-deployment security gates — block deploys with Critical CVEs in dependency tree
- Evaluating upgrade feasibility — see which packages are major versions behind before planning migration work

### Known Limitations

Read-only scanning cannot fix vulnerabilities — upgrades require manual intervention with testing. CVE databases lag behind discoverability — a dependency may have undisclosed vulnerabilities. Lockfile analysis requires the lockfile to be present and committed. Cross-manifest version conflict detection works for monorepos but not for independently deployed microservices with separate dependency trees.

### Upgrade to Pro
Free lists CVEs, staleness, and deprecations. **Dependency Health Check Pro ($5)** sequences the fixes: transitive-aware upgrade order, license compliance, SARIF output, and decay scoring. Upgrade when dependency work is a standing task — [Pro version](https://www.agensi.io/skills/dependency-health-check-pro).

## Requires

- Python

## Known limitations

Read-only scanning cannot fix vulnerabilities — upgrades require manual intervention with testing. CVE databases lag behind discoverability — a dependency may have undisclosed vulnerabilities. Lockfile analysis requires the lockfile to be present and committed. Cross-manifest version conflict detection works for monorepos but not for independently deployed microservices with separate dependency tr

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the dependency-health-check skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### Which programming languages and package managers are supported?

This skill supports a wide range of popular package managers including npm, yarn, pnpm, pip, poetry, Go modules, Cargo, Bundler, and Maven. It is designed to work seamlessly in polyglot repositories that use multiple languages simultaneously.

### How does this differ from just asking an AI to review my package.json or requirements.txt?

Unlike standard AI prompts, this skill uses a deterministic framework to cross-reference your specific dependency tree against security advisories and maintenance records. It provides structured, actionable health reports rather than generic advice, filtering out noise to focus on critical vulnerabilities and deprecated packages.

### Which AI agents or platforms can I use this skill with?

This skill is designed as a portable tool compatible with most major AI agent platforms and orchestration frameworks that support custom skill integration. It requires standard file-read permissions to analyze your manifest files and lockfiles.

### Does the health check require me to grant the agent execution access to my code?

No, the skill performs its analysis by reading your manifest files (like package.json or requirements.txt) and does not require execution of your project code. This ensures a secure auditing process without the risks associated with running unverified scripts.

### What specific information is included in the final health report?

The skill provides a multi-tier health report covering security vulnerabilities (CVEs), maintenance status (deprecated or stale packages), version drift (behind major/minor releases), and environment integrity issues like missing lockfiles.

### What is included in the purchase, and how are security definitions kept up to date?

Your purchase includes the skill definition and documentation for integration. Updates to the security vulnerability reference tables and maintenance logic are handled via version updates to the skill on this marketplace.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
