Skip to content

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

  1. Rotate or revoke the credential at https://api.slack.com/messaging/webhooks.
  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

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]