Find Cipher.getInstance("AES/CBC/...") calls — verify integrity
ProprietaryAES/CBC is unauthenticated — without a separate MAC, the ciphertext is vulnerable to padding-oracle attacks (BEAST, POODLE family). Prefer AES/GCM/NoPadding for AEAD in one step, or pair CBC with an HMAC under encrypt-then-MAC.
org. openrewrite. kotlin. security. FindCipherCbcWithoutMac$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. security. FindCipherCbcWithoutMac$KtRecipe'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.