Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计通过

cve-impactCVE 影响

Agent Skill

cve-impact 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

399

周安装

16

GitHub Stars

5

下载量

129
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:cve-impact(CVE 影响)
来源仓库:https://github.com/dmartinol/ai5-marketplaces
仓库路径:skills/cve-impact
安装命令:
npx skills add https://github.com/dmartinol/ai5-marketplaces --skill cve-impact
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/dmartinol/ai5-marketplaces --skill cve-impact

简介

cve-impact 帮助 SRE 分析 CVE 对系统的实际影响,为制定修复预案提供依据。

  • 适用于 Codex、Claude、Cursor、Gemini CLI 中的安全事件响应,支持主机与漏洞关联查询。
  • 可与修复技能联动,完成复杂场景下的影响评估与处置规划,强调人工确认环节。
  • 使用前须核实目标主机身份、API 访问权限及是否涉及生产环境变更操作。
  • cve-impact 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

CVE Impact Analysis Skill

This skill helps SREs analyze CVE vulnerabilities to understand their impact on systems before creating remediation playbooks.

🚨 SYSTEM-LEVEL (CVEs on device X): Your first reply to the user MUST be the pagination prompt (Step -1). Do NOT call inventory__find_host_by_name or vulnerability__get_system_cves until the user responds. Do not validate MCP or resolve hostname first—HITL comes first.

Integration with Remediation Skill: The /remediation skill orchestrates this skill as part of its Step 1 (Impact Analysis) workflow for complex remediation scenarios. For simple standalone impact analysis, you can invoke this skill directly.

Invocation Note (Host-Specific)

When invoked by another skill (e.g. remediation), use the Skill tool—do NOT use "Task Output" with the skill name as task ID. That causes "No task found with ID: cve-impact". See skill-invocation.md.

Prerequisites

Required MCP Servers: lightspeed-mcp (setup guide)

Required MCP Tools:

  • get_cves (from lightspeed-mcp) - List/query CVEs by severity
  • get_cve (from lightspeed-mcp) - Get specific CVE details
  • get_cve_systems (from lightspeed-mcp) - Find systems affected by CVEs
  • get_system_cves (from lightspeed-mcp) - List CVEs affecting a specific system (uses system_uuid only)

Required Environment Variables:

  • LIGHTSPEED_CLIENT_ID - Red Hat Lightspeed service account client ID
  • LIGHTSPEED_CLIENT_SECRET - Red Hat Lightspeed service account secret

Prerequisite Validation

CRITICAL: Before executing any operations, execute the /mcp-lightspeed-validator skill to verify MCP server availability.

Validation freshness: Can skip if already validated in this session. See Validation Freshness Policy.

How to invoke: Execute the /mcp-lightspeed-validator skill

Handle validation result:

  • If validation PASSED: Continue with CVE impact analysis
  • If validation PARTIAL: Warn user and ask to proceed
  • If validation FAILED: Stop execution, provide setup instructions

When to Use This Skill

Use this skill directly when you need:

  • Standalone CVE impact analysis without remediation planning
  • Quick risk assessment for a single CVE
  • Understanding which systems are affected by a CVE
  • CVE severity assessments for change management documentation
  • Risk assessment reports for management

Use the /remediation skill when you need:

  • CVE analysis followed by remediation playbook generation
  • Complex workflows involving multiple CVEs and systems
  • Integrated risk assessment + remediation planning + execution guidance
  • Batch remediation across infrastructure
  • End-to-end CVE management (analysis → validation → remediation → verification)

To invoke: Execute the /remediation skill

How they work together: The /remediation skill orchestrates this skill as part of its comprehensive workflow, combining impact analysis with context gathering, playbook generation, and execution guidance.

Workflow

Step -1: System-Level Gate — HITL FIRST (MANDATORY)

If the user asked for CVEs on a device (e.g. "CVEs on ip-172-31-32-201", "remediatable CVEs on hostname X", "most critical CVEs on system Y"):

Your first response to the user MUST be the pagination prompt below. Do not run Step 0, do not call inventory__find_host_by_name, do not call vulnerability__get_system_cves until the user responds.

Reply to the user with:

To fetch remediatable CVEs on this system, I will:
- Paginate through vulnerability__get_system_cves (limit=100 per page)
- Filter each page for advisory_available === true
- Systems often have 1,700+ CVEs (~18 API calls)

⚠️ First page only often returns 0 remediatable CVEs—they may be on any page. For "remediatable" queries, recommend "all pages".

Options:
- **First page only**: Fetch 100 CVEs, filter for remediatable (may be 0)
- **All pages**: Fetch until no more results (recommended for remediatable)
- **N pages**: Fetch up to N pages (e.g. "3 pages" = up to 300 CVEs scanned)

How would you like to proceed? (first page / all pages / N pages)

Wait for the user to respond. Only after they reply may you proceed to Step 0.

If account-level (e.g. "CVEs on my account"): Skip this step, go to Step 0.


Step 0: Validate Lightspeed MCP Prerequisites

Action: Execute the /mcp-lightspeed-validator skill

Note: Can skip if validation was performed earlier in this session and succeeded. See Validation Freshness Policy.

How to invoke: Execute the /mcp-lightspeed-validator skill

Handle validation result:

  • If validation PASSED: Continue to Step 1
  • If validation PARTIAL: Warn user and ask to proceed
  • If validation FAILED: Stop execution, user must set up MCP server

Step 1: CVE Discovery — Choose Flow

Select the appropriate flow based on user request.

FlowWhen to UseFlow File
Account-leveldevices=all (account-wide CVEs)01-account-cves.md
System-level (all CVEs)devices=selected, remediation=does not matter02-system-all-cves.md
System-level (remediatable)devices=selected, remediation=available03-system-remediatable-cves.md

Variable mapping:

  • devices: all → account flow; selected → system flow
  • severities: all, most critical, or selected → parameter/filter in each flow
  • remediation: available → remediatable flow; does not matter → all-cves flow

CRITICAL: System-Level — HITL FIRST (Before Any Other Action)

For system-level flows (02 or 03): Your first action MUST be to display the HITL prompt below and wait for user confirmation. Do NOT resolve hostname, do NOT call any MCP tool, until the user responds.

Order of operations:

  1. STOP. Display HITL prompt. Wait for user.
  2. Only after user confirms → document consultation → resolve hostname → call vulnerability__get_system_cves

*For remediatable CVEs on system (flow 03):*

To fetch remediatable CVEs on this system, I will:
- Paginate through vulnerability__get_system_cves (limit=100 per page)
- Filter each page for advisory_available === true
- Systems often have 1,700+ CVEs (~18 API calls)

⚠️ First page only often returns 0 remediatable CVEs—they may be on any page. For "remediatable" queries, recommend "all pages".

Options:
- **First page only**: Fetch 100 CVEs, filter for remediatable (may be 0)
- **All pages**: Fetch until no more results (recommended for remediatable)
- **N pages**: Fetch up to N pages (e.g. "3 pages" = up to 300 CVEs scanned)

How would you like to proceed? (first page / all pages / N pages)

*For all CVEs on system (flow 02):*

This system may have many CVEs. I will paginate through vulnerability__get_system_cves (limit=100 per page).

Options:
- **First page only**: Fetch 100 CVEs, then stop (quick overview)
- **All pages**: Fetch until no more results (systems with 1,700+ CVEs may require ~18 API calls)
- **N pages**: Fetch up to N pages (e.g. "3 pages" = 300 CVEs)

How would you like to proceed? (first page / all pages / N pages)

Handle response: Wait for user reply. Only after user confirms (and specifies strategy) may you proceed to resolve hostname and call vulnerability__get_system_cves. If user says "no" or cancels, stop execution.

Anti-pattern: Do NOT call vulnerability__get_system_cves or inventory__find_host_by_name before completing HITL. Calling with only the first page (limit=100, no offset loop) misses remediatable CVEs on later pages.


Action: Read and follow the selected flow file. For system-level, HITL is Step 1 (before all other steps).

Step 2: CVE Information Retrieval (For Specific CVE Analysis)

CRITICAL: Document consultation MUST happen BEFORE tool invocation.

Document Consultation (REQUIRED - Execute FIRST):

  1. Action: Read cvss-scoring.md using the Read tool to understand CVSS score interpretation and severity mapping
  2. Output to user: "I consulted cvss-scoring.md to understand CVSS score interpretation and severity mapping."

MCP Tool: get_cve or vulnerability__get_cve (from lightspeed-mcp)

Parameters:

  • cve_id: Exact CVE identifier from user query (format: "CVE-YYYY-NNNNN")

- Example: "CVE-2024-1234"

  • include_details: true (retrieve complete metadata including CVSS vector, affected packages, references)

Expected Output: Comprehensive CVE metadata including CVSS score, severity, attack vector, affected packages, remediation status

Retrieve comprehensive CVE metadata:

CVE ID: CVE-YYYY-NNNNN
CVSS Score: X.X (Base score from NIST)
Severity: Critical/High/Medium/Low
Attack Vector: Network/Adjacent/Local/Physical
Attack Complexity: Low/High
Privileges Required: None/Low/High
User Interaction: None/Required
Scope: Unchanged/Changed
Confidentiality Impact: None/Low/High
Integrity Impact: None/Low/High
Availability Impact: None/Low/High

Description: [CVE description from NVD/Red Hat]
Affected Packages: [List of packages and versions]
Published Date: YYYY-MM-DD
Last Modified: YYYY-MM-DD

Step 3: Affected Systems Identification

CRITICAL: Document consultation MUST happen BEFORE tool invocation.

Document Consultation (REQUIRED - Execute FIRST):

  1. Action: Read insights-api.md using the Read tool to understand the system identification response format
  2. Output to user: "I consulted insights-api.md to understand the system identification response format."

MCP Tool: get_cve_systems or vulnerability__get_cve_systems (from lightspeed-mcp)

Parameters:

  • cve_id: Exact CVE identifier (format: "CVE-YYYY-NNNNN")

- Example: "CVE-2024-1234"

  • include_patched: false (exclude already-patched systems to focus on vulnerable systems)

Expected Output: List of affected systems with UUID, hostname, IP address, package version, vulnerability status

Identify which systems in your infrastructure are affected by the CVE:

Affected Systems:
- system-uuid-1 (hostname: web-server-01, IP: 10.0.1.10)
  - Package: httpd-2.4.37-1.el8
  - Status: Vulnerable

- system-uuid-2 (hostname: web-server-02, IP: 10.0.1.11)
  - Package: httpd-2.4.37-1.el8
  - Status: Vulnerable

Total Affected Systems: N

Step 4: System Classification

CRITICAL: Document consultation MUST happen BEFORE classification logic.

Document Consultation (REQUIRED - Execute FIRST):

  1. Action: Read fleet-management.md using the Read tool to understand system tagging and classification strategies
  2. Output to user: "I consulted fleet-management.md to understand system tagging and classification strategies."

Classify affected systems by environment and criticality based on tags from Red Hat Lightspeed:

System Classification:
- Production systems: N (highest priority)
- Staging systems: M (test before prod)
- Development systems: K (lowest priority)
- Bare metal: X systems
- Virtual machines: Y systems

Step 5: Risk Assessment

CRITICAL: Document consultation MUST happen BEFORE risk assessment.

Document Consultation (REQUIRED - Execute FIRST):

  1. Action: Read cvss-scoring.md using the Read tool to understand risk prioritization based on CVSS vectors
  2. Output to user: "I consulted cvss-scoring.md to understand risk prioritization based on CVSS vectors."

Provide a risk assessment based on:

  • CVSS score and severity
  • Number of affected systems
  • System criticality (production vs non-production)
  • Attack vector and exploitability
  • Known exploits in the wild

Output Format:

Risk Assessment Summary
━━━━━━━━━━━━━━━━━━━━━━━

Overall Risk Level: Critical/High/Medium/Low

Factors:
✓ CVSS Score: X.X (Severity: High)
✓ Affected Systems: N systems
✓ Environment: Production (Critical)
✓ Attack Vector: Network (Remote exploitable)
✓ Exploitability: Proof-of-concept exists
✓ User Interaction: None required

Recommendation: Immediate remediation recommended
Priority: P0 (within 24 hours) / P1 (within 7 days) / P2 (within 30 days)

Step 6: Impact Analysis

Analyze business impact (service, confidentiality/integrity/availability, compliance).

Step 7: Remediation Readiness Check

Check if automated playbook or manual steps are available.

Output and Examples

Read references/03-output-templates.md for report format. Read references/04-examples.md for query-type examples and remediation integration.

Error Handling

Read references/05-error-handling.md for CVE not found, no affected systems, and Lightspeed tool failures.

Reference Files

FileUse When
01-cve-response-parser.pyParse/filter MCP vulnerability responses
02-cve-parsing-guide.mdParser invocation, filter options
03-output-templates.mdReport format
04-examples.mdQuery-type examples
05-error-handling.mdCVE not found, no systems, Lightspeed failures
lightspeed-mcp-tool-failures.mdexplain_cves dnf_modules workaround

Parsing MCP Responses

REQUIRED: Use the skill's parser script for all vulnerability response parsing. Do NOT use jq, inline Python, or other ad-hoc JSON parsing.

Do NOT generate inline Python to aggregate multiple page files—the parser accepts multiple file paths and produces aggregated reports.

Read references/02-cve-parsing-guide.md for:

  • Parser location: references/01-cve-response-parser.py
  • Single page: python3 rh-sre/skills/cve-impact/references/01-cve-response-parser.py <response.json>
  • Multiple pages: python3.../01-cve-response-parser.py page1.json page2.json page3.json... (merges, dedupes, aggregated report)
  • Filter options: FILTER_REMEDIATABLE=1, FILTER_IMPACT=Critical,Important
  • Report format: OUTPUT=report, SYSTEM_NAME=hostname for aggregated multi-page reports

Save each MCP tool result to a file, then run the parser with one or more paths. Use parser output for summary tables and reports.

Best Practices

  1. Always start with risk assessment before deciding on remediation
  2. Check for known exploits using CVE description and references
  3. Consider business impact not just CVSS scores
  4. Group related CVEs for batch remediation when possible
  5. Document findings for compliance and audit purposes
  6. Test in staging first for high-impact changes

Dependencies

Required MCP Servers

  • lightspeed-mcp - Red Hat Lightspeed platform access

Required MCP Tools

  • get_cves (from lightspeed-mcp) - List/query CVEs by severity and filters

- Parameters: severity (array), sort_by (string), limit (number) - Returns: List of CVEs with CVSS scores, severity, affected systems count

  • get_cve (from lightspeed-mcp) - Get specific CVE details

- Parameters: cve_id (string, format CVE-YYYY-NNNNN), include_details (boolean) - Returns: Complete CVE metadata with CVSS vector, affected packages, references

  • get_cve_systems (from lightspeed-mcp) - Find systems affected by CVE

- Parameters: cve_id (string), include_patched (boolean) - Returns: List of affected systems with UUID, hostname, package version, status

  • get_system_cves (from lightspeed-mcp) - List CVEs affecting a specific system

- Parameters: system_uuid (string, required) - use system_uuid, NOT system_id - Does NOT support: impact, limit, severity filters - filter results client-side - Returns: List of CVEs affecting the system

Related Skills

  • mcp-lightspeed-validator - PREREQUISITE - Validates Lightspeed MCP server before operations

- Use before: ALL cve-impact operations (Step 0 in workflow) - Purpose: Ensures MCP server is available before attempting tool calls

  • cve-validation - Validate CVE IDs before impact analysis

- Use before: Step 2 if CVE format/existence is uncertain - Purpose: Confirms CVE is valid and remediable before expensive analysis

  • system-context - Get detailed system configuration after identifying affected systems

- Use after: Step 3 when deeper system investigation is needed - Purpose: Understand deployment architecture for remediation planning

  • fleet-inventory - Get comprehensive fleet information before CVE analysis

- Use before: Step 1 when starting from fleet discovery - Purpose: Understand overall infrastructure before assessing CVE impact

Reference Documentation

Tools Reference

This skill primarily uses:

  • get_cve (vulnerability toolset) - Get details about a specific CVE
  • get_cve_systems (vulnerability toolset) - Get list of systems affected by a CVE
  • get_cves (vulnerability toolset) - Get list of all CVEs affecting the account (optional)
  • get_system_cves (vulnerability toolset) - Get list of CVEs affecting a specific system

- CRITICAL: Use system_uuid (required), NOT system_id - Does NOT support impact, limit, or severity filters - filter client-side

  • inventory__find_host_by_name (inventory toolset) - Resolve hostname to system UUID before get_system_cves
  • get_host_details (inventory toolset) - Get detailed system information (optional)

All tools are provided by the lightspeed-mcp MCP server configured in .mcp.json.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.81%
按下载量换算46

Claude

27%
按下载量换算35

Cursor

18.93%
按下载量换算24

Gemini CLI

9.22%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills