spbreed/cyber-commons/appsec-exploit-validate
Claude Code and agent skill by spbreed/cyber-commons
- community
Checking that the SKILL.md file is still in the repository.
Prove a candidate vulnerability is real by reproducing it in an isolated sandbox, then decide whether it chains into something worse. Use when asked to validate or confirm a finding, write or run a proof-of-concept, check exploitability, reproduce a CVE, or separate theoretical findings from demonstrated ones.
Install
npx vskill@latest install spbreed/cyber-commons/appsec-exploit-validateSKILL.md
The same SKILL.md was published earlier as spbreed/cyber-commons/appsec-exploit-validate.
AppSec pipeline · Phase 4 — Dynamic validation
Covers stages 11–14. A finding that has been reproduced is a different object from a finding that has been argued for. This phase produces the difference, and it is the phase with the sharpest safety constraints.
When to use this
Only on findings that reached feasible: true, verdict: confirmed in Phase 3. Validating an unfiltered list wastes the most expensive stage in the pipeline on findings Phase 3 would have deleted.
Safety preconditions — check before anything else
Refuse to proceed unless all hold, and say which one failed:
- The target is a local sandbox or an explicitly authorised environment.
Never a production host, never a third party's infrastructure.
- The sandbox has no credentials beyond throwaway ones, and no route
to a real network the exploit could reach.
- The proof-of-concept demonstrates the flaw. It does not exfiltrate real
data, persist, escalate beyond the demonstration, or damage anything.
- There is a teardown and it runs even on failure.
This is not ceremony. A validation harness with production credentials in its environment is itself the vulnerability.
Procedure
Stage 11 — Sandbox replication. Stand the component up in isolation with the smallest fixture that reproduces the conditions: the vulnerable version, the reachable entry point, and nothing else. Record the exact commit and the fixture, because a PoC that cannot be re-run is an anecdote.
Stage 12 — Dynamic exploitation. Drive the entry point with an input that should trigger the sink. Capture the observable: the crash, the query executed, the file read, the process spawned. The observable is the evidence — an exit code is not. Record what you sent and what came back.
Stage 13 — Exploit chaining. Ask what the demonstrated primitive gives access to next. A path traversal that reads a config file containing a token is not a file-read bug; it is a credential-disclosure bug. Chain only within the sandbox, and stop at the first step that would need a real credential.
Stage 14 — Remediation engineering. Propose the fix at the right layer, and say what it costs. Prefer the control that makes the class impossible (parameterised queries, an allowlist, a type) over the one that blocks the sample payload (a regex on the input you happened to send). Then re-run stage 12 against the fix — a remediation that has not been tested against the PoC that motivated it is a hypothesis.
Example
Input — the fixture committed at the top of `scripts/appsec_exploit_validate.py`. Edit it and re-run: the buckets, counts and verdicts below are derived from it, not hard-coded.
Output — the opening lines of a real run:
The run continues past this. test_skills.py executes the script on every build, with no model configured — so what CI proves is that it runs and refuses legibly, not that it prints these lines. The output above is a recorded run against a real model, and nothing re-diffs it: a model's answer is not reproducible, and this repository does not claim otherwise anywhere it can be checked.
Output contract
reproduced: false is a first-class result and must be reported, not dropped. A finding that survived Phase 3 and then failed to reproduce is the single most useful signal the pipeline produces about its own false-positive rate.
Failure modes
- Reporting `reproduced: true` without an observable. The observable is the
claim; without it there is nothing to check.
- Treating "the exploit ran" as "the fix works". Re-run after remediation
or set retested: false and say so.
- Chaining outside the sandbox. Stop and record
stopped_because. - Fixing the payload instead of the class. A regex that blocks
../does
not fix path traversal.
Handoff
Pass validations to appsec-triage-report. Findings that failed to reproduce keep their finding record and gain reproduced: false — the report must be able to distinguish "demonstrated" from "asserted".
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/appsec/appsec-exploit-validate/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Grok Build (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
[](https://verified-skill.com/skills/spbreed/cyber-commons/appsec-exploit-validate)