vulnerability-validation
БесплатноБез исполняемых скриптовНе проверенValidate security findings from commit-security-scan by assessing exploitability, filtering false positives, and generating proof-of-concept exploits. Use…
от Factory-AI★ 133 звезды на GitHubОб этом скилле
Vulnerability Validation
Validate security findings by assessing whether they are actually exploitable in the context of this codebase. This skill filters false positives, confirms real vulnerabilities, and generates proof-of-concept exploits.
When to Use This Skill
- After commit-security-scan - Validate findings before creating issues or blocking PRs
- HIGH/CRITICAL findings - Prioritize validation of severe findings
- Before patching - Confirm vulnerability is real before investing in fixes
- Security review - Deep-dive validation of specific findings
Prerequisites
.factory/threat-model.mdmust exist (fromthreat-model-generationskill)security-findings.jsonmust exist (fromcommit-security-scanskill)
Inputs
| Input | Description | Required | Default |
|---|---|---|---|
| Findings file | Path to security-findings.json |
Yes | security-findings.json |
| Threat model | Path to threat model | No | .factory/threat-model.md |
| Finding IDs | Specific findings to validate (comma-separated) | No | All findings |
| Severity filter | Only validate findings at or above this severity | No | All severities |
Instructions
Follow these steps for each finding to validate:
Step 1: Load Context
- Read
security-findings.jsonfromcommit-security-scan - Read
.factory/threat-model.mdfor system context - Identify which findings to validate based on inputs
Step 2: Reachability Analysis
For each finding, determine if the vulnerable code is reachable:
Trace entry points
- Can external users reach this code path?
- What HTTP endpoints, CLI commands, or event handlers lead here?
- Is authentication required to reach this code?
Map the call chain
- Starting from the entry point, trace the path to the vulnerable code
- Document each function call in the chain
- Note any branching conditions that must be satisfied
Classify reachability
EXTERNAL- Reachable from unauthenticated external inputAUTHENTICATED- Requires valid user sessionINTERNAL- Only reachable from internal servicesUNREACHABLE- Dead code or blocked by conditions
Step 3: Control Flow Analysis
Determine if an attacker can control the vulnerable input:
Identify the source
- Where does the tainted data originate?
- HTTP parameter, file upload, database query, environment variable?
Trace data flow
- Follow the data from source to sink (vulnerable function)
- Document each transformation or validation step
- Note any sanitization, encoding, or type conversion
Assess attacker control
- Can the attacker fully control the input?
- Are there length limits, character restrictions, or format validation?
- Does the data pass through any sanitization?
Step 4: Mitigation Assessment
Check if existing security controls prevent exploitation:
Input validation
- Is the input validated before reaching the vulnerable code?
- What validation rules are applied?
Framework protections
- Does the framework provide automatic protection? (e.g., ORM parameterization, React XSS escaping)
- Is the protection enabled and properly configured?
Security middleware
- Are there WAF rules, rate limiting, or other controls?
- Do CSP headers or other browser protections apply?
Reference threat model
- Check the "Existing Mitigations" section for this threat type
- Verify mitigations are actually in place
Step 5: Exploitability Assessment
Determine how difficult it is to exploit:
| Rating | Criteria |
|---|---|
EASY |
No special conditions, standard tools, publicly known technique |
MEDIUM |
Requires specific conditions, timing, or chained vulnerabilities |
HARD |
Requires insider knowledge, rare conditions, or advanced techniques |
NOT_EXPLOITABLE |
Theoretical vulnerability but not practically exploitable |
Consider:
- Attack complexity
- Required privileges
- User interaction needed
- Scope of impact
Step 6: Generate Proof-of-Concept
For confirmed vulnerabilities, create a proof-of-concept:
Craft exploit payload
- Create a minimal payload that demonstrates the vulnerability
- Use benign payloads (no actual damage)
Document the request
- HTTP method, URL, headers, body
- Or CLI command, file input, etc.
Describe expected vs actual behavior
- What should happen (secure behavior)
- What actually happens (vul
Установить vulnerability-validation в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл vulnerability-validation?
Validate security findings from commit-security-scan by assessing exploitability, filtering false positives, and generating proof-of-concept exploits. Use after running commit-security-scan to confirm vulnerabilities.
Как установить скилл vulnerability-validation?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл vulnerability-validation запускает скрипты?
Нет, скилл состоит только из инструкций (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