Find Cookie.setSecure(false) calls

Proprietary

setSecure(false) lets the cookie travel over plain HTTP — anyone on the path (coffee-shop wifi, ISP) can read it. For any session cookie, set secure = true and httpOnly = true, and prefer SameSite=Strict.

org.openrewrite.kotlin.security.FindCookieSecureFalse$KtRecipe
mod run . --recipe='org.openrewrite.kotlin.security.FindCookieSecureFalse$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.