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

Description#

A Mapbox API token was found hard-coded in the source code. Storing secret keys directly in code exposes them to anyone who can access the codebase, including public repositories.

Impact#

If an attacker obtains this token, they can make unauthorized requests to Mapbox services using your account, potentially leading to data exposure, service abuse, unexpected charges, or disruption of your application’s mapping functionality.