Skip to content
vetkitChecksChangelogDocumentation

vetkit.kotlin.android.webview-file-access

A WebView explicitly enables access to the local file system.

Last updated:

Suite: Security

kotlin

A WebView explicitly enables access to the local file system.

Category: SECURITY · Engine rule severity: INFO

How to fix it

Set allowFileAccess = false and load bundled content through WebViewAssetLoader instead.

References

Source: packages/engine/rules/sast/kotlin.yml.

Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.