SYM_GEN_0291 - SymbioticSec/Symbiotic-Vulnerability-Database GitHub Wiki

Use of Hard-coded Credentials

Property Value
Language regex
Severity low
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 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.