Find WebView.settings.setAllowFileAccessFromFileURLs(true) calls
ProprietarysetAllowFileAccessFromFileURLs(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$KtRecipemod 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.