agentleFS
aradmanamnaoonaradmanamnaoon/vibe-coding-skills/skills/security/dependency-vulnerability-auditor/SKILL.md

dependency-vulnerability-auditor

Skill0 starsChanged 18 days agoMITView on GitHub

Review dependency additions and upgrades for known vulnerabilities, risky provenance, and unnecessary supply-chain exposure. Use for dependency changes or security audits.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read applicable repository instructions before edits.

    line 20
  2. Distinctive:

    Run the repository's vulnerability/advisory tooling when available and record database freshness.

    line 33
  3. Distinctive:

    Check suspicious naming, unexpected registry sources, install scripts, abandoned packages, and unnecessary additions.

    line 35
  4. Distinctive:

    Prefer removal or existing dependencies when the new package adds little value.

    line 37
  5. Distinctive:

    Run tests/build after any remediation.

    line 38
  6. Distinctive:

    Do not run package install scripts solely to inspect a suspicious package.

    line 46
  7. Distinctive:

    If advisory access is unavailable, perform local provenance/manifest checks and explicitly mark vulnerability freshness unverified.

    line 63

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Purpose

Reduce supply-chain risk without treating scanner output as automatically exploitable.

When to activate

Dependencies are added/updated or a security review includes third-party packages.

When not to activate

The task is unrelated to dependency state and no manifest/lockfile changed.

Preconditions

  • Read applicable repository instructions before edits.
  • Preserve unrelated working-tree changes and establish a baseline when the workflow can modify code.
  • Identify which tools and environments are actually available; do not claim unavailable checks ran.

Required inputs

  • Manifests and lockfiles
  • Runtime/deployment context
  • Available advisory/scanner data

Workflow

  1. Enumerate direct dependency deltas and identify their package source and resolved versions.
  2. Run the repository's vulnerability/advisory tooling when available and record database freshness.
  3. Prioritize direct reachable/runtime findings over unrelated dev/transitive noise, while still recording all findings.
  4. Check suspicious naming, unexpected registry sources, install scripts, abandoned packages, and unnecessary additions.
  5. For upgrades, verify the target version exists, resolves the advisory, and remains API/runtime compatible.
  6. Prefer removal or existing dependencies when the new package adds little value.
  7. Run tests/build after any remediation.

Relevant tools

Package manager, advisory scanner, registry metadata, lockfile diff.

Safety restrictions

Do not run package install scripts solely to inspect a suspicious package; inspect metadata/source first.

Validation

  • Scanner/advisory output is captured with versions and timestamp/source.
  • A remediation is verified against both advisory state and application tests.
  • Unresolved findings retain severity and rationale rather than disappearing from the report.

Expected output

  • Dependency delta
  • Findings with provenance
  • Remediation and compatibility evidence
  • Accepted/unresolved risks

Failure handling

If advisory access is unavailable, perform local provenance/manifest checks and explicitly mark vulnerability freshness unverified.

Completion criteria

The skill is complete only when every applicable validation item above has observed evidence or is explicitly marked not executed with the concrete blocker. Do not replace missing evidence with confidence language.

Research mapping

This skill was selected from research problems: P018, P052. See research/vibe-coding-problems.md and research/problem-evidence.csv in the Vibe Coding Skills repository.

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.