Find WebView.settings.setAllowFileAccessFromFileURLs(true) calls

Proprietary

setAllowFileAccessFromFileURLs(true) (and setAllowUniversalAccessFromFileURLs(true)) let HTML loaded from file:// URLs read arbitrary local files — a popular Android XSS gadget. Default to false.

org.openrewrite.kotlin.security.FindWebViewSetAllowFileAccessTrue$KtRecipe
mod run . --recipe='org.openrewrite.kotlin.security.FindWebViewSetAllowFileAccessTrue$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.