Find weak cryptographic algorithms
ProprietaryFinds uses of broken or risky cryptographic algorithms such as MD5, SHA-1, DES, DESede (3DES), RC2, RC4, and Blowfish in calls to Cipher.getInstance(), MessageDigest.getInstance(), Mac.getInstance(), KeyGenerator.getInstance(), and SecretKeyFactory.getInstance(). Also flags instantiation of javax.crypto.NullCipher, which performs no encryption.
org. openrewrite. java. security. search. FindWeakCryptoAlgorithmmod run . --recipe= org. openrewrite. java. security. search. FindWeakCryptoAlgorithmInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.