SYM_GEN_0178 - SymbioticSec/Symbiotic-Vulnerability-Database GitHub Wiki
Use of Hard-coded Credentials
Property | Value |
---|---|
Language | regex |
Severity | |
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 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.