Find Runtime.exec(...) / ProcessBuilder.start() calls
ProprietaryForking a process from an Android app is almost never the right shape — the system imposes strict app-sandbox limits (no su, no arbitrary binaries) and process lifetime is unrelated to the activity that spawned it. Audit each call site against WorkManager, foreground services, or — if you genuinely need shell tools — java.lang.ProcessBuilder with explicit lifecycle management.
org. openrewrite. kotlin. android. FindRuntimeExecInAndroid$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. android. FindRuntimeExecInAndroid$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.