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.
In this repository29 other files it gives its agents.
- AGENTS.mdAGENTS.md
- address-pr-commentsSkill
- build-and-scan-container-imageSkill
- execute-database-migrationSkill
- generate-adrSkill
- generate-service-documentationSkill
- get-pr-commentsSkill
- incident-triageSkill
- install-dev-toolsSkill
- prepare-releaseSkill
- review-configurationSkill
- twg-agentic-searchSkill
- twg-artifactsSkill
- twg-code-reviewSkill
- twg-confluenceSkill
- twg-context-discoverySkill
- twg-engineering-workSkill
- twg-jira-resolve-merged-workSkill
- twg-jiraSkill
- twg-operational-healthSkill
- twg-responsibility-routingSkill
- twgSkill
- twg-space-creationSkill
- twg-status-rollupsSkill
- validate-and-deploy-iacSkill
- validate-and-deploy-kubernetesSkill
- validate-documentationSkill
- validate-github-actionsSkill
- verify-service-healthSkill
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
- Distinctive: line 26
Run the safest available scanner for each ecosystem.
- Distinctive: line 32
Run the requested build and test validation.
- Distinctive: line 37
Never weaken a security scanner to obtain a green result.
- Distinctive: line 38
Do not upgrade across a major version without identifying compatibility risk.
- Distinctive: line 39
Never commit secrets, generated credentials, or private scan data.
- Distinctive: line 40
Treat scanner results as evidence.
≈ “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.
Files
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, orall; defaulthigh.includeTransitive: defaulttrue.excludeDevDependencies: defaultfalse.mode:report,propose, orapply; defaultreport.validateAfter:none,build,test, orbuild+test; defaultbuild+testforapply.format:summary,json, orsarif; defaultsummary.
Workflow
- Detect manifests, lockfiles, package managers, and project conventions.
- Run the safest available scanner for each ecosystem.
- Normalize findings by package, version, advisory, severity, and fix version.
- Distinguish direct, transitive, runtime, and development dependencies.
- In
proposemode, identify compatible upgrade paths and breaking changes. - In
applymode, require confirmation, update only the selected dependencies, and preserve lockfile consistency. - Run the requested build and test validation.
- 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.
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
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.

