agentleFS
Robotti-ioRobotti-io/copilot-security-instructions/skills/dependency-cve-triage/SKILL.md

dependency-cve-triage

Skill42 starsChanged 10 months agoApache-2.0View on GitHub

Triage a dependency CVE using local repo evidence and remediation guidance.

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
  1. Distinctive:

    Use this skill when asked to triage a dependency CVE using repository evidence and remediation guidance.

    line 14
  2. Distinctive:

    Prefer evidence-first analysis and cite file paths and, when possible, line ranges for dependency usage.

    line 25
  3. Distinctive:

    If external browsing is available, use reputable sources such as NVD or vendor advisories.

    line 26
  4. Distinctive:

    If external browsing is not available, state that limitation explicitly.

    line 27
  5. Distinctive:

    If implementation context is missing, ask for what is needed to make a grounded assessment.

    line 28
  6. Distinctive:

    Avoid speculation. If the impact cannot be determined, state that explicitly.

    line 29
  7. Distinctive:

    MUST confirm the vulnerable component, including package name, ecosystem, affected versions, and whether the dependency is direct or …

    line 33
  8. Distinctive:

    MUST summarize the vulnerability, including exploit vector, preconditions, impact, and common exploitation patterns.

    line 34
  9. Distinctive:

    MUST assess local context, including dependency usage locations, reachability of the vulnerable path, configuration or environment …

    line 35
  10. Distinctive:

    MUST recommend remediation with upgrade to a fixed version as the preferred option.

    line 36
  11. Distinctive:

    MUST label any workaround or mitigation as a stopgap when it is not the preferred long-term fix.

    line 37
  12. Distinctive:

    MUST provide validation steps such as tests or requests to prove non-reachability or confirm the fix works.

    line 38
  13. Distinctive:

    MUST clearly separate what is proven by local code evidence from what comes from external advisories.

    line 39
  14. Distinctive:

    MUST state when a claim cannot be confirmed and provide the next best verification step.

    line 40
  15. Distinctive:

    MUST avoid recommending disabling security controls as the primary remediation.

    line 41
  16. Distinctive:

    Use exactly this format:

    line 66

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

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

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

  1. Confirm the vulnerable component.
    • Package name, ecosystem, affected versions, direct vs transitive.
  2. Summarize the vulnerability.
    • Exploit vector, preconditions, impact, and common exploitation patterns.
  3. 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.
  4. Recommend remediation.
    • Upgrade to a fixed version as the preferred option.
    • Safe workaround or mitigation, explicitly labeled as a stopgap.
  5. 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_FIELD

Evidence 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.

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.