Property
Languagekotlin
Severitymedium
CWECWE-798: Use of Hard-coded Credentials
OWASPA07:2021 - Identification and Authentication Failures
Confidence LevelMedium
Impact LevelHigh
Likelihood LevelLow

Description#

The code stores a password or secret value directly in the build.gradle.kts file. Hard-coding sensitive information in source code makes it easy for attackers or unauthorized users to access these secrets if the code is exposed.

Impact#

If an attacker obtains the source code—through a code leak, repository compromise, or insider threat—they can extract hard-coded passwords and use them to gain unauthorized access to systems or data. This can lead to data breaches, service disruption, or further compromise of your infrastructure.