Module CookieWithoutHttpOnly
Provides classes and predicates for identifying HTTP cookies without the HttpOnly attribute.
Import path
import semmle.go.security.CookieWithoutHttpOnlyImports
| DataFlow | Provides a library for local (intra-procedural) and global (inter-procedural) data flow analysis: deciding whether data can flow from a source to a sink. |
| HTTP | Provides classes for working with HTTP-related concepts such as requests and responses. |
| go | Provides classes for working with Go programs. |
Predicates
| isNonHttpOnlyCookie | Holds if |
| isNonHttpOnlyDefault | Holds if |
| isNonHttpOnlyDirect | Holds if |
| isSensitiveCookie | Holds if |
Aliases
| BooleanCookieHttpOnlyFlow | Tracks flow from boolean expressions to the |
| SensitiveCookieNameFlow | Tracks flow from sensitive names to HTTP cookie writes. |