vetkit.ruby.cookie.insecure-flags
A cookie or the session store is configured with secure / httponly explicitly disabled. The cookie may travel over plain HTTP or be read by injected JavaScript.
Last updated:
Suite: Security
ruby
A cookie or the session store is configured with secure / httponly explicitly disabled. The cookie may travel over plain HTTP or be read by injected JavaScript.
Category: SECURITY · Engine rule severity: INFO
How to fix it
Set secure: true and httponly: true (Rails defaults) for session and authentication cookies.
References
Source: packages/engine/rules/sast/ruby.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.