Find Cipher.getInstance("AES/CBC/...") calls — verify integrity

Proprietary

AES/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$KtRecipe
mod 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.