Skip to content

LS-SLACK-004: Slack App Token

Severity MEDIUM
Blast radius Workspace communication compromise
Rotate at https://api.slack.com/apps

If this leaks

App-level tokens are used to connect via Socket Mode and can be used to establish a WebSocket connection as the app across the workspaces it is installed in.

What to do

  1. Rotate or revoke the credential at https://api.slack.com/apps.
  2. Check the provider's audit logs for use you don't recognise.
  3. Remove it from git history (leakscan purge --help) and load it from an environment variable or secret manager instead.

Pattern

xapp-\d-[A-Z0-9]+-\d+-[a-f0-9]+

Suppress

On one line: # leakscan:ignore LS-SLACK-004. For the whole project:

disable_rules: [LS-SLACK-004]