Find ScriptEngineManager.getEngineByName(...) calls
ProprietaryConstructing a ScriptEngine at all is usually a smell — once present, the engine is one eval(...) away from a remote-code-execution finding. Confirm the engine is loaded from a trusted source and the inputs it receives are not user-controlled.
org. openrewrite. kotlin. security. FindScriptEngineManager$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. security. FindScriptEngineManager$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.