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

Predicate isInsecureDefault

Holds if cw has the Secure attribute left at its default value of false.

Import path

import semmle.go.security.CookieWithoutSecure
predicate isInsecureDefault(CookieWrite cw)