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

Predicate isInsecureDirect

Holds if cw has the Secure attribute explicitly set to false, from the expression boolFalse.

Import path

import semmle.go.security.CookieWithoutSecure
predicate isInsecureDirect(CookieWrite cw, Expr boolFalse)