All rules →
Rules / Kotlin
SHIELD-KOTLIN-010

Hardcoded secret in source

highKotlinCWE-798CVSS 8.6

What it detects

A password, API key, secret, or token assigned a literal string constant embeds credentials in the app binary.

How to fix

Load secrets from the Android Keystore, encrypted storage, or a secure server-side configuration.

Scan your repo freeFull documentation
Back to all rules
SHIELD-KOTLIN-010: Hardcoded secret in source — Zennoxa Shield