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

Module RequestForgeryCustomizations

Provides classes and predicates used by the request forgery query.

Import path

import semmle.go.security.RequestForgeryCustomizations

Imports

ExternalFlow

INTERNAL use only. This is an experimental API subject to change without notice.

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

RequestForgery

Provides classes and predicates for the request forgery query.