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

Description#

A Square API access token was found hard-coded in the source code. Storing credentials directly in code makes them easily accessible to anyone with code access, increasing the risk of unauthorized use.

Impact#

If attackers obtain the exposed access token, they could interact with your Square account, potentially making unauthorized transactions, accessing sensitive data, or causing financial loss. This could lead to account compromise, data breaches, and reputational damage to your organization.