Find weak password hashing
ProprietaryFinds uses of MessageDigest.getInstance() with algorithms unsuitable for password hashing (MD5, SHA-1, SHA-256, SHA-384, SHA-512). Passwords should be hashed with a purpose-built password hashing function such as bcrypt, scrypt, Argon2, or PBKDF2 that includes a salt and a tunable work factor.
org. openrewrite. java. security. search. FindWeakPasswordHashingmod run . --recipe= org. openrewrite. java. security. search. FindWeakPasswordHashingInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.