remediation-planning
БесплатноБез исполняемых скриптовНе проверенGenerate comprehensive remediation guidance including dependency updates, code changes, workarounds, and verification steps
от openshift-eng★ 123 звезды на GitHubОб этом скилле
Remediation Planning
Creates actionable remediation plans for vulnerable Go codebases based on analysis results from previous phases.
Supported Remediation Types
- Dependency Update - Update Go package to fixed version
- Go Runtime Update - Update Go itself (for stdlib vulnerabilities)
- Configuration Change - Disable features, change settings, adjust security controls
- Code Refactoring - Replace vulnerable patterns, add validation, refactor code
- Security Patch - Apply vendor-provided patch files
- Workarounds - Temporary mitigations (timeouts, rate limiting, input validation)
- Infrastructure - Network policies, firewall rules, WAF configuration
- Combination - Multiple remediation types together
The skill automatically determines the appropriate remediation strategy based on CVE details and impact analysis.
When to Use This Skill
Use this skill when:
- Codebase is confirmed or likely affected by a CVE
- Need specific remediation steps beyond "update the package"
- Fixed version exists but need to assess compatibility
- No fixed version available and need workarounds
- Project uses custom build/test commands via Makefile
Implementation Steps
Step 1: Analyze Inputs and Determine Strategy
Required Inputs from Previous Phases:
From Phase 1 (cve-intelligence-gathering):
- CVE ID, severity, CVSS score
- Affected package/module and vulnerable version range
- Fixed version (if available)
- Vulnerability type and remediation guidance
From Phase 2 (codebase-impact-analysis):
- Risk level (HIGH / MEDIUM / LOW / NEEDS REVIEW)
- Current package version and dependency type
- Usage locations and functions being called
From Call Graph Analysis (optional):
- Reachability risk level and call chain
- Entry points
From govulncheck (optional):
- Detection result and vulnerable symbols
Decision Tree:
IF risk_level = "LOW":
→ Document findings, recommend monitoring and manual review
IF risk_level = "HIGH" or "MEDIUM":
IF fixed_version EXISTS:
IF affected_package is in go.mod → Dependency Update (Step 2)
ELSE IF affected_package is Go stdlib → Go Runtime Update (Step 2A)
IF fixed_version = null:
IF remediation_guidance has "configuration" → Configuration Change (Step 2B)
IF remediation_guidance has "code change" OR pattern vulnerability → Code Refactoring (Step 2C)
IF remediation_guidance has "patch" → Apply Patch (Step 2D)
ELSE → Workarounds (Step 3)
IF risk_level = "NEEDS_REVIEW":
→ Manual review + defensive workarounds (Step 3)
Step 2: Plan Dependency Update (If Applicable)
Analyze the dependency situation:
Understand the dependency relationship:
- Is this a direct or indirect (transitive) dependency?
- If indirect, which direct dependency pulls it in?
- Are there multiple dependency paths to this package?
- What version is currently in use?
Assess the update strategy:
For direct dependencies:
- Can we directly update to the fixed version?
- What's the version jump? (major/minor/patch)
- Are there intermediate versions we should consider?
For indirect dependencies:
- Should we update the parent package instead?
- Will updating the parent also fix this issue?
- Is the parent package actively maintained?
- Do we need to explicitly override the version?
- Is a
replacedirective necessary (avoid unless no other update path exists)?
Research breaking changes:
- Search for changelog and release notes
- Look for BREAKING CHANGE markers
- Check GitHub issues for migration problems
- Assess semantic versioning signals:
- Major version bump → Expect breaking changes
- v0.x minor bump → May have breaking changes
- Patch version → Should be safe
- Identify specific API changes that affect your code
Evaluate compatibility risks:
- Does the fixed version require a newer Go version?
- Are there conflicts with other dependencies?
- What's the blast radius if something breaks?
- Is there test coverage for affected code paths?
Plan the update approach:
- Decide on exact version to target
- Determine the update commands to use
- Plan for testing and validation
- Consider gradual rollout strategy
- Prepare rollback plan
Document the chosen approach with specific commands and rationale for the decision.
Step 2A: Plan Go Runtime Update (If Applicable)
Analyze Go runtime update requirements:
Determine version requirements:
- What Go version fixes the vulnerability?
- What's the current Go version in use?
- What's the minimum version bump needed?
- Are there multiple affected Go versions with different fixes?
Assess project constraints:
- What's the project's minimum supported Go version (from go.mod)?
- Are there compatibility requirements (OS distributions, cloud provide
Установить remediation-planning в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл remediation-planning?
Generate comprehensive remediation guidance including dependency updates, code changes, workarounds, and verification steps
Как установить скилл remediation-planning?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл remediation-planning запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic