SYM_GEN_0180 - SymbioticSec/Symbiotic-Vulnerability-Database GitHub Wiki
Use of Hard-coded Credentials
Property | Value |
---|---|
Language | regex |
Severity | |
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 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.