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

Description#

A Slack legacy token is hard-coded in the source code, which exposes sensitive credentials directly within the repository. Storing secrets like API tokens in code makes them accessible to anyone with code access, risking accidental leaks.

Impact#

If an attacker obtains this token, they could gain unauthorized access to your Slack workspace, read or send messages, and access sensitive information. This could lead to data breaches, loss of confidentiality, and potential abuse of your organization’s communication channels.