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

Module UrlRedirectQuery

Provides a taint-tracking configuration for detecting “URL redirection” vulnerabilities.

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

Import path

import semmle.python.security.dataflow.UrlRedirectQuery

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.

TaintTracking

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

Aliases

UrlRedirect

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

UrlRedirectFlow

Global taint-tracking for detecting “URL redirection” vulnerabilities.