Find weak cipher algorithms and ECB mode

Proprietary

Finds use of the DES, Triple DES and RC2 ciphers and of the ECB cipher mode (CipherMode.ECB, EncryptEcb/DecryptEcb). These provide insufficient protection for sensitive data. Use AES with an authenticated mode such as AesGcm.

OpenRewrite.Recipes.CSharp.Security.FindWeakCipherAlgorithm
mod run . --recipe=OpenRewrite.Recipes.CSharp.Security.FindWeakCipherAlgorithm

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.