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

Predicate isNonHttpOnlyDirect

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

Import path

import semmle.go.security.CookieWithoutHttpOnly
predicate isNonHttpOnlyDirect(CookieWrite cw, Expr boolFalse)