SYM_GEN_0108 - SymbioticSec/Symbiotic-Vulnerability-Database GitHub Wiki
Use of Hard-coded Credentials
Property | Value |
---|---|
Language | generic |
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 GitHub authentication token has been found directly in the source code. Storing sensitive credentials like tokens in code exposes them to anyone with access to the repository, including public viewers if the code is shared.
Impact
If an attacker obtains this token, they could gain unauthorized access to your GitHub account or organization, perform actions such as reading or modifying code, accessing private repositories, or triggering workflows. This could lead to data leaks, code tampering, or disruption of your development processes.