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¶
- Rotate or revoke the credential at https://api.slack.com/apps.
- Check the provider's audit logs for use you don't recognise.
- 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]