# How are findings validated and reported?

> Open-source AI pentest and offensive-security agents — a good answer covers: How a suspected vulnerability is confirmed (proof-of-concept re-run, second-agent review, deterministic checks), how false positives and duplicates are handled, and the report format produced.

Canonical page: https://llms-technical-reviews.com/offensive-security-agents/q/findings/

## Verdict

Pentest Swarm AI and RAPTOR do the most to confirm findings with signals that do not come from a model. Strix and Shannon produce the most complete structured reports, but their confirmation is the agent's own claim.

**Mechanical proof.** [Pentest Swarm AI](/p/pentest-swarm-ai/)'s `--verify` oracles re-test a finding against the live target with timing, response-difference or out-of-band signals, and an oracle verdict outranks any model claim. Its `--verify-poc` runs LLM-written scripts locally without a network guard, and its cross-tool corroboration module is never called. [RAPTOR](/p/raptor/) grades evidence from runtime observation and replayed crashes down to `HEURISTIC` (LLM inference), and runs Z3 reachability, a binary oracle and sandboxed compile checks before trusting a verdict.

**Deterministic gates on model evidence.** [Decepticon](/p/decepticon/)'s verifier passes a finding only when a PoC matches and a baseline control does not, though the model writes both commands and every pattern. CVSS is computed, not guessed. [PentestGPT](/p/pentestgpt/) accepts `done` only when quoted evidence is an exact slice of captured output, but has no findings model or report yet. [Nebula](/p/nebula/) rejects candidate findings without evidence IDs or reproduction steps and needs operator sign-off for a final report. [CyberStrike](/p/cyberstrike/) caps unevidenced high-severity claims for execution-dependent classes at medium and labels them `[UNCONFIRMED CANDIDATE]`.

**Structured but self-attested.** [Strix](/p/strix/) requires counterevidence, confidence and a full CVSS vector, checks cited proxy request IDs, and dedupes with an LLM judge that fails open. Output includes SARIF and PDF. [Shannon](/p/shannon/) reports only typed `exploited` or `blocked` verdicts in exploit mode, rendered deterministically to Markdown, PDF and SARIF. A model groups duplicates, and nothing replays the exploit.

**Weak or absent.** [RedAmon](/p/redamon/)'s findings are the model's reading of tool output, with checks only for findings it forgot to record. [PentestAgent](/p/pentestagent/) validates note fields per category, but status is self-reported and duplicates are caught only by key. [PentAGI](/p/pentagi/) has no findings model: a reporter agent writes Markdown. [HexStrike AI](/p/hexstrike-ai/) counts words such as `HIGH` in stdout, and its correlator returns placeholder CVEs.

Pick: Pentest Swarm AI with `--verify`, or RAPTOR for code and binaries, when proof must not depend on a model.
Pick: Strix or Shannon for CI-ready SARIF reports.
Pick: Decepticon for PoC-plus-control checks, or Nebula for operator-signed reports.

## Per-project answers

### usestrix/strix (answered)

Findings are filed as structured vulnerability reports with **mandatory CVSS scoring, counterevidence, confidence, and proof-of-concept** through `create_vulnerability_report` (`tools/reporting/tool.py:981–1460`).

**Required fields** — Every finding requires title, description, impact, target, technical_analysis, poc_description, poc_script_code, remediation_steps, evidence, assumptions, counterevidence, confidence, severity_change_conditions, fix_effort, and a full 8-metric CVSS v3.1 breakdown (`tool.py:157–168`). Validation checks all required text fields, confidence enum (high/medium/low), fix_effort enum, CVSS metric validity, and HTTP exchange ID provenance.

**Deduplication** — Before persisting, the tool calls `check_duplicate()` in `report/dedupe.py:330–418`. Dependency CVEs are deduplicated deterministically by CVE + package + ecosystem identity, optionally split by manifest_path. Dynamic findings are compared via an LLM judge using a structured `DEDUPE_SYSTEM_PROMPT` (lines 68–135) that considers root cause, endpoint, method, and fix equivalence. A separate configurable dedupe model may be used via `STRIX_DEDUPE_MODEL`. When a duplicate is detected, the report is rejected with a `duplicate_of` response.

**Validation and revision lifecycle** — Every finding goes through client-side validation (CVSS computation via the `cvss` library, CVE/CWE regex, code location format, HTTP exchange ID verification against the Caido project). After filing, findings can be `update_vulnerability_report`'d (keeping id and audit history) or `delete_vulnerability_report`'d. Updates track previous values, reasons, and field history (`report/state.py:459–555`). Dependent fields (e.g. `confidence_rationale` with `confidence`) are auto-dropped when the parent field changes without a replacement.

**PoC re-validation** — The system prompt includes the `analysis/counterevidence` skill requiring agents to actively search for evidence against their own finding before filing. The `fix_verification` field enforces a four-gate review (security closure, bypass review, preserved behavior, repo checks) when a code fix is proposed.

**Report output** — Multiple formats are written to the run directory (`strix_runs/<name>/`): (1) individual markdown files per finding under `vulnerabilities/<id>.md`, (2) `vulnerabilities.json` (full structured data), (3) `vulnerabilities.csv` (index with CWE-1236 formula-injection protection), (4) `penetration_test_report.md` (executive summary + methodology + technical analysis + recommendations), (5) `findings.sarif` for CI/ASPM integration (`report/writer.py`), and (6) PDF via `report_pdf.py`. The final scan report is emitted by `finish_scan` which writes the four narrative sections.


Citations: [strix/tools/reporting/tool.py:981-1010](https://github.com/usestrix/strix/blob/6b7ae2ebe4d47037a927aade23265ff4e4f27e84/strix/tools/reporting/tool.py#L981-L1010) · [strix/tools/reporting/tool.py:808-963](https://github.com/usestrix/strix/blob/6b7ae2ebe4d47037a927aade23265ff4e4f27e84/strix/tools/reporting/tool.py#L808-L963) · [strix/report/dedupe.py:68-136](https://github.com/usestrix/strix/blob/6b7ae2ebe4d47037a927aade23265ff4e4f27e84/strix/report/dedupe.py#L68-L136) · [strix/report/dedupe.py:330-418](https://github.com/usestrix/strix/blob/6b7ae2ebe4d47037a927aade23265ff4e4f27e84/strix/report/dedupe.py#L330-L418) · [strix/report/state.py:207-240](https://github.com/usestrix/strix/blob/6b7ae2ebe4d47037a927aade23265ff4e4f27e84/strix/report/state.py#L207-L240) · [strix/report/writer.py:148-200](https://github.com/usestrix/strix/blob/6b7ae2ebe4d47037a927aade23265ff4e4f27e84/strix/report/writer.py#L148-L200)

### KeygraphHQ/shannon (answered)

Findings flow through a **deterministic pipeline with no LLM involvement in validation or deduplication**.

**Capture**: Vulnerability agents produce structured exploitation queues via the `submit_exploitation_queue` custom tool, which validates each entry against a TypeBox schema with per-class fields (injection, xss, auth, authz, ssrf, miscellaneous). The tool rejects out-of-namespace IDs and duplicate producer IDs before the data leaves the agent session (`apps/worker/src/ai/queue-schemas.ts:313-348`). Per-agent validators in `session-manager.ts` (`createVulnValidator`, `createExploitValidator`) check that the queue JSON file exists on disk.

**Reconciliation** (`apps/worker/src/temporal/workflows.ts:619-702`): After vuln analysis, each class undergoes a five-stage reconciliation pipeline: prepare (read durable producer observations), enrich (enrich observations with SAST provenance if available), form (Pass 1 model-based task formation — groups observations into exploitation tasks via a dedicated pi session; falls back to a singleton fallback when the model fails in an accepted way), materialize (merges enrichment into tasks), and publish (writes the reconciled queue as durable state). The form stage applies a `FORBIDDEN_MODEL_KEYS` blocklist to prevent internal IDs from leaking into published tasks (`apps/worker/src/ai/reconciliation/form.ts:46-54`).

**Confirmation**: Shannon does not use a second-agent review for confirmation. Instead, the exploitation phase runs a separate agent that independently attempts to exploit each finding from the reconciled queue. The exploitation agent produces `*_exploitation_evidence.md` files with proof-of-concept steps. The exploitation decision is based on whether the reconciled queue has vulnerabilities (`apps/worker/src/temporal/workflows.ts:776-778`).

**Report Assembly** (`apps/worker/src/services/reporting.ts`, `apps/worker/src/services/report-renderer.ts`): The report agent produces a structured `report.json`, which is then deterministically rendered (no LLM) into: Markdown (`Security-Assessment-Report.md`), PDF (via Typst from `apps/worker/templates/typst/report.typ`), and SARIF 2.1.0 (`report.sarif`, exploit runs only). Degradation is tracked via closed `PartialReasonCode`s (`apps/worker/src/types/run-state.ts:30-39`). When `exploit=false`, the findings renderer (`apps/worker/src/services/findings-renderer.ts`) deterministically converts each `*_exploitation_queue.json` into `*_findings.md` with no LLM in the loop. The final status is `partial` if any partial reasons were recorded, `completed` otherwise.

> **Editor's note.** Correction: validation is not LLM-free — reconciliation's form stage is a model-driven task-formation session that groups (de-duplicates) observations into exploitation tasks, and an `exploited` verdict is the exploit agent's own schema-validated claim with no independent replay; only the final report rendering is deterministic.

Citations: [apps/worker/src/ai/queue-schemas.ts:294-348](https://github.com/KeygraphHQ/shannon/blob/b9744f6cecc5429333873b86a6762f1d70c54fc2/apps/worker/src/ai/queue-schemas.ts#L294-L348) · [apps/worker/src/temporal/workflows.ts:619-702](https://github.com/KeygraphHQ/shannon/blob/b9744f6cecc5429333873b86a6762f1d70c54fc2/apps/worker/src/temporal/workflows.ts#L619-L702) · [apps/worker/src/ai/reconciliation/form.ts:38-54](https://github.com/KeygraphHQ/shannon/blob/b9744f6cecc5429333873b86a6762f1d70c54fc2/apps/worker/src/ai/reconciliation/form.ts#L38-L54) · [apps/worker/src/services/report-renderer.ts:1-99](https://github.com/KeygraphHQ/shannon/blob/b9744f6cecc5429333873b86a6762f1d70c54fc2/apps/worker/src/services/report-renderer.ts#L1-L99) · [apps/worker/src/services/findings-renderer.ts:1-38](https://github.com/KeygraphHQ/shannon/blob/b9744f6cecc5429333873b86a6762f1d70c54fc2/apps/worker/src/services/findings-renderer.ts#L1-L38) · [apps/worker/src/types/run-state.ts:28-39](https://github.com/KeygraphHQ/shannon/blob/b9744f6cecc5429333873b86a6762f1d70c54fc2/apps/worker/src/types/run-state.ts#L28-L39)

### vxcontrol/pentagi (answered)

There is no automated finding-validation pipeline with PoC re-execution or second-agent cross-checking. Instead, findings emerge organically from the agent chain outputs and are compiled into markdown reports.

**How findings surface.** The specialist agents (pentester, coder) execute tests inside the Docker sandbox and report results through barrier tools: `hack_result` for penetration test findings, `code_result` for code output, `maintenance_result` for tool installation outcomes. These are stored as `Agentlog` entries and `Msglog` entries with type `MsglogTypeReport`, attributed by role (initiator/executor, `pkg/database/models.go:870-880`). The report is a summary produced by the `reporter` agent.

**Report generation.** At the end of a task, `taskWorker.writeResult()` (`pkg/controller/task.go:382-422`) calls `Provider.GetTaskResult()` to generate the write-up. The `reporter` agent produces a markdown report that is stored as `MsglogTypeReport`. Reports can also be requested on-demand via `flowWorker.Report()` (`pkg/controller/flow.go:964-993`), which supports up to 3 retry attempts with 20-second exponential backoff (lines 918-931). The report has a configurable budget (default 30 minutes, line 927).

**Deduplication and false positive handling.** The codebase does not implement explicit false-positive verification or PoC re-run validation. There is no second-agent cross-checker for findings. Duplicates are handled only at the vector-store retrieval level (`MergeAndDeduplicateDocs()` in memory.go and guide.go) — this is for memory retrieval, not finding deduplication. Subtask replanning via the `refiner` agent is the closest the system comes to "re-checking" — if a subtask fails, the refiner adjusts the plan and the new approach may re-examine the same target.

**Report format.** Reports are markdown (`MsglogResultFormatMarkdown`), stored in the `Msglog` table with type `MsglogTypeReport`. The `Terminal/Task/ToolCall` logs are all persisted for audit trail, but there is no specific "findings database" table — the engagement output is the prose report plus the raw execution logs.


Citations: [backend/pkg/controller/task.go:382-422](https://github.com/vxcontrol/pentagi/blob/cffed9485aa1cca70762cd08a57ac62a80406258/backend/pkg/controller/task.go#L382-L422) · [backend/pkg/controller/flow.go:917-993](https://github.com/vxcontrol/pentagi/blob/cffed9485aa1cca70762cd08a57ac62a80406258/backend/pkg/controller/flow.go#L917-L993) · [backend/pkg/database/models.go:870-880](https://github.com/vxcontrol/pentagi/blob/cffed9485aa1cca70762cd08a57ac62a80406258/backend/pkg/database/models.go#L870-L880) · [backend/pkg/tools/registry.go:393-397](https://github.com/vxcontrol/pentagi/blob/cffed9485aa1cca70762cd08a57ac62a80406258/backend/pkg/tools/registry.go#L393-L397)

### GreyDGL/PentestGPT (answered)

There is **no structured findings subsystem** in this codebase. The CONTEXT.md explicitly states: "Structured findings are not implemented yet" (`CONTEXT.md:51-52`). Instead, the framework produces canonical **observations**: each is an exact contiguous substring from exactly one eligible command or tool output receipt, stored as `ObservationRecord` in SQLite with full identity provenance (run, task, attempt, trace episode, evidence sequence). The `compile_execution()` function (`execution.py:271`) enforces evidence grounding through multiple resolution strategies: exact substring match (`_exact_receipt_slice`), ordered line-span widening (`_ordered_exact_line_span`), unique line-envelope recovery (`_exact_unique_line_envelope`), cross-receipt projection (`_supported_single_receipt_projection`), and prior-observation reuse for no-action retries. Evidence that is truncated to 4,000 characters, widened, projected, or unresolved degrades `done` outcomes to `progress` — it can never complete a task. False-positive prevention is structural: the Executor must quote evidence verbatim, the compile step validates it against the trace receipts, and oversize or paraphrased evidence can only produce `progress`. Duplicates are prevented by basis-ID uniqueness (`plan.py:205-206`) and by requiring every new task ID to be unique (`plan.py:179-180`). The `audit_run()` function (`audit.py:158`) provides an after-the-fact auditor that checks all observations are grounded to real trace events, all observation identities match, and all basis producers are dependency tasks. The audit validates a held-out oracle flag against canonical observations. The legacy client (`pentestgpt_legacy/`) logs model reasoning to files but has no structured validation.


Citations: [pentestgpt_agent/src/pentestgpt_agent/execution.py:66-250](https://github.com/GreyDGL/PentestGPT/blob/e8b1bb77d1ac00329675cec3b060aba971ec1ac8/pentestgpt_agent/src/pentestgpt_agent/execution.py#L66-L250) · [pentestgpt_agent/src/pentestgpt_agent/execution.py:271-382](https://github.com/GreyDGL/PentestGPT/blob/e8b1bb77d1ac00329675cec3b060aba971ec1ac8/pentestgpt_agent/src/pentestgpt_agent/execution.py#L271-L382) · [pentestgpt_agent/src/pentestgpt_agent/audit.py:158-412](https://github.com/GreyDGL/PentestGPT/blob/e8b1bb77d1ac00329675cec3b060aba971ec1ac8/pentestgpt_agent/src/pentestgpt_agent/audit.py#L158-L412) · [pentestgpt_agent/CONTEXT.md:49-53](https://github.com/GreyDGL/PentestGPT/blob/e8b1bb77d1ac00329675cec3b060aba971ec1ac8/pentestgpt_agent/CONTEXT.md#L49-L53)

### 0x4m4/hexstrike-ai (answered)

**Vulnerability findings are not validated or confirmed — they are naively counted by keyword matching in raw tool output.** In the smart-scan endpoint (line 9702), after executing each tool, the code scans `result.get('stdout', '')` for a list of keywords: `['CRITICAL', 'HIGH', 'MEDIUM', 'VULNERABILITY', 'EXPLOIT', 'SQL injection', 'XSS', 'CSRF']` — the count is simply `sum(1 for indicator in vuln_indicators if indicator.lower() in output.lower())` (line 9740). There is no second-agent review, no proof-of-concept re-execution, and no structured deduplication. The exploit classes (`SQLiExploit` line 7393, `XSSExploit` line 7522, `GenericExploit` line 7787, etc.) are Python template strings for generating exploit code files, not runtime verification modules — they contain template variables like `{target_url}` embedded in f-string patterns waiting for format substitution. The `VulnerabilityCorrelator` (line 8510) uses hardcoded mock CVE data (`"CVE-2024-1234"` at line 8600) and is described as "simplified implementation" — it does not query any CVE database or correlate real findings. Reports are generated by `create_summary_report()` (line 5929) which renders colored ASCII cards with vulnerability titles and CVSS scores from whatever data is passed in — but since findings are never validated upstream, the report is essentially keyword-matched noise. There are no false-positive filters, no deduplication logic, and no structured report format beyond visual terminal output.


Citations: [hexstrike_server.py:9702-9753](https://github.com/0x4m4/hexstrike-ai/blob/d689933ff579d839c676c82b231f8e98326c5f04/hexstrike_server.py#L9702-L9753) · [hexstrike_server.py:7393-7431](https://github.com/0x4m4/hexstrike-ai/blob/d689933ff579d839c676c82b231f8e98326c5f04/hexstrike_server.py#L7393-L7431) · [hexstrike_server.py:7787-7846](https://github.com/0x4m4/hexstrike-ai/blob/d689933ff579d839c676c82b231f8e98326c5f04/hexstrike_server.py#L7787-L7846) · [hexstrike_server.py:8510-8629](https://github.com/0x4m4/hexstrike-ai/blob/d689933ff579d839c676c82b231f8e98326c5f04/hexstrike_server.py#L8510-L8629) · [hexstrike_server.py:5929-5949](https://github.com/0x4m4/hexstrike-ai/blob/d689933ff579d839c676c82b231f8e98326c5f04/hexstrike_server.py#L5929-L5949)

### BitterSecurity/Decepticon (answered)

**Pipeline: Detector → Verifier → Reporter.** Findings flow through a three-stage pipeline. The Detector agent identifies potential vulnerabilities and writes them as structured observations. The Verifier agent (`agents/plugins/verifier.py`, lines 1–77) independently adjudicates each candidate: it crafts a minimal proof-of-concept, runs it inside the HTTPSandbox with both the exploit command and a negative control (baseline), and uses the `validate_finding` tool to promote or reject. This is a **Zero-False-Positive (ZFP)** workflow — the Verifier is the quality gate.

**Workspace-first verification.** The `FindingVerifier` agent (`agents/standard/finding_verifier.py`, lines 1–33) reuses the Verifier's sandbox tools but operates workspace-first (no Neo4j dependency). Its core tool is `validate_workspace_finding()` (`tools/verification.py`, lines 17–78), which takes a PoC command, success patterns (comma-separated regexes), a negative command, negative patterns, and a CVSS vector. Validation succeeds only when the positive command output matches a success pattern, the baseline matches a negative pattern, AND the baseline does not match any success pattern — preventing trivially-valid false positives. The result is persisted as JSON in the finding's evidence directory.

**Dedup and quality.** Deduplication is handled through the workspace filesystem — each finding gets a canonical path (`findings/FIND-NNN.md` or `findings/{severity}_{number}_{title}.md`). The finding quality tool (`tools/reporting/finding_quality.py`, lines 33–60) checks machine-verifiable invariants: YAML frontmatter structure, matching ID/severity, verification status field, and CVSS vector consistency.

**Reporting.** The `FindingReporter` sub-agent (`agents/standard/finding_reporter.py`, lines 17–93) completes one adjudicated finding at a time, using the deterministic `cvss_score_tool` (`tools/reporting/cvss.py`, lines 1–60) implementing the FIRST.org CVSS 3.1 formula — pure arithmetic, no LLM guesswork. Multiple export formats are supported via `tools/reporting/__init__.py` (lines 1–51): HackerOne markdown templates, Bugcrowd CSV, SARIF v2.1.0 JSON, engagement executive summaries, ZIP bundles, and asciicast recordings.

> **Editor's note.** Correction: in the standard red-team path the verifier uses `validate_workspace_finding` (tools/verification.py L17-L75), not a graph-backed `validate_finding`; graph-backed verification is deferred, and the detector agent belongs to the separate vulnresearch plugins bundle. The model supplies both the PoC/baseline commands and the match patterns.

Citations: [packages/decepticon/decepticon/agents/plugins/verifier.py:1-77](https://github.com/BitterSecurity/Decepticon/blob/cd252a5467b91ccfdb46fde9562c75d671d33604/packages/decepticon/decepticon/agents/plugins/verifier.py#L1-L77) · [packages/decepticon/decepticon/tools/verification.py:17-78](https://github.com/BitterSecurity/Decepticon/blob/cd252a5467b91ccfdb46fde9562c75d671d33604/packages/decepticon/decepticon/tools/verification.py#L17-L78) · [packages/decepticon/decepticon/tools/reporting/finding_quality.py:33-60](https://github.com/BitterSecurity/Decepticon/blob/cd252a5467b91ccfdb46fde9562c75d671d33604/packages/decepticon/decepticon/tools/reporting/finding_quality.py#L33-L60) · [packages/decepticon/decepticon/tools/reporting/cvss.py:1-60](https://github.com/BitterSecurity/Decepticon/blob/cd252a5467b91ccfdb46fde9562c75d671d33604/packages/decepticon/decepticon/tools/reporting/cvss.py#L1-L60)

### gadievron/raptor (answered)

Findings flow through a **multi-stage validation pipeline with evidence-tier grading**, not a single LLM prompt. Static analysis tools (Semgrep, CodeQL) produce SARIF findings. The `/agentic` pipeline then runs exploitability validation (`packages/exploitability_validation/`) that filters false positives and unreachable code before LLM analysis. The evidence system (`core/evidence/__init__.py`) assigns every observation a tier: `OBSERVED_RUNTIME` (Frida instrumentation), `REPLAYED_CRASH` (ASan/fuzz witness), `SMT_PROVED` (Z3 solver), `CORPUS_CORROBORATED` (two independent witnesses), `DECODED_INSTRUCTION` (concrete address), `XREF_BACKED` (call-graph/dataflow), `HEADER_BACKED` (ELF/Mach-O headers), `DECOMPILER_INFERRED`, and `HEURISTIC` (LLM inference). The **orchestration driver** (`core/orchestration/driver.py`) implements a generate-and-verify loop with pluggable oracles: propose candidate → build artifact → test against mechanical oracle → refine → stop. The oracle has a `reliability_class` field (`decisive` for deterministic checks, `judgement` for LLM-based). For CodeQL findings specifically, `packages/codeql/` includes a `dataflow_validator` that checks reachability and sanitization guards by re-reading source context. Duplicates are handled via the **engagement ledger's content-identity system** (`core/engagement/ledger.py`): every artifact is keyed by content SHA-256, and the router (`core/engagement/router.py`) collects hypotheses from four producer classes (sibling runs, binary sink edges, ABI facts, corpus facts), ranks them by evidence strength, applies per-artifact quota allocation against a maximum seed cap, and writes per-artifact seed files — overflow beyond quota is escalated as a `routing_saturated` event rather than dropped silently. Findings are persisted as `findings.json` with `provenance_refs` back-linking to the producing run (`core/run/findings.py`). The reporting layer (`core/reporting/findings.py`) builds tables with columns: index, type, CWE, file:line, status, severity, CVSS.


Citations: [core/evidence/__init__.py:1-80](https://github.com/gadievron/raptor/blob/265236fc9f328be7df46cee36969fd447463c3c6/core/evidence/__init__.py#L1-L80) · [core/engagement/router.py:1-100](https://github.com/gadievron/raptor/blob/265236fc9f328be7df46cee36969fd447463c3c6/core/engagement/router.py#L1-L100) · [core/orchestration/driver.py:1-80](https://github.com/gadievron/raptor/blob/265236fc9f328be7df46cee36969fd447463c3c6/core/orchestration/driver.py#L1-L80) · [core/run/findings.py:1-80](https://github.com/gadievron/raptor/blob/265236fc9f328be7df46cee36969fd447463c3c6/core/run/findings.py#L1-L80) · [core/reporting/findings.py:1-80](https://github.com/gadievron/raptor/blob/265236fc9f328be7df46cee36969fd447463c3c6/core/reporting/findings.py#L1-L80)

### CyberStrikeus/CyberStrike (answered)

**Reporting.** The `report_vulnerability` tool (`tool/vulnerability.ts`) records each finding into the `Vulnerability` system backed by SQLite. Fields include severity (critical/high/medium/low/info), title, description, CWE ID, endpoint, attack_vector, vrt_category, PoC, execution_evidence, and repro steps. Findings are **never dropped** — they always persist with status "new" or "approved" depending on similarity to prior findings.

**Evidence-gated confirmation.** For execution-dependent classes (XSS, SSTI, command-injection, deserialization-RCE), findings reported at critical/high severity WITHOUT `execution_evidence` are **downgraded to medium** and labelled `[UNCONFIRMED CANDIDATE]` with `candidate` field set to the original severity. Re-reporting with evidence upgrades the candidate in place (no duplicate). This logic is in `tool/vulnerability.ts:67-128`.

**Deduplication.** `Vulnerability.similarCandidates()` finds near-duplicates by endpoint, title, and CWE ID. If similar candidates exist, the new finding lands as "new" and the agent must call `triage_vulnerability` to resolve it to "approved" or "duplicate" (linked via `duplicate_of`). Without similar findings, it lands as "approved" directly.

**Validation gates** (`methodology/validation.ts`): `runAllGates()` checks evidence quality (requestSent must contain an HTTP verb, responseSummary ≥50 chars, reasoning ≥100 chars, exploited entries must reference real data), run triager checks (severity-impact matching, reproducibility with ≥3 requests, scope validation, duplicate detection), and per-asset coverage (minimum 60% threshold). Blocking violations prevent report finalization.

**Report generation.** The `generate_report` tool (`tool/generate-report.ts`) produces a structured Markdown report with sections: executive summary, vulnerability findings (severity-sorted table with details), testing coverage, methodology progress, vulnerability chains, attack surface, timeline, agent performance, and validation status. The report includes AI-fillable placeholders for executive summary, risk assessment, and remediation priorities.


Citations: [packages/cyberstrike/src/methodology/validation.ts:1-100](https://github.com/CyberStrikeus/CyberStrike/blob/61044eddf31d1549b54cea64a5c0dd694ab0341b/packages/cyberstrike/src/methodology/validation.ts#L1-L100) · [packages/cyberstrike/src/tool/generate-report.ts:1-150](https://github.com/CyberStrikeus/CyberStrike/blob/61044eddf31d1549b54cea64a5c0dd694ab0341b/packages/cyberstrike/src/tool/generate-report.ts#L1-L150) · [packages/cyberstrike/src/session/vulnerability.ts:1-100](https://github.com/CyberStrikeus/CyberStrike/blob/61044eddf31d1549b54cea64a5c0dd694ab0341b/packages/cyberstrike/src/session/vulnerability.ts#L1-L100)

### samugit83/redamon (answered)

**Findings are LLM-extracted structured objects, not deterministic matches.** When a tool returns output, the think node's LLM call produces an `OutputAnalysis` containing `chain_findings` — each a `ChainFindingExtract` model (`state.py:382-408`) with `finding_type` (e.g. `vulnerability_confirmed`, `service_identified`, `exploit_success`, `privilege_escalation`), `severity`, `title`, `evidence`, `related_cves`, `related_ips`, and `confidence`. There is no code-side confirmation: the model judges its own output. A `finding_guard.py` module catches unrecorded confirmations (the LLM wrote "Record X as confirmed" under `actionable_findings` instead of producing a `chain_findings` entry) and surfaces them as a prompt reminder next turn.

**False positives are handled by productivity scoring.** The `compute_productivity_score()` function (`productivity.py`) evaluates the LLM's self-reported `productivity.verdict` against observed state growth (`detect_state_growth`, `detect_chain_advance`). Discrepancies are surfaced as `_last_productivity_discrepancy` in the next prompt. The system can downgrade a "productive" claim if `_iterations_since_state_grew` exceeds a threshold, stalling detection. A `uniform_response_anomaly` detector flags repetitive near-identical tool outputs. The `finding_guard.py` module (`unrecorded_confirmations()`) explicitly warns the model when it described recording a finding but didn't actually produce a `chain_findings` entry.

**Duplicate handling** happens at the LATS level (`lats.py:1336-1348`): a `_probe_dedup_key()` function creates a stable key from (tool_name, normalized args), and `_parse_expand_response()` enforces HARD dedup — a byte-identical probe is dropped pre-expansion. A cross-tree `_lats_probe_ledger` keeps the dedup across resets. At the finding level, duplicates are left to the LLM: `duplicate` is a verdict value in `OutputAnalysis.verdict`.

**Reporting format.** The `generate_response_node` (`generate_response_node.py`) adaptively selects one of three response tiers via `determine_response_tier()`: `conversational` (direct answer), `summary` (brief recap), or `full_report` (comprehensive report with findings, tool outputs, recommendations). The `FINAL_REPORT_PROMPT` includes the execution trace, target info, todo list, and completion reason. All chain activity is also persisted to Neo4j via `chain_graph_writer.py`: `AttackChain` nodes, `ChainStep` edges, `ChainFinding`/`ChainFailure`/`ChainDecision` nodes are created as fire-and-forget writes on a dedicated thread pool.

**Evidence re-run.** There is no deterministic PoC re-execution for proof. LATS re-evaluates confirmed paths by re-traversing the tree, and the LLM can request tool re-runs, but confirmation is always a model-level judgment of the same output.


Citations: [agentic/state.py:382-408](https://github.com/samugit83/redamon/blob/b13da9cb5ad35ae75428b8f21794e799a25fd201/agentic/state.py#L382-L408) · [agentic/orchestrator_helpers/nodes/generate_response_node.py:25-160](https://github.com/samugit83/redamon/blob/b13da9cb5ad35ae75428b8f21794e799a25fd201/agentic/orchestrator_helpers/nodes/generate_response_node.py#L25-L160) · [agentic/orchestrator_helpers/lats.py:1319-1348](https://github.com/samugit83/redamon/blob/b13da9cb5ad35ae75428b8f21794e799a25fd201/agentic/orchestrator_helpers/lats.py#L1319-L1348) · [agentic/orchestrator_helpers/chain_graph_writer.py:1-100](https://github.com/samugit83/redamon/blob/b13da9cb5ad35ae75428b8f21794e799a25fd201/agentic/orchestrator_helpers/chain_graph_writer.py#L1-L100) · [agentic/state.py:1057-1064](https://github.com/samugit83/redamon/blob/b13da9cb5ad35ae75428b8f21794e799a25fd201/agentic/state.py#L1057-L1064)

### GH05TCREW/pentestagent (answered)

**Note storage as findings primitive.** All findings are stored through the `notes` tool (`tools/notes/__init__.py:285`), which persists to `loot/notes.json` as a JSON file. Each note has: `key` (identifier), `content`, `category` (finding/credential/vulnerability/artifact/task/info), `confidence` (high/medium/low), `status` (open/closed/filtered/confirmed/potential), and structured `metadata` fields (target, source, username, password, port, cve, services, technologies, endpoints, weaknesses, evidence_path).

**Schema validation per category.** The notes tool enforces structural validation (`tools/notes/__init__.py:98-113`) via declarative rules:
- `credential` requires `username` + (`password` OR `protocol`) + `target`
- `vulnerability` requires `target` + (`cve` OR `weaknesses[]`)
- `finding` requires `target` + at least one of (services, endpoints, technologies, port)
- Host-specific data (services/endpoints/technologies/port) always requires `target`. If validation fails the note is **rejected** with an error message — the LLM sees the error and must fix its input.

**No automated re-verification or duplicates.** There is no mechanism to re-run a proof-of-concept or verify a finding via a second agent. The `status` field (open/closed/filtered/confirmed/potential) is set by the agent at creation time and is self-reported. The `notes` tool rejects duplicate keys on create ("Error: note 'key' already exists. Use 'update' to modify") which prevents accidental duplicate entries but does not detect semantic duplicates (e.g., two keys for the same CVE).

**Reporting format.** The `finish` tool's `CompletionReport` (`tools/finish/__init__.py:156`) models reports with: status (success/partial/failed), summary, findings list, artifacts list, and recommendations list. In crew mode, the orchestrator's finish tool calls the LLM to synthesize all agent results into a unified summary (`agents/crew/tools.py:105-125`). The `CompletionReport.format_display()` produces a human-readable report with status icon, summary, findings, artifact paths, and recommendations. The `is_task_complete()` sentinel signals completion across the agent loop. 

**ShadowGraph for derived insights** (`knowledge/graph.py:46`): In crew mode, notes are fed into a NetworkX-backed `ShadowGraph` that extracts entities (hosts, services, credentials, vulnerabilities) and relationships (AFFECTED_BY, AUTH_ACCESS, HAS_SERVICE, USES_TECH). The graph produces strategic insights for the orchestrator (e.g., "We have credentials that provide access to: ...", attack paths via NetworkX shortest_path). This is advisory only — it does not validate findings.


Citations: [pentestagent/tools/notes/__init__.py:96-145](https://github.com/GH05TCREW/pentestagent/blob/8dde193e41d34ac53ee87374316e5d2fe7cec946/pentestagent/tools/notes/__init__.py#L96-L145) · [pentestagent/tools/finish/__init__.py:155-227](https://github.com/GH05TCREW/pentestagent/blob/8dde193e41d34ac53ee87374316e5d2fe7cec946/pentestagent/tools/finish/__init__.py#L155-L227) · [pentestagent/knowledge/graph.py:46-90](https://github.com/GH05TCREW/pentestagent/blob/8dde193e41d34ac53ee87374316e5d2fe7cec946/pentestagent/knowledge/graph.py#L46-L90) · [pentestagent/agents/crew/tools.py:105-125](https://github.com/GH05TCREW/pentestagent/blob/8dde193e41d34ac53ee87374316e5d2fe7cec946/pentestagent/agents/crew/tools.py#L105-L125)

### Armur-Ai/Pentest-Swarm-AI (answered)

Findings flow through a **five-stage validation pipeline** before appearing in reports.

**1. FP filtering**: The `ClassifierAgent` calls `FPFilter.Score()` (`internal/agent/classifier/fp_filter.go:18-62`) which applies 6 deterministic rules to score FP probability: generic server banners (+0.6), ports without service ID (+0.4), 4xx-only endpoints (+0.5), version mismatches (+0.7), non-standard ports (+0.3), info-level findings (+0.2). Findings above 0.75 are filtered.

**2. Cross-tool corroboration**: `pipeline/cross_validate.go:20-55` groups findings by (target, attack_category). When 2+ distinct tools hit the same vulnerability, confidence upgrades to High. Single-source findings with no reproduction plan drop to Unverified.

**3. LLM classification and active corroboration**: The classifier agent (`internal/swarm/agents/classifier.go:51-67`) triggers on recon findings and publishes CVE_MATCH/MISCONFIGURATION findings. At the handoff to the exploit agent, a `Corroborator` (`internal/swarm/verify/verify.go:126-321`) applies a four-step cost-aware policy: (1) frontier-sourced judgments pass unverified, (2) free corroboration from tool-grounded or multi-signal board data promotes findings at zero LLM cost, (3) low-stakes findings pass through to the passive pheromone gate, (4) high-stakes uncorroborated cheap-model judgments trigger exactly one paid strong-model verification, capped per-campaign.

**4. External oracles (--verify)**: For proven findings that carry a `ProbeSpec` (`internal/swarm/verify/probespec.go:37-59`), live **oracles** (`verify/oracle.go:30-48`) re-prove the vulnerability against the real target with non-LLM signals — OOB callbacks via interactsh, differential response comparison, or timing ladders. A decisive oracle verdict (Proven at 0.95 pheromone floor) is trusted over any model claim. These are only enabled under `--verify-oraacles` and respect scope/safe-mode.

**5. PoC self-verification**: The report agent can run generated PoC code against the target and stamp findings VERIFIED only if they fire (`swarm_runner.go:576-583`). A safety scanner (`internal/poc/safety.go:21-54`) prevents destructive patterns (rm -rf, DROP TABLE, etc.) from being executed. An optional Jev model (`swarm_runner.go:585-588`) scores findings by P(true-positive) and drops those below threshold.

**Report format**: The renderer (`internal/agent/report/agent.go:36-106`) produces Markdown, JSON, HTML, and SARIF output. Each finding includes CWE/OWASP/ATT&CK taxonomy labels, CVSS score/vector, evidence, reproduction steps, remediation, and a `Verified` badge with the verifier name when proven by an oracle.

> **Editor's note.** Correction: `pipeline.CrossValidate` has no non-test caller, so cross-tool corroboration is not part of the live pipeline; the report path de-duplicates with `collapseDuplicateFindings` in internal/swarm/agents/report.go.

Citations: [internal/swarm/verify/probespec.go:1-134](https://github.com/Armur-Ai/Pentest-Swarm-AI/blob/40985e3184a5622fa76dc0b491ccb51b48d7acdf/internal/swarm/verify/probespec.go#L1-L134)

### berylliumsec/nebula (answered)

Findings follow a **lifecycle from candidate through verified evidence to signed-off report**, tracked via `FindingStatus` (`domain.py:372-381`): `CANDIDATE` → `VALIDATED` → `CONFIRMED` / `FALSE_POSITIVE` / `ACCEPTED_RISK` / `REMEDIATED`.

**Candidate generation**: Specialists produce `SpecialistResult` objects containing `candidate_finding_ids`, `evidence_ids`, and `reproducible_steps` (`orchestration.py:174-186`). The `FINISH_TOOL` handler (`agent_tooling.py:856-886`) aggregates these across all of a specialist's turns, deduplicating evidence IDs and steps. A candidate finding enters the store with status `CANDIDATE`.

**Validation gate**: The `EvidenceVerifier` (`orchestration.py:341-363`) runs as the graph's `verify` node. It rejects any specialist result that has `candidate_finding_ids` but lacks `evidence_ids` ("candidate findings have no linked evidence") or lacks `reproducible_steps` ("candidate findings have no reproducible verification steps"). This is a **deterministic policy check**, not a second model review — evidence and reproduction steps are required before a finding can be promoted.

**Evidence** (`domain.py:2424-2439`): Each evidence entry records `evidence_type`, `sha256` (content hash), `artifact_id` (pointing to stored blob), `tool_call_id`, `execution_id`, `captured_by`. Artifacts (`domain.py:2442-2453`) store the raw bytes with `sha256`, `media_type`, `storage_path`, and a `redacted` flag.

**False positives and deduplication**: Findings can be manually moved to `FALSE_POSITIVE` status. The `correlation_ids` field on `Finding` (`domain.py:2480`) allows grouping related findings. The `finish_task` result aggregation at `agent_tooling.py:856-886` deduplicates across turns using `dict.fromkeys()` on evidence IDs, steps, and finding IDs.

**Reporting**: The `Report` entity (`domain.py:5273-5300`) collects `finding_ids`, `observation_ids`, and `artifact_ids`. Reports have a `DRAFT` → `REVIEW` → `FINAL` lifecycle. Final reports require operator `signed_off_by` and `signed_off_at` (`domain.py:5290-5299`). `ReportRenderService` (`reporting.py:87-130`) produces deterministic PDF from a frozen JSON snapshot — it hashes every referenced artifact, so a cached render is reused only if the report revision and all artifact content match. Failed renders are marked `INTERRUPTED` on core restart (`reporting.py:131-152`). The PDF uses bundled NotoSans fonts and the ReportLab library.

Per-engagement, the `SpecialistResult` also carries `remediation_id` for linking to the `Remediation` entity.


Citations: [src/nebula/v3/domain.py:372-381](https://github.com/berylliumsec/nebula/blob/7332d9a05127933d2cc649e6797c9586466cfa8a/src/nebula/v3/domain.py#L372-L381) · [src/nebula/v3/domain.py:2424-2453](https://github.com/berylliumsec/nebula/blob/7332d9a05127933d2cc649e6797c9586466cfa8a/src/nebula/v3/domain.py#L2424-L2453) · [src/nebula/v3/domain.py:5273-5300](https://github.com/berylliumsec/nebula/blob/7332d9a05127933d2cc649e6797c9586466cfa8a/src/nebula/v3/domain.py#L5273-L5300) · [src/nebula/v3/orchestration.py:341-363](https://github.com/berylliumsec/nebula/blob/7332d9a05127933d2cc649e6797c9586466cfa8a/src/nebula/v3/orchestration.py#L341-L363) · [src/nebula/v3/agent_tooling.py:856-886](https://github.com/berylliumsec/nebula/blob/7332d9a05127933d2cc649e6797c9586466cfa8a/src/nebula/v3/agent_tooling.py#L856-L886) · [src/nebula/v3/reporting.py:87-152](https://github.com/berylliumsec/nebula/blob/7332d9a05127933d2cc649e6797c9586466cfa8a/src/nebula/v3/reporting.py#L87-L152)
