SYM_GEN_0259 - SymbioticSec/Symbiotic-Vulnerability-Database GitHub Wiki

Use of Hard-coded Credentials

Property Value
Language regex
Severity low
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 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.