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

Module CommandInjectionQuery

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

Note, for performance reasons: only import this file if CommandInjection::Configuration is needed, otherwise CommandInjectionCustomizations should be imported instead.

Import path

import semmle.python.security.dataflow.CommandInjectionQuery

Imports

CommandInjection

Provides default sources, sinks and sanitizers for detecting “command injection” vulnerabilities, as well as extension points for adding your own.

DataFlow

Provides a library for local (intra-procedural) and global (inter-procedural) data flow analysis: deciding whether data can flow from a source to a sink.

TaintTracking

Provides classes for performing local (intra-procedural) and global (inter-procedural) taint-tracking analyses.

Classes

Configuration

DEPRECATED: Use CommandInjectionFlow module instead.

Modules

CommandInjectionConfig

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

Aliases

CommandInjectionFlow

Global taint-tracking for detecting “command injection” vulnerabilities.