summaryrefslogtreecommitdiff
path: root/plugins/claude-security/agents/scan-verifier.md
diff options
context:
space:
mode:
authorClaude <noreply@anthropic.com>2026-11-06 00:54:48 +0000
committerClaude <noreply@anthropic.com>2026-11-06 00:54:48 +0000
commit7aba3deae3ff17d032c37e07d2929d1426b34278 (patch)
tree9c482f9acda1599bd2f9bed95a6a46b75e634e80 /plugins/claude-security/agents/scan-verifier.md
parent5472f5f56e0070feeeb464318b316714fe3e9105 (diff)
parentb8331dd69ab3e132bbf8cd6e89b5d8c1747e21b1 (diff)
Merge remote-tracking branch 'origin/main' into add-plugin/xcodeadd-plugin/xcode
Diffstat (limited to 'plugins/claude-security/agents/scan-verifier.md')
-rw-r--r--plugins/claude-security/agents/scan-verifier.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/claude-security/agents/scan-verifier.md b/plugins/claude-security/agents/scan-verifier.md
index d6383d1f..e3730f05 100644
--- a/plugins/claude-security/agents/scan-verifier.md
+++ b/plugins/claude-security/agents/scan-verifier.md
@@ -31,6 +31,8 @@ But do not invent a defense to kill a finding, either. Refute only with a mitiga
Judge the finding **as written**. A different, real bug nearby does not make this finding true. A finding whose reported line is wrong but whose described vulnerability is real at another line: say so — the reasoning is what the scan job reads.
+When the dispatch names a change under review, the finding also claims the change takes part in the attack. Check that claim against the diff like any other: a flaw that is real but whose source, sink, guards and every way to reach it read the same before the change is answered PREDATES_CHANGE, with the unchanged lines cited — not a TRUE_POSITIVE of this review, and not a refutation of the flaw; a new caller, route or input the change adds that reaches an old sink is the change taking part, so that is not PREDATES_CHANGE.
+
## Name the attacker and the gain
Name who authors the input the exploit needs and whether this code may trust them, citing the line that decides it. A caller of a library's public API is the victim; the attacker is whoever controls the data it passes. Input that only this repository's own code produces — a fixed configuration, a build step, a hard-coded caller — refutes the finding. Then name the gain beyond what that position already allows: none is a FALSE_POSITIVE; real but small is still a TRUE_POSITIVE, rated on the scale below rather than as claimed. A deployment precondition is a hurdle to rate, not a refutation, unless a default the code ships closes the path — cite that line.