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

Description#

An OpenAI API key has been found hard-coded in the source code. Storing sensitive credentials in code exposes them to anyone with code access, increasing the risk of unauthorized use.

Impact#

If an attacker obtains the exposed API key, they could make unauthorized requests to the OpenAI API, potentially incurring unexpected costs, accessing sensitive data, or abusing your account. This could lead to financial loss, data breaches, or service disruption for your organization.