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 bot tokens are hard-coded directly into the source code, exposing sensitive credentials. Storing secrets in code makes them easily accessible to anyone with code access, increasing the risk of leaks.

Impact#

If attackers obtain these hard-coded Slack bot tokens, they can gain unauthorized access to your Slack workspace, send messages, read private channels, or impersonate bots. This can lead to data breaches, unauthorized actions, and compromised internal communications.