Use of Hard-coded Credentials
| Property | |
|---|---|
| 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 GitHub App token has been found hard-coded in the source code. Storing credentials directly in code makes them easy to accidentally leak or expose to unauthorized users.
Impact#
If this token is exposed, attackers could gain unauthorized access to your GitHub App or repositories, potentially leading to code theft, data manipulation, or further compromise of your organization’s infrastructure.