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 Access Token has been found directly in the codebase. Storing sensitive credentials like API tokens in code exposes them to unauthorized access if the code is leaked or shared.

Impact#

If an attacker obtains this access token, they could interact with your Square account’s APIs, potentially making unauthorized transactions, accessing sensitive customer data, or causing financial loss. This compromises both application security and user trust.