Find getSharedPreferences(_, MODE_PRIVATE) callers
ProprietarySharedPreferences is stored as plain XML in app-private storage — on rooted or backed-up devices, that's readable. For tokens, refresh credentials, or PII use EncryptedSharedPreferences (androidx.security.crypto).
org. openrewrite. kotlin. security. FindSharedPreferencesForSensitiveData$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. security. FindSharedPreferencesForSensitiveData$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.