ghost-validate skill
Validates security vulnerability findings by tracing data flows, verifying exploit conditions, and performing live testing to determine true or false positives.
- GitHub stars
- 441
- Files
- 2
- Last commit
- Sep 28, 2026
- License
- apache-2.0
- Allowed tools
- —
What does the ghost-validate skill do?
ghost-validate validates security vulnerability findings by tracing data flows, verifying exploit conditions, and performing live testing to determine true or false positives.
Summary generated from the skill's SKILL.md.
About the ghost-validate skill
Verifying whether security vulnerabilities are real or false positives is the primary function of this skill. Security researchers and developers use it to triage findings by tracing data flows through source code and checking for indirect protections like middleware or ORM constraints. When an agent is tasked with confirming a vulnerability, it analyzes the specific claim, affected endpoint, and code location to see if the described flaw actually exists.
If a live application is accessible, the skill can perform active testing by using the proxy skill to replay or modify requests. This process involves starting a reaper proxy to capture authentic requests and then attempting to exploit the finding to see if the server responds with unauthorized success or a rejection. The final output provides a clear determination, confidence level, and evidence summary, which can be appended directly back to the original finding file if requested.
What an agent can do with it
- 1Triage security findingsDetermine if a reported vulnerability is a true positive or a false positive by analyzing code and request flows.
- 2Verify exploitability via live testingUse a proxy to attempt an exploit against a running application to confirm a vulnerability.
- 3Document validation resultsAppend detailed validation evidence and recommendations directly to an existing security finding file.
Written from the skill's SKILL.md. Every use case is checked against a quote from it.
How to install the ghost-validate skill
Each command copies the skill folder into the client's skills directory. Restart the client or start a new session to load it.Install the ghost-validate skill in Plugin
/plugin marketplace add ghostsecurity/skills /plugin install ghost@ghost-security
Install the ghost-validate skill in Claude Code
~/.claude/skills/ghost-validate/SKILL.md
$ npx degit ghostsecurity/skills/plugins/ghost/skills/validate ~/.claude/skills/ghost-validateInstall the ghost-validate skill in Claude Code (project)
.claude/skills/ghost-validate/SKILL.md
$ npx degit ghostsecurity/skills/plugins/ghost/skills/validate .claude/skills/ghost-validateInstall the ghost-validate skill in Codex
~/.agents/skills/ghost-validate/SKILL.md
$ npx degit ghostsecurity/skills/plugins/ghost/skills/validate ~/.agents/skills/ghost-validateInstall the ghost-validate skill in Gemini CLI
~/.gemini/skills/ghost-validate/SKILL.md
$ npx degit ghostsecurity/skills/plugins/ghost/skills/validate ~/.gemini/skills/ghost-validateInstall the ghost-validate skill in Claude.ai
npx degit ghostsecurity/skills/plugins/ghost/skills/validate ghost-validate && zip -r ghost-validate.zip ghost-validate # claude.ai → Customize → Skills → + → Create skill → Upload a skill → ghost-validate.zip
SKILL.md
View on GitHubSecurity Finding Validation
Determine whether a security finding is a true positive or false positive. Produce a determination with supporting evidence.
Input
The user provides a finding as a file path or pasted text. If neither is provided, ask for one.
Extract: vulnerability class, specific claim, affected endpoint, code location, and any existing validation evidence.
Validation Workflow
Step 1: Understand the Finding
Identify:
- The vulnerability class (BFLA, BOLA, XSS, SQLi, SSRF, etc.)
- The specific claim being made (what authorization check is missing, what input is unsanitized, etc.)
- The affected endpoint and HTTP method
- The code location
Step 2: Analyze the Source Code
- Read the vulnerable file at the specified line number and all supporting files
- Trace the request flow from route registration through middleware to the handler
- Verify the specific claim — does the code actually lack the described check?
- Look for indirect protections (middleware, helpers, ORM constraints) the scanner may have missed
- Confirm the vulnerable code path is reachable under the described conditions
Step 3: Live Validation (When Available)
If a live instance of the application is accessible and the vulnerability can be confirmed through live interaction, use the proxy skill to confirm exploitability:
- Start reaper proxy scoped to the target domain
- Authenticate (or have the user authenticate) as a legitimate user and capture a valid request to the vulnerable endpoint
- Replay or modify the request to attempt the exploit described in the finding
- Compare the response to expected behavior:
- Does the unauthorized action succeed? (true positive)
- Does the server reject it with 401/403/404? (false positive)
- Capture the request/response pair as evidence using
reaper get <id>
Step 4: Make Determination
Classify the finding as one of:
- True Positive: The vulnerability exists and is exploitable. The code lacks the described protection and the endpoint is reachable.
- True Positive (Confirmed): Same as above, plus live testing demonstrated successful exploitation.
- False Positive: The vulnerability does not exist. Provide the specific reason (indirect protection found, code path unreachable, etc.).
- Inconclusive: Cannot determine without additional information. Specify what is needed.
Step 5: Report
Output a summary in the following format:
- Determination: True Positive, False Positive, or Inconclusive
- Confidence: High, Medium, or Low
- Evidence Summary: Key findings from code review and/or live testing
- Code Analysis: Specific lines and logic that support the determination
- Live Test Results (if performed): Request/response pairs demonstrating the behavior
- Recommendation: Fix if true positive, close if false positive, gather more info if inconclusive
Example:
## Validation Result
- **Determination**: True Positive
- **Confidence**: High
- **Evidence**: Handler at routes/transfers.go:142 queries transfers by ID without checking ownership. No middleware or ORM-level constraint enforces user scoping.
- **Recommendation**: Add ownership check — include user_id in the WHERE clause.
Step 6: Persist Results
If the finding was provided as a file path, ask the user if they would like to append the validation details to the original finding file. If they agree, append a ## Validation section to the file containing the determination, confidence, evidence summary, and recommendation.
Vulnerability Class Reference
See VULNERABILITY_PATTERNS.md in this skill directory for patterns to look for when validating authorization flaws (BFLA/BOLA/IDOR), injection (SQLi/XSS), and authentication flaws.
Files in this skill
2ghost-validate skill questions
How do I install the ghost-validate skill in Claude Code?
Run npx degit ghostsecurity/skills/plugins/ghost/skills/validate ~/.claude/skills/ghost-validate. Claude Code loads skills from ~/.claude/skills (all projects) or .claude/skills (one project) and uses a skill when its description matches the task.
Which clients can use the ghost-validate skill?
Any client that reads the Agent Skills format: Claude Code, Codex, Gemini CLI and claude.ai (upload as a ZIP). Scripts in the skill run only where the client allows code execution.
What does this skill do with security findings?
It determines whether a security finding is a true positive or a false positive by analyzing source code and, if possible, testing against a live application.
How does the skill perform live validation?
It uses a proxy to capture authenticated requests, replays or modifies them to attempt an exploit, and compares the server response to determine exploitability.