LS-SLACK-002: Slack User Token¶
| Severity | HIGH |
| Blast radius | User account and workspace compromise |
| Rotate at | https://api.slack.com/apps |
--verify |
POST https://slack.com/api/auth.test |
If this leaks¶
Acts as the authorizing user, allowing the attacker to read private channels, DMs, and post messages as that person.
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¶
xoxp-[0-9]{10,13}-[0-9]{10,13}-[a-zA-Z0-9]{32}
Suppress¶
On one line: # leakscan:ignore LS-SLACK-002. For the whole project:
disable_rules: [LS-SLACK-002]