CodeQL library for Go
codeql/go-all 0.7.15-dev (changelog, source)
Search

Module OpenUrlRedirectCustomizations

Provides default sources, sinks and sanitisers for reasoning about unvalidated URL redirection problems, as well as extension points for adding your own.

Import path

import semmle.go.security.OpenUrlRedirectCustomizations

Imports

RedirectCheckBarrierGuard

Provides an implementation of a commonly used barrier guard for sanitizing untrusted URLs.

RegexpCheck

Provides an implementation of a commonly used barrier guard for sanitizing untrusted URLs.

SafeUrlFlowCustomizations

Provides default sources, sinks and sanitisers for reasoning about safe URL flow, as well as extension points for adding your own.

UrlCheck

Provides an implementation of a commonly used barrier guard for sanitizing untrusted URLs.

UrlConcatenation

Provides a class for detecting string concatenations involving the characters ? and #, which are considered sanitizers for the URL redirection queries.

go

Provides classes for working with Go programs.

Modules

OpenUrlRedirect

Provides extension points for customizing the taint-tracking configuration for reasoning about unvalidated URL redirection problems on the server side.