一键导入
verify-exploit
Develop and verify exploit code against a vulnerable Docker environment using fix commit analysis or public PoCs
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Develop and verify exploit code against a vulnerable Docker environment using fix commit analysis or public PoCs
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Open-source contribution agent. Activate when the user wants to contribute to GitHub repositories, write patches, fix bugs, submit PRs, or provide fixes for discovered vulnerabilities. Use when given a repo URL, issue link, CVE fix request, or when coordinating fix PRs alongside vulnerability disclosures.
Perform variant analysis and vulnerability hunting on open-source projects using Claude Code. Activate when user asks to: analyze a CVE/GHSA for variants, hunt for new vulnerabilities in a codebase, find similar bugs to a known vulnerability, do security research on a GitHub project, write PoCs for discovered vulnerabilities, or prepare security advisory reports for responsible disclosure. Covers: CVE variant analysis, broad vulnerability hunting (SSRF, SQLi, command injection, auth bypass, etc.), PoC development, report generation, and GitHub Security Advisory submission.
A simple test skill that instructs the agent to summarize a CVE ID in exactly 3 bullet points
| name | verify-exploit |
| description | Develop and verify exploit code against a vulnerable Docker environment using fix commit analysis or public PoCs |
| allowed-tools | verify_exploit python_repl http_request use_browser |
Before starting, you must have:
Use python_repl to run docker.from_env().ping(). If Docker is unavailable:
verify_exploitdocker ps)Use Primary Path (5A) if validated Fix/Patch Commit URLs exist. Use Fallback Path (5B) only if:
Select the best fix commit. Prefer NVD-tagged "Patch" commits, then GitHub Advisory patch references. Prefer the official upstream repository.
Fetch the commit diff. Use http_request or python_repl:
.patch or .diff.diffuse_browserAnalyze the diff. Determine:
Determine exploit mode:
"remote": vulnerability exploited via network traffic to a listening service. Exploit runs in a separate container using TARGET_HOST and TARGET_PORT env vars."local": vulnerability triggered locally (privilege escalation, file parsing, deserialization, buffer overflow, command-line tool exploits). Exploit runs INSIDE the target container. Do NOT use TARGET_HOST/TARGET_PORT.Write original exploit code targeting the pre-patch behavior:
Write a Dockerfile following the rules in references/dockerfile-rules.md.
Call verify_exploit with ALL required parameters: dockerfile_content, exploit_code, exploit_language, cve_id, target_info (with affected_software, affected_versions, vulnerability_type), exploit_mode, and target_port (required for remote mode).
Handle results (up to 3 retries):
build_error: read build_log, fix Dockerfile, retrytarget_error: read target_logs and build_log, fix Dockerfile, retryfailed: review exploit_output and target_logs, adjust exploit or try alternative sourcesSelect ONE most promising PoC:
Do NOT attempt every link — pick the single best candidate.
Analyze the PoC: Classify it (RCE, DoS, info-leak) by looking for network calls, command execution, and memory corruption indicators.
Write a Dockerfile following references/dockerfile-rules.md. Choose exploit mode based on whether the PoC targets a network service ("remote") or triggers locally ("local"). For remote mode, update the PoC to read TARGET_HOST and TARGET_PORT from environment variables.
Call verify_exploit and handle results (up to 5 retries):
build_error or target_error: read logs, fix Dockerfile, retry. If a public GitHub PoC exists, rebuild until it succeeds.build_error persists: check GitHub advisory for preconditions; try base image with the vulnerable package for local exploits.failed: adjust exploit. If still failing, try a different PoC source.verify_exploit removes containers, networks, and images after each runverify_exploit entirely if the vulnerability targets kernel, hardware, or hypervisor that cannot run in Docker — state the reason| Mode | Use for |
|---|---|
"local" | Privilege escalation, file parsing bugs, library vulnerabilities triggered by local input, command injection in local tools, deserialization, buffer overflows |
"remote" | Any vulnerability exploited by sending network traffic to a listening service (web servers, databases, APIs, network daemons) |
If the target requires auth or feature toggles, pass them via target_env in verify_exploit (e.g., {"LANGFLOW_SKIP_AUTH_AUTO_LOGIN": "true"}).
When building Docker images for Node.js packages published as ES modules, add "type": "module" to package.json and use import instead of require().