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