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

Predicate isInsecureCookie

Holds if cw has the Secure attribute set to false, either explicitly or by default.

Import path

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