CodeQL library for Go
codeql/go-all 7.2.2 (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)