Find improper validation of array index

Proprietary

Detects when user-controlled input flows into array or collection index expressions without proper bounds validation, which could allow out-of-bounds access or denial of service (CWE-129).

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

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