Insecure cookies

Proprietary

Check for use of insecure cookies. Cookies should be marked as secure. This ensures that the cookie is sent only over HTTPS to prevent cross-site scripting attacks.

org.openrewrite.java.security.servlet.CookieSetSecure
mod run . --recipe=org.openrewrite.java.security.servlet.CookieSetSecure

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.