vetkit.java.cookie.insecure-flags
A cookie explicitly disables its Secure or HttpOnly flag.
Last updated:
Suite: Security
java
A cookie explicitly disables its Secure or HttpOnly flag.
Category: SECURITY · Engine rule severity: INFO
How to fix it
Set Secure and HttpOnly on session and authentication cookies; only cookies that client-side code must read (such as a CSRF token cookie) may omit HttpOnly.
References
Source: packages/engine/rules/sast/java.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.