Find process-execution sinks (Runtime.exec, ProcessBuilder.start)
ProprietarySpawning a process with attacker-controlled arguments is the canonical command-injection sink. Each call here is a position where a reviewer or LLM agent should verify that the argument list is statically built or properly quoted.
org. openrewrite. kotlin. search. FindCommandExecutionSinks$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. search. FindCommandExecutionSinks$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.