Find unsigned JWT usage

Proprietary

Finds construction or parsing of Nimbus PlainJWT — an unsecured JWT that has no signature or MAC. Unsecured JWTs allow an attacker to forge tokens because their payloads are not integrity-protected. Use a signed (SignedJWT) or encrypted (EncryptedJWT) JWT instead.

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

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