verify_finding
Verify security findings by reproducing candidates with a deterministic oracle before confirmation; run caller-reviewed or explicitly approved PoCs and validate proposed fixes without applying them.
Instructions
Verify one finding with a deterministic oracle, PoV-is-truth.
A finding stays a candidate until an oracle reproduces it. GMI only writes the PoC, when poc is null; the local oracle decides. code is the audited code and harness description sent with the finding when a PoC is generated. A generated PoC is returned for review and only runs when run_poc is true AND confirm_generated_poc is true: run_poc alone never runs model-generated code on the host in the same call that generated it. A caller-supplied PoC runs when run_poc is true, with no extra flag, because the caller already reviewed it. A false_positive finding is refused unless regression_check is true, and then the result is labelled regression, not confirmation. Categories without an oracle return skipped with "no oracle for this category". test_command runs a PoC file already in the repo, or the written PoC when it names {poc}, for example pytest {poc} -k host_key. The PoC runs on the host by default, with a warning; pass executor docker for a disposable container when Docker is available. verify_finding never applies a fix; a fix_candidate is run through patch validation and then restored. A fix_candidate needs --allow-apply on the server command line; without it the call is refused.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "verify_finding"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| poc | No | ||
| code | No | ||
| db_path | No | ||
| finding | No | ||
| run_poc | No | ||
| executor | No | host | |
| repo_path | No | ||
| finding_id | No | ||
| max_tokens | No | ||
| stage1_model | No | ||
| test_command | No | ||
| fix_candidate | No | ||
| spend_cap_usd | No | ||
| harness_module | No | ||
| regression_check | No | ||
| confirm_generated_poc | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |