All news

INSIGHT 2 min read

Why coverage is not the same as certainty

Scanner coverage helps teams find potential issues, while evidence from the application helps them decide which findings warrant action.

Scanner coverage tells you something about what was examined. The number of findings tells you how many candidates the scanner surfaced. Either can help a team understand the work in front of it. To know whether the application has an exploitable weakness, the team needs evidence about the finding itself.

A scanner might flag a database call because the same API can run queries assembled from strings. Follow the actual code path and you may find that the SQL statement is fixed and the request value is passed as a bound parameter. On that path, the value is treated as data, so it cannot change the structure of the statement. A finding that calls that specific path SQL injection is a false positive. A nearby call that builds the statement from request data needs its own assessment.

Reachability is one part of that assessment. Start with an entry point and trace whether a caller can reach the operation under the relevant conditions. Exploitability requires another step. Check what the caller can control by the time execution gets there, what checks or transformations are applied along the way, and what the operation would do with that input. An operation can be reachable even when the suspected weakness cannot be exploited through that path.

Doing this by hand takes time. Someone has to trace the path, check the assumptions and decide whether to assign the issue, close it or investigate further. False positives consume that time too. When the list gets too long and engineers repeatedly spend time on alerts that turn out to be false, they start to trust the queue less. A genuine issue can then sit in a queue that engineers have learned to approach with scepticism.

A defensible finding gives a verdict and shows the evidence behind it. For a code-path finding, that means identifying the entry point, following the relevant data or control flow and explaining the effect of any checks along the way. If the evidence leaves a condition unresolved, the verdict should say which one. That gives the next person a specific claim to verify.