Skip to content

LS-SLACK-001: Slack Bot Token

Severity HIGH
Blast radius Workspace communication compromise
Rotate at https://api.slack.com/apps
--verify POST https://slack.com/api/auth.test

If this leaks

Allows the bot to read messages, post as itself, and access any workspace data its OAuth scopes permit.

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

xoxb-[0-9]{10,13}-[0-9]{10,13}-[a-zA-Z0-9]{24}

Suppress

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

disable_rules: [LS-SLACK-001]