Find Statement.executeQuery(sql) calls

Proprietary

Each executeQuery is a SQL read sink — if sql is built from user-controlled strings without binding, it's a SQL-injection candidate. Useful as an individual seed even when the broader FindSqlExecutionSinks composite is too coarse.

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