Find resource injection vectors

Proprietary

Detects resource injection vulnerabilities where user-controlled input flows to resource access operations — file paths, JNDI lookups, class loading, and native library loading. Uses taint analysis from rewrite-program-analysis for source-to-sink tracking with sanitizer support, plus structural detection as fallback.

org.openrewrite.java.security.search.FindResourceInjection
mod run . --recipe=org.openrewrite.java.security.search.FindResourceInjection

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

Recipe list

It runs these recipes, in this order.

  1. Find path traversal vulnerabilities
  2. Find JNDI injection vulnerabilities
  3. Find unsafe reflection vulnerabilities
  4. Find process control vulnerabilities
  5. Find unsafe reflection vectors
  6. Find process control vectors