CodeQL library for C#
codeql/csharp-all 7.3.1 (changelog, source)
Search

Predicate isCookieWithSensitiveName

Holds if the expression is a sensitive string literal or a variable with a sensitive name.

Import path

import semmle.code.csharp.security.auth.SecureCookies
predicate isCookieWithSensitiveName(Expr cookieExpr)