SYM_GEN_0149 - SymbioticSec/Symbiotic-Vulnerability-Database GitHub Wiki

Use of Hard-coded Credentials

Property Value
Language regex
Severity low
CWE CWE-798: Use of Hard-coded Credentials
OWASP A07:2021 - Identification and Authentication Failures
Confidence Level Low
Impact Level Medium
Likelihood Level Low

Description

A Planetscale OAuth token has been found hard-coded in the source code. Storing credentials directly in code makes them easy to accidentally share or expose, increasing the risk of unauthorized access.

Impact

If an attacker obtains this token, they could gain unauthorized access to your Planetscale database, potentially viewing, modifying, or deleting sensitive data. This could lead to data breaches, loss of service, and compromise of customer or business information.