Find WebView.loadUrl("http://...") calls

Proprietary

Loading an http:// URL into a WebView opts out of TLS and lets any on-path attacker rewrite the page (script injection, credential theft). Use https://, and if you must load HTTP, set setAllowFileAccess(false) plus a restricted WebViewClient.

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