Find Jackson default type mapping enablement

Proprietary

ObjectMapper#enableTypeMapping(..) can lead to vulnerable deserialization.

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

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

Recipe list

It runs these recipes, in this order.

  1. Find method usages com.fasterxml.jackson.databind.ObjectMapper enableDefaultTyping(..)