Skip to main content
Some vulnerabilities affect your application as soon as your project includes the package. They need no call to a vulnerable function. Endor Labs labels these findings Reachable by Inclusion and counts them as reachable. Your existing reachability policies, filters, and dashboards include them.

Why some vulnerabilities need no call path

Function-level reachability looks for a call path from your code to a vulnerable function. Some vulnerabilities have no such path to find. Examples include the following cases:
  • Data in the package: The package ships data that’s the risk itself. For example, a certificate bundle can include a compromised certificate authority. It puts every TLS connection that trusts the bundle at risk.
  • Code that runs on its own: The package runs the vulnerable code without a call from your code. For example, a server package runs it when it handles a network request.
  • Dynamic invocation: The package runs the vulnerable code through reflection or dynamic invocation. Call graph analysis can’t follow these calls.
Without the label, call graph analysis marks these findings unreachable or potentially reachable. A policy that matches only reachable findings then skips them. Endor Labs security researchers flag these advisories in the Endor Labs vulnerability database.

How Endor Labs labels these findings

A finding for a flagged advisory gets the following attributes:
  • Reachable by Inclusion
  • Reachable Function
  • Reachable Dependency
The finding never gets an unreachable or potentially reachable label. The label doesn’t depend on a call graph. Findings get it from full scans and from scans that fall back to pre-computed reachability. Existing findings get the label the next time a scan evaluates them.

What the finding page shows

The finding page shows the label in the following places:
  • Attributes: Reachable by Inclusion appears in place of Reachable Function and Reachable Dependency.
  • Call Paths: The tab states that the finding needs no call path.
  • Risk Details: The summary ends with “The vulnerability is reachable whenever the package is included.”
Finding page with the Reachable by Inclusion attribute and the Call Paths tab explaining that no call path is needed

Policies, filters, and dashboards

The following features count these findings as reachable:
  • Action policies: A policy that matches Reachable Function or Reachable Dependency includes these findings. A policy that matches only Potentially Reachable Function or Potentially Reachable Dependency excludes them. See Vulnerabilities to set the reachability parameters.
  • Finding filters: Reachable Function set to Yes includes these findings. To list only these findings, select By Inclusion under Reachable Function in the Attributes filter.
  • Dashboards: The reachable vulnerability counts include these findings.
Use the following filter to query these findings with the API.

Limitations

Endor Labs doesn’t apply the label to the following findings:
  • Test dependencies: Findings in test dependencies keep the Test attribute and get no reachability label.
  • Imported SBOMs: Findings from imported SBOMs don’t get the label.
  • Container findings: Container findings don’t get the label, even when you scan with --os-reachability. A policy or filter that matches on function reachability skips them. See Container reachability to learn how container findings get a dependency reachability label.