Find Statement.executeQuery("... " + x) calls
ProprietaryString concatenation into executeQuery is the canonical SQL-injection vector. Switch to PreparedStatement with ? placeholders so the driver escapes the parameter for you.
org. openrewrite. kotlin. security. FindSqlExecuteQueryWithConcat$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. security. FindSqlExecuteQueryWithConcat$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.