Use of Hard-coded Credentials
| Property | |
|---|---|
| Language | regex |
| Severity | |
| CWE | CWE-798: Use of Hard-coded Credentials |
| OWASP | A07:2021 - Identification and Authentication Failures |
| Confidence Level | Low |
| Impact Level | Medium |
| Likelihood Level | Low |
Description#
A Microsoft Teams webhook URL has been found hard-coded in the source code. Storing sensitive URLs like webhooks directly in code exposes them to anyone with access to the repository.
Impact#
If someone obtains this webhook URL, they can send unauthorized messages to your Teams channel, potentially leading to spam, phishing, or information disclosure. This can disrupt team communication and damage trust in your organization’s security.