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

Predicate TaintedObject::isSource

DEPRECATED. Use the Source class and FlowState#isTaintedObject() directly.

Holds if node is a source of JSON taint and label is the JSON taint label.

Import path

import semmle.javascript.security.TaintedObject
predicate isSource(Node source, FlowLabel label)