Find RSA encryption without OAEP padding

Proprietary

Finds uses of RSA encryption with PKCS#1 v1.5 padding or no padding specification. RSA without OAEP padding is vulnerable to padding oracle attacks. Use RSA/ECB/OAEPWithSHA-256AndMGF1Padding or equivalent OAEP mode instead.

org.openrewrite.java.security.search.FindRsaWithoutOaep
mod run . --recipe=org.openrewrite.java.security.search.FindRsaWithoutOaep

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