generic.secrets.security.detected-slack-webhook.detected-slack-webhook
Community Favorite

Author
37,965
Download Count*
License
Slack Webhook detected
Run Locally
Run in CI
Defintion
rules:
- id: detected-slack-webhook
pattern-regex: https://hooks\.slack\.com/services/T[a-zA-Z0-9_]{8,10}/B[a-zA-Z0-9_]{8,10}/[a-zA-Z0-9_]{24}
languages:
- regex
message: Slack Webhook detected
severity: ERROR
metadata:
references:
- https://api.slack.com/messaging/webhooks
source-rule-url: https://github.com/dxa4481/truffleHogRegexes/blob/master/truffleHogRegexes/regexes.json
category: security
technology:
- secrets
- slack
confidence: LOW
owasp:
- A07:2021 - Identification and Authentication Failures
cwe:
- "CWE-798: Use of Hard-coded Credentials"
cwe2022-top25: true
cwe2021-top25: true
subcategory:
- audit
likelihood: LOW
impact: MEDIUM
license: Commons Clause License Condition v1.0[LGPL-2.1-only]
Examples
detected-slack-webhook.txt
# ruleid: detected-slack-webhook
https://hooks.slack.com/services/T12345678/B12345678/abcd1234efgh5678ijkl90zy
# ruleid: detected-slack-webhook
https://hooks.slack.com/services/T12345678/B1234567890/abcd1234efgh5678ijkl90zy
Short Link: https://sg.run/weWX