security.authentication

Set `HttpOnly` on Express session cookies

Express session and cookie-session configs should not disable the `HttpOnly` flag.

#Metadata

#Why it matters

Script-readable session cookies are easier to steal after an XSS bug.

#Remediation

Set `httpOnly: true` so browser scripts cannot read the session cookie.

#Repository path

The generated metadata points to critiq-rules/libs/rules/catalog/rules/typescript/ts.security.express-cookie-missing-http-only.rule.yaml.