Remediate OWASP A02:2025 Security misconfiguration

Proprietary

OWASP A02:2025 describes failures related to security misconfiguration. Previously A05:2021, this category moved up to #2 in 2025.

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

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. Remediate OWASP A05:2021 Security misconfiguration
  2. Insecure cookies
  3. Cookies missing HttpOnly flag
  4. Find permissive CORS configuration
  5. Remove debug mode from Spring Security