Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

cve-intelligence-gathering

FreeNo executable scriptsNot checked

Gather comprehensive vulnerability information from multiple authoritative sources with fallback strategies

openshift-engby openshift-eng★ 123 GitHub stars

About this skill

CVE Intelligence Gathering

Systematically collects CVE vulnerability details from multiple authoritative sources, handles search failures, and compiles a comprehensive vulnerability profile for analysis.

When to Use This Skill

Use this skill when:

  • Starting CVE analysis and need complete vulnerability information
  • Web searches are returning limited or no results
  • CVE is very new and not yet in all databases
  • Need to distinguish between authoritative and user-provided information
  • Building evidence for security compliance reports

Prerequisites

Required

  • Valid CVE identifier (format: CVE-YYYY-NNNNN)
  • Internet connectivity (recommended but not required)
  • web_search tool access

Optional

  • User-provided CVE details (fallback when internet unavailable)
  • Links to security advisories

Implementation Steps

Step 1: Validate CVE Format

# Regex pattern for CVE ID
CVE_PATTERN="^CVE-[0-9]{4}-[0-9]{4,}$"

# Validate format
if "$CVE_ID" =~ $CVE_PATTERN; then
  echo "Valid CVE format"
else
  echo "ERROR: Invalid CVE format. Expected: CVE-YYYY-NNNNN"
  exit 1
fi

Extract components:

  • Year: YYYY from CVE-YYYY-NNNNN
  • Number: NNNNN from CVE-YYYY-NNNNN

Decision Point:

  • IF invalid format → Return error to parent command
  • IF valid → Continue to Step 1.5

Step 1.5: Seed Profile from Jira Context (if available)

If a jira_context object was passed in from the jira-cve-extraction skill (i.e. the parent command was invoked with --jira= or --jql=), pre-populate the vulnerability profile before any web searches. This reduces redundant lookups and surfaces internal context that is not available in public databases.

Fields to extract and pre-populate:

Jira field Profile field Notes
cvss_score + cvss_vector severity.cvss_score, severity.cvss_vector Prefer Jira value; verify against NVD in Step 2
cwe_id cwe_id Cross-check with NVD; flag if they differ
summary (parsed description) description (supplement) Internal phrasing may be more specific
affects_versions Analysis scope (which project/release versions are affected)
target_versions Fix target / release window
release_note_text remediation.recommended_action (supplement) May already describe the fix or upgrade path
components, labels Context only
Description body (workaround scan) remediation.workarounds Already extracted by jira-cve-extraction
Internal notes from description internal_context field in profile Capture any previous analysis, conclusions, or decisions noted in the ticket body

Mark each pre-populated field as source: jira in the profile.

Conflict resolution: If Jira and a public source (NVD, GHSA) disagree on CVSS score or CWE:

  • Note both values in the profile
  • Prefer the higher CVSS score for risk assessment (conservative)
  • Flag the discrepancy as a gap

Decision Point:

  • IF jira_context is null or absent (direct <CVE-ID> mode) → Skip this step entirely, proceed to Step 2 as normal
  • IF jira_context is present → Pre-populate, then continue to Step 2 to fill remaining gaps and verify

Step 2: Search Primary Sources (NVD and MITRE)

National Vulnerability Database (NVD)

Search query: "CVE-{ID} site:nvd.nist.gov"
Example: "CVE-YYYY-NNNNN site:nvd.nist.gov"

Extract from results:

  • CVSS Score (v3.1, v3.0, or v2.0)
  • Severity rating (CRITICAL/HIGH/MEDIUM/LOW)
  • Base score and vector string
  • Affected product/versions
  • CWE (Common Weakness Enumeration) ID
  • Published date and last modified date

MITRE CVE Database

Search query: "CVE-{ID} site:cve.mitre.org"
Example: "CVE-YYYY-NNNNN site:cve.mitre.org"

Extract from results:

  • CVE description (official)
  • References (links to advisories, patches, exploits)
  • CWE classification
  • Assigning CNA (CVE Numbering Authority)

Error Handling:

  • IF no results from NVD → Try MITRE
  • IF no results from MITRE → Try NVD alternative URL pattern
  • IF both fail → Continue to Step 3 (Go-specific sources)

Step 3: Search Go-Specific Sources

Go Vulnerability Database

Search queries:
1. "CVE-{ID} golang vulnerability"
2. "CVE-{ID} site:github.com/golang/vulndb"
3. "CVE-{ID} site:go.dev/security"

Extract from results:

  • Affected Go package/module (e.g., <package-path>)
  • Vulnerable version ranges (e.g., < <version>)
  • Fixed version (e.g., <version>)
  • Vulnerable functions/symbols
  • Import paths

GitHub Security Advisories (GHSA)

Search queries:
1. "CVE-{ID} golang GHSA"
2. "CVE-{ID} site:github.com/advisories"

Look for:

  • GHSA identifier (e.g., GHSA-xxxx-xxxx-xxxx)
  • Severity from GitHub
  • Affected versions
  • Patched versions
  • Workarounds if available

Decision Point:

  • IF Go-specific info found → High confidence this is Go-related
  • IF only general CVE info found → May not be Go-specific, note
Full SKILL.md on GitHub

Install cve-intelligence-gathering in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

FAQ

What does the cve-intelligence-gathering skill do?

Gather comprehensive vulnerability information from multiple authoritative sources with fallback strategies

How do I install the cve-intelligence-gathering skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the cve-intelligence-gathering skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare cve-intelligence-gathering with