CodeQL library for Python
codeql/python-all 3.0.1-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)