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

Predicate IndirectCommandInjectionConfig::isSinkWithHighlight

Holds if sink is a data-flow sink for command-injection vulnerabilities, and the alert should be placed at the node highlight.

Import path

import semmle.javascript.security.dataflow.IndirectCommandInjectionQuery
predicate isSinkWithHighlight(Node sink, Node highlight)