Remediate OWASP A07:2025 Identification and authentication failures
ProprietaryOWASP 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. Owasp2025A07mod run . --recipe= org. openrewrite. java. security. Owasp2025A07Install 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.
- Remediate OWASP A07:2021 Identification and authentication failures
- Remove explicit configuration of SHA-256 as encoding and matching algorithm for
TokenBasedRememberMeServices - Find weak Spring Security password encoders
- Find weak message digests used inside custom
PasswordEncoderimplementations - Find unsigned JWT usage
- Insecure cookies
- Cookies missing HttpOnly flag