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

Description#

Finnhub API access tokens have been found hard-coded in the source code. Storing credentials directly in code makes them easy to accidentally expose in version control or shared codebases, putting sensitive information at risk.

Impact#

If attackers obtain a hard-coded Finnhub access token, they could make unauthorized API requests, access or manipulate sensitive financial data, or incur unexpected costs. This could lead to data breaches, financial losses, or compromise of business operations.