Find weak Spring Security password encoders
ProprietaryFinds uses of Spring Security password encoders that are unsuitable for production password storage: NoOpPasswordEncoder (plaintext), StandardPasswordEncoder (deprecated SHA-256), MessageDigestPasswordEncoder (raw message digest), Md4PasswordEncoder (MD4, broken), LdapShaPasswordEncoder (deprecated), Md5PasswordEncoder and ShaPasswordEncoder (from the deprecated authentication.encoding package), and SCryptPasswordEncoder (deprecated in current Spring Security). Use an adaptive function such as BCryptPasswordEncoder, Argon2PasswordEncoder, or Pbkdf2PasswordEncoder instead.
org. openrewrite. java. security. search. FindWeakSpringPasswordEncodermod run . --recipe= org. openrewrite. java. security. search. FindWeakSpringPasswordEncoderInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.