Property
Languageregex
Severitylow
CWECWE-798: Use of Hard-coded Credentials
OWASPA07:2021 - Identification and Authentication Failures
Confidence LevelLow
Impact LevelMedium
Likelihood LevelLow

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.