Remediate OWASP A07:2025 Identification and authentication failures

Proprietary

OWASP A07:2025 describes failures related to identification and authentication, including weak credential management, missing brute force protections, session fixation, hardcoded credentials, insecure "remember me", and missing multi-factor authentication. Same position as A07:2021; recipes whose primary CWE is on the 2021 A07 mapped list are inherited from OwaspA07.

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

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 A07:2021 Identification and authentication failures
  2. Remove explicit configuration of SHA-256 as encoding and matching algorithm for TokenBasedRememberMeServices
  3. Find weak Spring Security password encoders
  4. Find weak message digests used inside custom PasswordEncoder implementations
  5. Find unsigned JWT usage
  6. Insecure cookies
  7. Cookies missing HttpOnly flag