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

Module SqlInjectionQuery

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

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

Import path

import semmle.python.security.dataflow.SqlInjectionQuery

Imports

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.

SqlInjection

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

TaintTracking

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

Classes

Configuration

DEPRECATED: Use SqlInjectionFlow module instead.

Aliases

SqlInjectionFlow

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