vetkit.go.cookie.httponly-disabled
A cookie is created with HttpOnly explicitly off, so page scripts (and any XSS payload) can read it.
Last updated:
Suite: Security
go
A cookie is created with HttpOnly explicitly off, so page scripts (and any XSS payload) can read it.
Category: SECURITY · Engine rule severity: INFO
How to fix it
Set HttpOnly: true unless client-side script genuinely has to read the cookie.
References
Source: packages/engine/rules/sast/go.yml.
Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.