Find Cookie.setSecure(false) calls
ProprietarysetSecure(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$KtRecipemod 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.