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

Description#

A HashiCorp Terraform API token appears to be hard-coded directly into the source code. Storing credentials in code exposes them to anyone with access to the repository, increasing the risk of secret leaks.

Impact#

If an attacker gains access to this token, they could interact with your Terraform resources, potentially altering infrastructure, accessing sensitive data, or causing service disruptions. This could lead to unauthorized changes, data breaches, and significant security incidents for your organization.