CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.6.23 (changelog, source)
Search

Predicate nodeReachingSink

Gets a source node that can flow to sink without using a return step.

Import path

import semmle.javascript.endpoints.EndpointNaming
SourceNode nodeReachingSink(Node sink)