agentleFS
ByronScottJonesByronScottJones/Agents/skills/remediate-dependency-vulnerabilities/SKILL.md

remediate-dependency-vulnerabilities

Skill7 starsChanged 2 months agoMITView on GitHub

Use when scanning dependencies for CVEs, auditing software supply chains, or upgrading vulnerable packages. Detects package managers, reports findings, optionally proposes upgrades, and validates the result without changing files unless explicitly requested.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    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
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Run the safest available scanner for each ecosystem.

    line 26
  2. Distinctive:

    Run the requested build and test validation.

    line 32
  3. Distinctive:

    Never weaken a security scanner to obtain a green result.

    line 37
  4. Distinctive:

    Do not upgrade across a major version without identifying compatibility risk.

    line 38
  5. Distinctive:

    Never commit secrets, generated credentials, or private scan data.

    line 39
  6. Distinctive:

    Treat scanner results as evidence.

    line 40

≈ “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

Remediate Dependency Vulnerabilities

Scan declared and lockfile dependencies, identify safe remediation paths, and validate upgrades. This skill implements security.md and dependencies.md.

Parameters

  • projectPath: project root; default workspace root.
  • packageManagers: explicit list or auto-detect.
  • severity: critical, high, medium, low, or all; default high.
  • includeTransitive: default true.
  • excludeDevDependencies: default false.
  • mode: report, propose, or apply; default report.
  • validateAfter: none, build, test, or build+test; default build+test for apply.
  • format: summary, json, or sarif; default summary.

Workflow

  1. Detect manifests, lockfiles, package managers, and project conventions.
  2. Run the safest available scanner for each ecosystem.
  3. Normalize findings by package, version, advisory, severity, and fix version.
  4. Distinguish direct, transitive, runtime, and development dependencies.
  5. In propose mode, identify compatible upgrade paths and breaking changes.
  6. In apply mode, require confirmation, update only the selected dependencies, and preserve lockfile consistency.
  7. Run the requested build and test validation.
  8. Report unresolved findings, exceptions, and rollback guidance.

Safety

  • Never weaken a security scanner to obtain a green result.
  • Do not upgrade across a major version without identifying compatibility risk.
  • Never commit secrets, generated credentials, or private scan data.
  • Treat scanner results as evidence; verify false positives and compensating controls.

Output

Return package managers, scan timestamp, findings by severity, proposed or applied versions, validation results, skipped findings, and remaining risk.

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.