Knowledge · Application Security

SAST False Negatives

Why SAST tools miss genuine vulnerabilities — coverage gaps, analysis limitations, configuration issues, and code patterns that evade detection.

Primary question: What are SAST false negatives and why do they occur?

Definitions

False negative (SAST)

A genuine vulnerability within the defined evaluation scope that a SAST tool failed to detect and report. It is a gap in the tool's detection coverage, not a finding that was reported and incorrectly dismissed.

Detection gap

A vulnerability class, framework, language feature, or code pattern that a SAST tool does not detect, due to limitations in its rule set, data-flow model, or analysis configuration.

Recall (SAST)

The proportion of genuine vulnerabilities within a defined evaluation scope that a SAST tool successfully detects. High recall means few false negatives; low recall means many genuine vulnerabilities are missed. Recall requires a sufficiently complete ground truth for the evaluated scope.

The engineering problem

Organizations may treat a clean SAST report as proof of security, when it actually reflects only the detection boundaries of the specific tool and configuration used.

Custom or uncommon code patterns, framework-specific APIs, and proprietary technologies may not be covered by default rule sets, which can result in undetected vulnerabilities in those areas.

Disabling rules to reduce false positives can inadvertently increase false negatives, creating a trade-off between precision and recall that organizations must manage carefully.

Seeded vulnerability testing can reveal some false negatives, but only for the injected cases. It does not establish the total number of false negatives in a production codebase.

Security controls

Each control inspects a different artifact and produces evidence for an engineering decision.

Rule coverage review

SAST rule coverage assessment
Artifact
Inventory of enabled SAST rules mapped to known vulnerability classes and frameworks present in the codebase.
Risk
Undetected vulnerabilities in areas not covered by the active rule set.
Output
Identification of coverage gaps between the enabled rules and the vulnerability classes or frameworks used in the codebase.

Evidence:

Detection gap remediation

Coverage gap closure
Artifact
Process for evaluating and enabling rules for uncovered vulnerability classes, adding framework-specific patterns, or supplementing SAST with other techniques.
Risk
Persistent blind spots in the detection pipeline.
Output
Expanded detection coverage that reduces the number and severity of undetected vulnerabilities.

Evidence:

Complementary analysis

Multi-technique testing
Artifact
Use of DAST, manual review, or a separate SAST tool to detect vulnerabilities that the primary SAST tool misses.
Risk
Overreliance on a single technique's coverage.
Output
Additional detection coverage that compensates for the primary tool's blind spots.

Evidence:

Verification workflow

  1. Map the organization's known vulnerability classes and frameworks to the SAST tool's enabled rules.
  2. Identify rules that are disabled, not yet implemented, or not applicable to the codebase's technology stack.
  3. Evaluate whether enabling additional rules would meaningfully improve coverage without unacceptably increasing false positives.
  4. For vulnerability classes with no corresponding SAST rules, consider complementary techniques such as DAST, manual code review, or a separate SAST tool with different detection coverage.
  5. Periodically review detection coverage as new vulnerability classes, frameworks, or code patterns emerge.
  6. Treat findings from a separate analysis as additional evidence — unique findings require validation before being treated as genuine false negatives in the primary tool.

Limits of verification

  • Increasing rule coverage to reduce false negatives may increase false positives, requiring additional triage effort.
  • Some vulnerability classes may have no corresponding static analysis rule in any SAST tool, requiring alternative detection methods.
  • Detection coverage depends on the specific language, framework, and code patterns used. A tool that covers one stack well may have gaps in another.
  • Two tools may share blind spots for certain vulnerability classes, meaning finding agreement is not proof of complete coverage.

Canonical terms used: SAST false negative; Detection gap; Missed vulnerability; SAST recall.

Evidence and references

  1. DerScanner SAST documentationDerScanner performs static analysis of supported source and binary formats, provides configuration-file analysis, and reports and compares analysis results. DerTriage and DerCodeFix are available within static analysis.derscanner-sast

Detection coverage

Identify gaps in your SAST detection coverage.

DerScanner provides additional static analysis that can find vulnerabilities your primary scanner may have missed.

Detection coverage

Discuss SAST detection coverage for your workflow

Share your current SAST tool and coverage concerns. We will help evaluate how DerScanner can complement your detection pipeline.

Engineering knowledge for building and operating trustworthy systems.

DerSecur Recognition · build cad90ed · 2026-08-12 11:17:27Z · system