vetkit.kotlin.crypto.hardcoded-key
A cryptographic key is hard-coded in the source code.
Last updated:
Suite: Security
kotlin
A cryptographic key is hard-coded in the source code.
Category: SECURITY · Engine rule severity: ERROR
How to fix it
Load keys from the Android Keystore, a key store or a secret manager at runtime and rotate the exposed key.
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.