Find logger write calls (info/warn/error/debug)
ProprietaryLogger calls can persistently capture user-controlled data into log aggregators — a PII-leak seed. Each match is a candidate to verify that the format arguments don't include sensitive fields or that a redaction layer wraps the call.
org. openrewrite. kotlin. search. FindLogWriteSinks$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. search. FindLogWriteSinks$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.