nairon-ai/flux/flux-vuln-validate

Claude Code and agent skill by nairon-ai/flux

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Validate security findings by assessing exploitability, filtering false positives, and generating proof-of-concept exploits. Use after running flux-security-scan to confirm vulnerabilities. Triggers on /flux:vuln-validate.

Install

npx vskill@latest install nairon-ai/flux/flux-vuln-validate

SKILL.md

The same SKILL.md was published earlier as nairon-ai/flux/flux-vuln-validate.

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.

Adapted from Factory AI security-engineer plugin.

Session Phase Tracking

On entry, set the session phase:

bash
PLUGIN_ROOT="${DROID_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT:-$(git rev-parse --show-toplevel 2>/dev/null || pwd)}}"
[ ! -d "$PLUGIN_ROOT/scripts" ] && PLUGIN_ROOT=$(ls -td ~/.claude/plugins/cache/nairon-flux/flux/*/ 2>/dev/null | head -1)
FLUXCTL="${PLUGIN_ROOT}/scripts/fluxctl"
$FLUXCTL session-phase set vuln_validate

On completion, reset:

bash
$FLUXCTL session-phase set idle

When to Use This Skill

  • After flux-security-scan - Validate findings before 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

  • .flux/threat-model.md must exist (from flux-threat-model skill)
  • .flux/security/security-findings.json must exist (from flux-security-scan skill)

Inputs

InputDescriptionRequiredDefault
Findings filePath to security-findings.jsonYes.flux/security/security-findings.json
Threat modelPath to threat modelNo.flux/threat-model.md
Finding IDsSpecific findings to validate (comma-separated)NoAll findings
Severity filterOnly validate findings at or above this severityNoAll severities

Instructions

Follow these steps for each finding to validate:

Step 1: Load Context
  1. Read .flux/security/security-findings.json from flux-security-scan
  2. Read .flux/threat-model.md for system context
  3. Identify which findings to validate based on inputs
Step 2: Reachability Analysis

For each finding, determine if the vulnerable code is reachable:

  1. 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?
  1. 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
  1. Classify reachability
  • EXTERNAL - Reachable from unauthenticated external input
  • AUTHENTICATED - Requires valid user session
  • INTERNAL - Only reachable from internal services
  • UNREACHABLE - Dead code or blocked by conditions
Step 3: Control Flow Analysis

Determine if an attacker can control the vulnerable input:

  1. Identify the source - Where does the tainted data originate?
  2. Trace data flow - Follow from source to sink, note transformations
  3. Assess attacker control - Can they fully control the input?
Step 4: Mitigation Assessment

Check if existing security controls prevent exploitation:

  1. Input validation - Is input validated before reaching vulnerable code?
  2. Framework protections - ORM parameterization, React XSS escaping, etc.
  3. Security middleware - WAF rules, rate limiting, CSP headers
  4. Reference threat model - Check existing mitigations section
Step 5: Exploitability Assessment
RatingCriteria
EASYNo special conditions, standard tools, publicly known technique
MEDIUMRequires specific conditions, timing, or chained vulnerabilities
HARDRequires insider knowledge, rare conditions, or advanced techniques
NOT_EXPLOITABLETheoretical vulnerability but not practically exploitable
Step 6: Generate Proof-of-Concept

For confirmed vulnerabilities, create a proof-of-concept:

json
{
"proof_of_concept": {
"payload": "' OR '1'='1",
"request": "GET /api/users?search=' OR '1'='1",
"expected_behavior": "Returns users matching search term",
"actual_behavior": "Returns all users due to SQL injection"
}
}
Step 7: Calculate CVSS Score

Assign a CVSS 3.1 score based on:

MetricOptions
Attack Vector (AV)Network (N), Adjacent (A), Local (L), Physical (P)
Attack Complexity (AC)Low (L), High (H)
Privileges Required (PR)None (N), Low (L), High (H)
User Interaction (UI)None (N), Required (R)
Scope (S)Unchanged (U), Changed (C)
Confidentiality (C)None (N), Low (L), High (H)
Integrity (I)None (N), Low (L), High (H)
Availability (A)None (N), Low (L), High (H)
Step 8: Classify Finding
StatusMeaning
CONFIRMEDVulnerability is real and exploitable
LIKELYProbably exploitable but couldn't fully verify
FALSE_POSITIVENot actually a vulnerability (document why)
NEEDS_MANUAL_REVIEWRequires human security expert review
Step 9: Generate Output

Create .flux/security/validated-findings.json:

json
{
"validation_id": "val-<timestamp>",
"validation_date": "<ISO timestamp>",
"scan_id": "<from security-findings.json>",
"validated_findings": [
{
"id": "VULN-001",
"status": "CONFIRMED",
"validated_severity": "HIGH",
"exploitability": "EASY",
"reachability": "EXTERNAL",
"exploitation_path": ["Step 1", "Step 2", "..."],
"proof_of_concept": {...},
"cvss_vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N",
"cvss_score": 9.1
}
],
"false_positives": [
{
"id": "VULN-003",
"reason": "Input validated by schema in middleware",
"evidence": "See src/middleware/validation.js:45"
}
],
"summary": {
"total_analyzed": 10,
"confirmed": 5,
"likely": 2,
"false_positives": 2,
"needs_manual_review": 1
}
}

Success Criteria

  • [ ] All specified findings have been analyzed
  • [ ] Each finding has a status
  • [ ] Confirmed findings have exploitation paths documented
  • [ ] Confirmed findings have proof-of-concept exploits
  • [ ] False positives have clear reasoning
  • [ ] CVSS scores calculated for confirmed findings

Gotchas

  • Validation is about exploitability, not rhetoric. A scary finding without reachability or a credible attack path should not be marked confirmed.
  • Proof-of-concept work must stay safe and non-destructive. Demonstrate impact without creating new risk for the repo or environment.
  • False-positive reasoning needs evidence, not vibes. Cite the validation layer, framework protection, or unreachable path that neutralizes the finding.

References

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
7
Repository forks
1
7-day trend score
10

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/nairon-ai/flux/flux-vuln-validate/badge)](https://verified-skill.com/skills/nairon-ai/flux/flux-vuln-validate)

Something wrong with this skill or its page? Tell us.