Find unsafe reflection vectors
ProprietaryFinds calls to Class.forName() which, when the class name is derived from user input, can allow an attacker to instantiate arbitrary classes. Review these call sites to ensure the class name is not externally controlled.
org. openrewrite. java. security. search. FindUnsafeReflectionmod run . --recipe= org. openrewrite. java. security. search. FindUnsafeReflectionInstall 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.