SYM_GEN_0249 - 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 GitHub Personal Access Token (PAT) has been found hard-coded in the source code. Storing credentials directly in code exposes them to anyone with code access, increasing the risk of unauthorized access.

Impact

If the token is leaked, attackers could use it to access your GitHub account or repositories, potentially leading to code theft, data loss, or malicious changes. This can compromise both your project’s security and the organization’s integrity.