dependency-cve-triage
Skill42 starsChanged 10 months agoApache-2.0View on GitHub
Triage a dependency CVE using local repo evidence and remediation guidance.
In this repository10 other files it gives its agents.
- copilot-instructions.mdCopilot instructions
- .github/copilot-instructions.mdCopilot instructions
- markdown-customizationsSkill
- access-control-reviewSkill
- genai-acceptance-reviewSkill
- input-validation-hardeningSkill
- secrets-and-logging-hygieneSkill
- secure-code-reviewSkill
- secure-fix-validationSkill
- threat-modelSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. About 0 are common, 16 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈16
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
- Distinctive: line 14
Use this skill when asked to triage a dependency CVE using repository evidence and remediation guidance.
- Distinctive: line 25
Prefer evidence-first analysis and cite file paths and, when possible, line ranges for dependency usage.
- Distinctive: line 26
If external browsing is available, use reputable sources such as NVD or vendor advisories.
- Distinctive: line 27
If external browsing is not available, state that limitation explicitly.
- Distinctive: line 28
If implementation context is missing, ask for what is needed to make a grounded assessment.
- Distinctive: line 29
Avoid speculation. If the impact cannot be determined, state that explicitly.
- Distinctive: line 33
MUST confirm the vulnerable component, including package name, ecosystem, affected versions, and whether the dependency is direct or …
- Distinctive: line 34
MUST summarize the vulnerability, including exploit vector, preconditions, impact, and common exploitation patterns.
- Distinctive: line 35
MUST assess local context, including dependency usage locations, reachability of the vulnerable path, configuration or environment …
- Distinctive: line 36
MUST recommend remediation with upgrade to a fixed version as the preferred option.
- Distinctive: line 37
MUST label any workaround or mitigation as a stopgap when it is not the preferred long-term fix.
- Distinctive: line 38
MUST provide validation steps such as tests or requests to prove non-reachability or confirm the fix works.
- Distinctive: line 39
MUST clearly separate what is proven by local code evidence from what comes from external advisories.
- Distinctive: line 40
MUST state when a claim cannot be confirmed and provide the next best verification step.
- Distinctive: line 41
MUST avoid recommending disabling security controls as the primary remediation.
- Distinctive: line 66
Use exactly this format:
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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
Dependency CVE Triage
Purpose
Act as a security vulnerability analyst investigating a known CVE in the context of a web application dependency.
When to use
Use this skill when asked to triage a dependency CVE using repository evidence and remediation guidance.
Inputs to collect
${input:cve-number:Which CVE would you like me to analyze? (e.g., CVE-2024-12345)}${input:package-name:What dependency/package is this about? (optional if obvious from repo)}- Repository evidence for dependency usage, if available
- External advisory links from reputable sources such as NVD or vendor advisories, if browsing is available
How to use
- Prefer evidence-first analysis and cite file paths and, when possible, line ranges for dependency usage.
- If external browsing is available, use reputable sources such as NVD or vendor advisories.
- If external browsing is not available, state that limitation explicitly.
- If implementation context is missing, ask for what is needed to make a grounded assessment.
- Avoid speculation. If the impact cannot be determined, state that explicitly.
Rules
- MUST confirm the vulnerable component, including package name, ecosystem, affected versions, and whether the dependency is direct or transitive.
- MUST summarize the vulnerability, including exploit vector, preconditions, impact, and common exploitation patterns.
- MUST assess local context, including dependency usage locations, reachability of the vulnerable path, configuration or environment preconditions, and existing mitigations such as sandboxing, WAF, or auth boundaries.
- MUST recommend remediation with upgrade to a fixed version as the preferred option.
- MUST label any workaround or mitigation as a stopgap when it is not the preferred long-term fix.
- MUST provide validation steps such as tests or requests to prove non-reachability or confirm the fix works.
- MUST clearly separate what is proven by local code evidence from what comes from external advisories.
- MUST state when a claim cannot be confirmed and provide the next best verification step.
- MUST avoid recommending disabling security controls as the primary remediation.
Step-by-step process
- Confirm the vulnerable component.
- Package name, ecosystem, affected versions, direct vs transitive.
- Summarize the vulnerability.
- Exploit vector, preconditions, impact, and common exploitation patterns.
- Assess local context.
- Where the dependency is used, including imports and call sites.
- Reachability of the vulnerable path.
- Configuration and environment preconditions.
- Existing mitigations such as sandboxing, WAF, and auth boundaries.
- Recommend remediation.
- Upgrade to a fixed version as the preferred option.
- Safe workaround or mitigation, explicitly labeled as a stopgap.
- Provide validation steps.
- Tests or requests to prove non-reachability or that the fix works.
Output format
Return two sections.
Dependency Tracker fields
Use exactly this format:
- **Comment:** TEXT_FIELD
- **Analysis:** [Not Set, Exploitable, In Triage, Resolved, False Positive, Not Affected]
- **Justification:** [Not Set, Code not present, Code not reachable, Requires configuration, Requires dependency, Requires environment, Protected by compiler, Protected at runtime, Protected at perimeter, Protected by mitigating control]
- **Vendor Response:** [Not Set, Can not fix, Will not fix, Update, Rollback, Workaround available]
- **Details:** TEXT_FIELDEvidence and validation
- Local evidence: where the dependency is referenced, including file paths and line ranges if available
- Reachability reasoning: why the vulnerable path is reachable or not reachable
- Remediation plan: upgrade or workaround with rollout notes
- Verification steps: commands, tests, or requests to confirm the conclusion or fix
Examples
Example use
- Triage
${input:cve-number:Which CVE would you like me to analyze? (e.g., CVE-2024-12345)}for${input:package-name:What dependency/package is this about? (optional if obvious from repo)}by confirming the affected package and versions, checking repository usage and reachability, documenting mitigations, and returning the tracker fields plus evidence and validation details.
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.

