All rules →
Rules / Kotlin
SHIELD-KOTLIN-015

World-readable or world-writable file mode

highKotlinCWE-732CVSS 7.1

What it detects

Using MODE_WORLD_READABLE or MODE_WORLD_WRITEABLE exposes app files and preferences to other applications.

How to fix

Use MODE_PRIVATE and store sensitive data with EncryptedSharedPreferences or the Keystore.

Scan your repo freeFull documentation
Back to all rules
SHIELD-KOTLIN-015: World-readable or world-writable file mode — Zennoxa Shield