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

Module CommandInjectionConfig

A taint-tracking configuration for detecting “command injection” vulnerabilities.

Import path

import semmle.python.security.dataflow.CommandInjectionQuery

Predicates

isBarrier

Holds if data flow through node is prohibited. This completely removes node from the data flow graph.

isSink

Holds if sink is a relevant data flow sink.

isSource

Holds if source is a relevant data flow source.