Find SecureRandom.setSeed(...) with a literal seed
ProprietarySecureRandom.setSeed(literal) makes the RNG deterministic — defeats the whole point of using a CSPRNG. Let SecureRandom seed itself from the platform entropy source.
org. openrewrite. kotlin. security. FindSecureRandomSetSeed$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. security. FindSecureRandomSetSeed$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.