SYM_GEN_0260 - 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
GitLab Personal Access Tokens (PATs) are hard-coded in the source code. Storing sensitive credentials directly in code exposes them to anyone with code access, increasing the risk of accidental leaks.
Impact
If attackers obtain a hard-coded GitLab PAT, they can access your GitLab account or repositories, potentially leading to source code theft, unauthorized changes, or exposure of confidential data. This could compromise your organization's security and integrity.