CodeQL library for Python
codeql/python-all 2.1.3-dev (changelog, source)
Search

Predicate PathInjectionConfig::isSink

Holds if sink is a relevant data flow sink accepting state.

Import path

import semmle.python.security.dataflow.PathInjectionQuery
predicate isSink(Node sink, FlowState state)