A Codex skill project for generating and validating vulnerability PoCs from GitHub fix commit URLs.
中文说明: README.zh-CN.md
skill/SKILL.md: skill behavior, workflow, and execution guidanceskill/agents/openai.yaml: Codex UI metadataskill/references/poc-template.md: PoC report templateskill/scripts/fetch_commit_diff.py: download.diff/.patch/.jsonfrom a commit URLskill/scripts/analyze_patch.py: heuristic extraction of vulnerability signalsskill/scripts/generate_poc_outline.py: generate PoC markdown outline (auto language + manual override)skill/scripts/verify_repro.py: run vulnerable vs patched verificationskill/scripts/run_poc_pipeline.py: one-command pipeline (outline + verification)
- Prepare artifacts:
python3 skill/scripts/fetch_commit_diff.py <commit_url> --out-dir ./artifacts --prefix commit
python3 skill/scripts/analyze_patch.py ./artifacts/commit-<sha>.diff- Generate PoC outline:
python3 skill/scripts/generate_poc_outline.py \
--meta ./artifacts/commit-<sha>.json \
--analysis ./artifacts/commit-<sha>.diff.analysis.json \
--poc-lang auto- Verify vulnerable vs patched behavior:
python3 skill/scripts/verify_repro.py \
--meta ./artifacts/commit-<sha>.json \
--check-cmd "<your-check-command>" \
--verdict-mode different_exit_codes- Run end-to-end in one command:
python3 skill/scripts/run_poc_pipeline.py \
--meta ./artifacts/commit-<sha>.json \
--analysis ./artifacts/commit-<sha>.diff.analysis.json \
--poc-script ./your_generated_poc.py \
--verdict-mode vuln_zero_patched_nonzero \
--work-dir ./pipeline-workUse only in local/disposable and authorized environments. Do not run against production or unauthorized third-party systems.
Copy skill/ to your Codex skills path (usually ~/.codex/skills/vuln-poc-generate).