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

Description#

A Hugging Face organization API token was found hard-coded in the source code. Storing sensitive credentials directly in code exposes them to anyone with code access, increasing the risk of leaks.

Impact#

If exposed, attackers could use this API token to access, modify, or delete resources in your Hugging Face organization. This could lead to data breaches, unauthorized changes, or loss of intellectual property, potentially impacting your organization’s security and reputation.