Find code injection vulnerabilities

Proprietary

Finds where data from an HTTP request, read through the Servlet API or bound to a Spring Web controller parameter, flows into code that is evaluated at run time: a script run by a javax.script engine or by Groovy, or an expression parsed by Spring SpEL, OGNL, MVEL, JEXL or the Jakarta Expression Language. That lets an attacker run code of their choosing. Values parsed to a number or UUID are not reported.

org.openrewrite.analysis.java.security.FindCodeInjection
mod run . --recipe=org.openrewrite.analysis.java.security.FindCodeInjection

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.