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

Predicate isNonHttpOnlyCookie

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

Import path

import semmle.go.security.CookieWithoutHttpOnly
predicate isNonHttpOnlyCookie(CookieWrite cw)