Remediate OWASP A03:2021 Injection

Proprietary

OWASP A03:2021 describes failures related to user-supplied data being used to influence program state to operate outside of its intended bounds. This recipe seeks to remediate these vulnerabilities.

org.openrewrite.java.security.OwaspA03
mod run . --recipe=org.openrewrite.java.security.OwaspA03

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. Regular Expression Denial of Service (ReDOS)
  2. Use comparison rather than equality checks in for conditions
  3. Insecure cookies
  4. Fix XSS vulnerabilities