Implementation:0xSteph Pentest ai agents Poc Validator Agent
| Knowledge Sources | |
|---|---|
| Domains | Security, Vulnerability_Validation, OPSEC |
| Last Updated | 2026-10-22 12:00 GMT |
Overview
Concrete agent definition for vulnerability validation via safe Proof of Concept execution provided by the pentest-ai-agents toolkit.
Description
The poc-validator agent is a Tier 2 (Bash-capable) Claude Code subagent that automatically generates safe PoC scripts, executes them in a controlled manner, and confirms whether reported vulnerabilities are real. It eliminates false positives before they reach the report. Every PoC follows safety-first design: non-destructive, canary values instead of real payloads, no persistence, no real exfiltration, reversible, and time-limited.
The agent supports batch validation mode for processing full scan reports in priority order and produces structured validation reports with confidence assessments. It embeds the scope-guard safety framework and updates vulnerability status in the findings database.
This is a Pattern Doc: the agent defines a PoC generation framework, safety-first design rules, false positive detection heuristics, and batch validation methodology.
Usage
- Single validation: Delegate when a specific vulnerability needs PoC validation.
- Batch validation: Provide a full scan report for batch validation in priority order (Critical first, then High).
- False positive elimination: Use to filter out version-only detections, WAF-interfered results, and dead code paths.
Code Reference
Source Location
- Repository: pentest-ai-agents
- File: agents/poc-validator.md
Signature
---
name: poc-validator
description: >
Delegates to this agent when the user wants to validate a vulnerability
finding with a safe Proof of Concept, eliminate false positives from scan
results, automatically generate and execute PoC scripts for confirmed
vulnerabilities, or verify that a reported bug is real.
tools:
- Bash
- Read
- Write
- Edit
- Grep
- Glob
- WebFetch
- WebSearch
model: sonnet
---
Import
# Loaded by Claude Code from .claude/agents/ when installed via install.sh
I/O Contract
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| Vulnerability finding | text | Yes | Description of the vulnerability to validate |
| Target | text | Yes | IP/URL within declared scope |
| Scope declaration | text | Yes | Authorized targets |
| Scan report | text | No (batch) │ Full scan report for batch validation |
Outputs
| Name | Type | Description |
|---|---|---|
| Validation report | Markdown | CONFIRMED / FALSE POSITIVE / NEEDS MANUAL REVIEW with PoC script, output, reasoning |
| Batch summary | table | Total, confirmed, false positive, needs review counts |
| Evidence files | filesystem | PoC scripts and execution output in evidence/ |
| DB updates | SQLite │ Updated vuln status via findings.sh update vuln |
Usage Examples
Validate a Single Vulnerability
User: "Validate the SQL injection finding on https://shop.example.com/search?q=test"
# Agent generates a safe PoC:
# - Time-based blind SQLi test using SLEEP()
# - Canary marker: PENTESTAI_POC_20261022_140000
# - Non-destructive: extracts database version, no data exfiltration
# - Tags: [MODERATE] Active but controlled
# After execution, produces validation report:
# VALIDATION STATUS: CONFIRMED
# PoC Type: Script (Python)
# Safety Rating: Non-destructive
# Confidence: Confirmed (5.02s delay confirms time-based blind SQLi)
# Adjusted Severity: High (was Medium, elevated due to database access)
# Updates findings DB:
findings.sh update vuln 12 --status confirmed \
--confirmed-by "poc-validator" \
--poc-output "Time-based blind SQLi confirmed: 5.02s delay"
Batch Validate Scan Results
User: "Validate all findings from this Nuclei scan" [pastes JSON results]
# Agent processes in priority order:
# 1. Critical findings first (validate all)
# 2. High findings second
# 3. Duplicates last (validate once, apply to all)
# Produces batch summary:
# Total Findings: 47
# Confirmed: 31 (66%)
# False Positive: 12 (26%)
# Needs Review: 4 (8%)
Related Pages
Implements Principles
- Principle:0xSteph_Pentest_ai_agents_PoC_Validation
- Principle:0xSteph_Pentest_ai_agents_Scope_Enforcement_and_Safety
Uses Heuristics
- Heuristic:0xSteph_Pentest_ai_agents_OPSEC_Tagging
- Heuristic:0xSteph_Pentest_ai_agents_Least_Aggressive_First
Related Implementations
- Implementation:0xSteph_Pentest_ai_agents_Scope_Guard provides the embedded safety framework
- Implementation:0xSteph_Pentest_ai_agents_Findings_CLI receives status updates from this agent
- Implementation:0xSteph_Pentest_ai_agents_Exploit_Chainer_Agent consumes confirmed findings from this agent