Find android.util.Log.{d,i,v,w,e} calls with sensitive content
Proprietaryandroid.util.Log writes to logcat, which on rooted devices and via adb logcat is world-readable. Don't put password, token, or any PII into log messages — production builds should strip logging via R8/ProGuard rules.
org. openrewrite. kotlin. security. FindAndroidLogSensitive$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. security. FindAndroidLogSensitive$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.