Skip to content
Back to skills

Dependency Vulnerability Triage

ASecurity

Sorts npm, pip or other audit output by whether the vulnerable code is reachable, then fixes the real risks first and documents what is safe to defer.

  • 3 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added November 15, 2026
ai-agentsgo

Security analysis

A100/100

Scanned November 15, 2026

npx -y skills add workspace-templates/ai-agent-templates --skill dependency-vulnerability-triage --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dependency Vulnerability Triage?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Dependency Vulnerability Triage
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/workspace-templates-dependency-vulnerability-triage/badge)](https://www.skillsdirectory.com/skills/workspace-templates-dependency-vulnerability-triage)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: dependency-vulnerability-triage
description: Sorts npm, pip or other audit output by whether the vulnerable code is reachable, then fixes the real risks first and documents what is safe to defer.
---

# Dependency vulnerability triage

Rank by reachability and exposure, not by headline severity.

## Steps

1. Run the ecosystem's audit with JSON output (`npm audit --json`, `pip-audit -f json`, `cargo audit --json`, `bundler-audit`). Keep the raw file.
2. Group findings by package. For each, note: advisory id, affected range, fixed version, and whether it is a direct or transitive dependency (`npm ls <pkg>` or `pipdeptree -r -p <pkg>`).
3. Decide reachability. Read the advisory to learn the vulnerable function or condition, then search the code for calls into it. Classify: reachable, possibly reachable, not reachable, dev or build only.
4. Weigh exposure: does attacker-controlled input get to it? Does it run in production or only in tests?
5. Order the fixes: reachable and internet-facing first, then possibly reachable, then the rest. Prefer the smallest bump that reaches the fixed version, using overrides or resolutions for transitive packages.
6. Apply one group of upgrades at a time, run the tests and build, and commit each separately so a break is easy to bisect.
7. For anything deferred, write the reason and a review date.

## Rules

- Do not run a blanket `npm audit fix --force`.
- Never ignore a finding without a written reason.
- If no fixed version exists, propose a mitigation or a replacement package.

## Report

A table: package, advisory, reachable (yes/no/unknown), action, status. Then the deferred list with reasons.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.