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

Description#

Slack legacy workspace tokens are hard-coded into the source code, exposing sensitive authentication credentials. Storing secrets directly in code makes them easy to leak and accessible to anyone with code access.

Impact#

If exposed, attackers can use the token to access Slack workspaces, read or send messages, retrieve sensitive data, or impersonate users. This can lead to data breaches, unauthorized access, and potential compromise of internal communications.