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 Slack access token has been found hard-coded in the source code. Storing credentials directly in code makes them easy to accidentally expose and is not a secure practice.
Impact#
If attackers gain access to this token, they could potentially read or manipulate Slack messages, impersonate users, or access sensitive information. This can lead to data leaks, unauthorized actions within your Slack workspace, and broader compromise if attackers pivot using this credential.