Find insecure cookie / session configuration

Proprietary

Cookies missing the Secure or HttpOnly flag leak to plain HTTP or JavaScript. Each match should set both flags to true and consider SameSite=Strict.

org.openrewrite.kotlin.security.FindInsecureSessionConfig$KtRecipe
mod run . --recipe='org.openrewrite.kotlin.security.FindInsecureSessionConfig$KtRecipe'

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

Recipe list

It runs these recipes, in this order.

  1. Find Cookie.setSecure(false) calls
  2. Find Cookie.setHttpOnly(false) calls