Find Statement.executeQuery("... " + x) calls

Proprietary

String 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$KtRecipe
mod 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.