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 access token was found hard-coded in the source code. Storing credentials directly in code exposes them to anyone who can access the repository, increasing the risk of unauthorized access.

Impact#

If the token is leaked, an attacker could use it to access your Hugging Face account, potentially stealing, modifying, or deleting models and data. This could lead to data breaches, loss of intellectual property, or unauthorized resource usage.