Principle:0xSteph Pentest ai Earned Verdict Verification
| Knowledge Sources | |
|---|---|
| Domains | Security_Testing, Verification |
| Last Updated | 2026-10-23 12:00 GMT |
Overview
A verification philosophy requiring that every vulnerability finding earn a VERIFIED verdict from a machine-checkable oracle rather than being asserted by an LLM or scanner.
Description
Earned Verdict Verification is the principle that a vulnerability finding's verdict must be earned through machine-checkable proof, never asserted by human or LLM judgment. It solves the core trust problem in automated security testing: that LLMs and third-party scanners produce false positives at rates that make their raw output unusable for decision-making.
The principle enforces an invariant: a verified verdict must name the machine-checkable oracle_kind that earned it. An LLM cannot assert a verdict into existence — a Receipt requires an oracle kind. This creates a frozen contract between the verifier and every downstream consumer (reports, CI gates, bug-bounty submissions, retest diffs).
A non-pass is an abstain (candidate), never a refuted. No oracle here can prove a vulnerability SAFE; a replay miss means "could not re-prove," which is honest about uncertainty rather than claiming the vuln is gone.
Usage
Use this principle when designing automated security testing systems where:
- Findings will drive decisions (CI gates, bug-bounty submissions, compliance reports)
- False positives carry real cost (blocked pipelines, wasted triage time, lost credibility)
- The system uses LLMs or third-party scanners that may hallucinate or pattern-match incorrectly
- You need a trust mechanism that survives independent scrutiny (replay, not signature)
Theoretical Basis
The core invariant:
Where an oracle is a machine-checkable proof that returns a boolean pass/fail with evidence. The verdict is a function of the oracle's output, not of any LLM assertion.
Pseudo-code Logic:
# Abstract algorithm (NOT real implementation)
result = await oracle.verify()
if result.passed:
verdict = Verdict.verified
else:
verdict = Verdict.candidate # abstain, never refuted
receipt = Receipt(
finding_id=finding_id,
verdict=verdict,
oracle_kind=oracle.kind, # mandatory for verified
evidence=result.evidence,
)
The invariant is enforced at the data-model level: a Receipt with verdict=verified and oracle_kind=None raises a validation error.
Practical Guide
- Never surface an unverified third-party scanner finding as a final finding
- Use an allowlist (not denylist) for trusted sources — new scanners fail safe toward gating
- A finding with no verification recipe stays a candidate (honest about what you can prove)
- The receipt is a frozen, versioned contract — downstream consumers code against the schema, not verifier internals
Related Pages
Implemented By
- Implementation:0xSteph_Pentest_ai_Verifier_verify_candidate
- Implementation:0xSteph_Pentest_ai_Receipt_Contract
- Implementation:0xSteph_Pentest_ai_tool_trust