Sort the finding by what the tool observed#
Every automated finding comes with evidence, and the evidence has one of three origins. The origin tells you what the finding can establish and which single fact is most likely to overturn it.
A tool that watched the program run reports something that happened. AddressSanitizer, ThreadSanitizer, the Go race detector, a fuzzer, a coverage tool and a benchmark all record events from an execution. Their findings rarely describe something impossible, because the event took place. Two things weaken them: the run did not see all the code (an uninstrumented library, a subprocess the coverage tool never followed), or the run was one sample of a noisy measurement. Their absence proves less than their presence: a clean run covers only the paths the tests executed.
A tool that modeled the code reports something that could happen. Static analyzers, type checkers, taint rules, compiler warnings and infrastructure scanners read source and reason about it without running it. Their findings can describe paths no real input takes, and they lose paths their model cannot follow. The deciding evidence is usually a run: an input that takes the reported path, or a test that drives hostile input to the sink after the finding has gone quiet.
A tool that matched metadata reports that a name, version or string resembles something on a list. Dependency and image scanners, advisory feeds, CVSS scores, KEV listings and secret scanners belong here. Their findings say nothing yet about your code paths or your deployment. The deciding evidence is whether the match is exact (the same package in the same ecosystem, the full distribution version, the credential itself rather than its shape) and then whether the vulnerable code runs.
Follow one clean result to the fact that overturns it#
A modeling tool's clean result carries its own blind spot. In the constructed project from the skipped-files guide, Bandit 1.9.4 running under Python 3.11, with the package's vendored directory excluded, scans a package that declares requires-python = ">=3.12". One module, rules.py, calls eval and uses the type parameter syntax that Python 3.12 introduced. Bandit reports success:
$ bandit -r src -x src/svc/vendor
[main] INFO running on Python 3.11.18
...
Test results:
No issues identified.
...
Files skipped (1):
src/svc/rules.py (syntax error while parsing AST from file)
$ echo $?
0
The finding a reviewer would act on is the absence of findings, and the exit code agrees with it. The last two lines overturn it. Bandit parses each file with the interpreter it runs on, Python 3.11 cannot parse the file, and the one module with an eval call was never read. The fact that settles the case is the skipped-file list, and the decision is to rescan with the interpreter the package targets, which in that guide reports the eval call as B307.
The same shape repeats across the collection. A finding is only as good as its weakest premise: the files it read, the build it ran, the version it compared, the configuration it assumed. Name that premise, check it, and the decision usually follows.
Find the guide for your finding#
Each finding below links to its guide and names the fact that decides it, grouped by what the tool observed.
Findings from a run of the program#
- AddressSanitizer heap report: the free stack, and whether every object in the link was instrumented.
- LeakSanitizer leak report: which leaks are direct, and whether the count grows with iterations.
- UndefinedBehaviorSanitizer report: whether the operation has defined behavior, whatever the tests show.
- Go DATA RACE report: the variable both stacks touch and the synchronization that already guards it.
- TSan race across a fence or an uninstrumented object: a rebuild in which TSan can see the synchronization.
- TSan lock-order inversion: whether one outer lock serializes every path that takes both locks.
- libFuzzer crash: a replay of the minimized input through the public API, preconditions met.
- Hypothesis counterexample: whether the shrunk input is inside the code's documented contract.
- Missed coverage on a line that ran: how the code ran: subprocess, import order, plugin start.
- Covered changed line: a deliberate break of the line that a test must catch.
- Surviving mutant: one input on which mutant and original differ.
- Benchmark regression: ten or more interleaved runs per side and benchstat's p-value.
- Profiler hotspot: an unprofiled timing or a sampling profile of the same change.
- Index with zero scans: constraints it backs, every server's counters, and their reset time.
- Reflected input alert: the raw response's output context and content type.
Findings from a model of the code#
- SARIF result: whether every step of its code flow can hold for a real input.
- Pattern-match finding: where each interpolated value comes from.
- Taint finding through your own validator: a direct test that the validator rejects every dangerous value.
- Finding gone after a refactor: a test that drives hostile input to the sink.
- Finding in code the build may not compile: the file list of every shipped target.
- Warning only at one optimization level: an input that takes the warned path, or the bound the callers enforce.
- Two analyzers disagree: which entry point and heuristics each one used, then a run of the path.
- Unused function or class: a search for callers that use a string instead of a name.
- Type checker error the runtime contradicts: which stub file the checker parsed, and the runtime signature.
- Suppression comment near a finding: which suppressions are unused and what each bare one hides.
- Old alert reported as new: the flagged line's history across the move.
- Zero findings: the scanner's skipped-file list.
- New findings with no code change: the tool version and a hash of every input between the runs.
- Sequential scan: table size, the share of rows kept, and estimated against actual rows.
- Insecure variable default: a scan of every root module that calls the module.
- Dockerfile runs as root: the final stage's
USERand each workload's override.
Findings from a match on names and versions#
- High-entropy string: where the value is used and whether it matches a provider's key format.
- Secret deleted in the latest commit: whether the credential has been revoked.
- Vendor's documented example key: whether every part of the credential equals the published example.
- npm audit on a devDependency: whether the package ships in the bundle or runs on untrusted input.
- Two installed versions of one package: which copy the flagged importer resolves.
- pip-audit disagrees with itself: what the build actually installs.
- Advisory for a same-named package: the package URL's type and namespace.
- govulncheck module finding: a call trace to the vulnerable symbol, with the build tags you ship.
- Standard library CVE in a Go binary: the toolchain version from
go version -m. - CVSS base score: evidence of how the vulnerable code receives input in your deployment.
- CVE in the KEV catalog: whether your build has the listed package, version and code path.
- CVE flagged by upstream version: the full distribution package version and its changelog.
- Supplier's VEX
not_affected: a test of its justification against the artifact you received. - RustSec unmaintained advisory: the advisory's kind, and whether a vulnerability is attached.
Record the fact with the decision#
Whichever way you decide, write down the fact that decided it: the rebuild, the skipped-file list, the call trace, the package version. A dismissal without it gets reopened the next time the tool runs, and a fix without it cannot be checked. The guide to dismissed findings shows how to keep that record. When the finding came from a reviewer rather than a tool, the guide to validating a review finding covers the different evidence it needs, and when a linter already reports the same line, the guide to findings your linter covers sorts it.