agentleFS
K95M65K95M65/AI_ONBOARD/skills/dependency-vuln-scan/SKILL.md

dependency-vuln-scan

Skill0 starsChanged 5 months agoMITView on GitHub

Scan a project's dependencies for known vulnerabilities (CVEs). Use when auditing a codebase's supply chain, gating a release, or triaging an unfamiliar project's dependencies. Supports npm/pnpm/yarn and Go, plus osv-scanner.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run bash scripts/scan.sh [path] (defaults to .).

    line 15

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Dependency vulnerability scan

When to use

Checking installed dependencies for known CVEs — part of a security audit, a pre-release gate, or sizing up an unfamiliar repo's supply chain.

Steps

  1. Run bash scripts/scan.sh [path] (defaults to .). It detects the ecosystem and runs the matching scanner:
    • Node (package.json): npm audit (or pnpm/yarn if that's the lockfile).
    • Go (go.mod): govulncheck ./....
    • Any lockfile: osv-scanner if installed (broadest, cross-ecosystem).
  2. Triage by reachability, not just severity: a Critical on a hot path outranks a Critical in an unused transitive dep. govulncheck reports call-path reachability; for npm, check whether the vulnerable API is actually used.
  3. For each actionable item note: advisory id, affected package@version, fixed version, and whether the upgrade is breaking.
  4. Fold results into an audit report or remediation list. Prioritize using impact × exploitability: reachable severe impact first, then limited-impact or hard-precondition findings.

Notes

  • The script degrades gracefully — if a scanner isn't installed it prints the install command and moves on.
  • A clean scan means "no known vulns in the advisory DBs at scan time" — not "safe". Re-run over time.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.