LS-SLACK-003: Slack Webhook¶
| Severity | HIGH |
| Blast radius | Channel spam and phishing |
| Rotate at | https://api.slack.com/messaging/webhooks |
If this leaks¶
Allows anyone with the URL to post arbitrary messages into the configured channel, useful for phishing or spam inside the organization.
What to do¶
- Rotate or revoke the credential at https://api.slack.com/messaging/webhooks.
- 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¶
https://hooks\.slack\.com/services/T[A-Z0-9]+/B[A-Z0-9]+/[a-zA-Z0-9]+
Suppress¶
On one line: # leakscan:ignore LS-SLACK-003. For the whole project:
disable_rules: [LS-SLACK-003]