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

Description#

A PlanetScale API token has been found hard-coded in the codebase. Storing credentials directly in source code exposes sensitive information and makes it easy for attackers to access them if the code is leaked or shared.

Impact#

If an attacker obtains the hard-coded API token, they could gain unauthorized access to your PlanetScale database, potentially reading, modifying, or deleting data. This could lead to data breaches, service disruption, and severe reputational or financial damage.