Medium severityMulti-languageHardcoded SecretsHIGH confidence
Slack Discord Webhook
A Slack or Discord incoming-webhook URL appears to be hard-coded.
Standards mapping
- OWASP ASVS
- V6.4.1 (L2)
Vulnerable vs. safe
Flagged by this check
webhook_url = https://hooks.slack.com/services/T00000000/B00000000/0000000000000000000000abPasses - the safe pattern
webhook_url = https://example.com/not/a/webhookWhy it matters & how to fix it
A Slack or Discord incoming-webhook URL appears to be hard-coded. Anyone with the URL can post to the channel; rotate the webhook and store the URL as a secret.
References
Rule ID integsec.generic.secrets.slack-discord-webhook - engine: Opengrep - license: MIT - Copyright (c) IntegSec Inc.
TurboPentest runs this check automatically
Connect a GitHub repo and this check runs on every white-box pentest - AI-validated and reported with proof, from $99 per target.
Start a pentestRelated checks
- JavaScript / TypeScript - Hardcoded SecretsBasic Auth Credentials In URL
- JavaScript / TypeScript - Hardcoded SecretsDB Connection String With Credentials
- JavaScript / TypeScript - Hardcoded SecretsHardcoded Credential String
- JavaScript / TypeScript - Hardcoded SecretsHardcoded Crypto Key Or IV
- Python - Hardcoded SecretsBasic Auth Credentials In URL
- Python - Hardcoded SecretsDB Connection String Credentials