Skip to content
vetkitChecksChangelogDocumentation

vetkit.kotlin.android.world-accessible-mode

A file, database or SharedPreferences is created world-readable or world-writable.

Last updated:

Suite: Security

kotlin

A file, database or SharedPreferences is created world-readable or world-writable.

Category: SECURITY · Engine rule severity: WARNING

How to fix it

Use Context.MODE_PRIVATE and share data through a FileProvider or ContentProvider with permissions.

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.