Find Cookie.setHttpOnly(false) calls
ProprietarysetHttpOnly(false) makes the cookie readable from JavaScript — directly exfiltratable by any XSS bug in the same origin. Set httpOnly = true for every session cookie.
org. openrewrite. kotlin. security. FindCookieHttpOnlyFalse$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. security. FindCookieHttpOnlyFalse$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.