Find ScriptEngine.eval(...) calls
ProprietaryScriptEngine.eval(input) executes its argument as JavaScript (or Groovy / JRuby) — full code execution from a string. Replace with a domain-specific parser, or whitelist the script before evaluation.
org. openrewrite. kotlin. security. FindScriptEngineEval$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. security. FindScriptEngineEval$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.