SQ34306
Detected presence of webhook service access keys.
priority | CI/CD status | severity | effort | RL level | RL assessment |
---|---|---|---|---|---|
fail | high | medium | 2 | secrets: fail Reason: web service credentials found |
About the issueโ
Software as a Service (SaaS) platforms expose programmable interfaces for action automation and secure exchange of information. Webhooks are web callback interfaces that enable real-time event notifications. Applications provide a public-facing interface that the web service calls when an appropriate event occurs. Authentication is done by the application that the web service accesses through a secret key. Since the key is encoded in the webhook callback, the service interface parameters should never be included in a software release package, even if they are obfuscated by encryption on the client-side.
How to resolve the issueโ
- If webhook keys were published unintentionally and the software has been made public, you should revoke the exposed webhook secrets and file a security incident.
- Examples of webhook secrets that may have been detected include AWS, Slack, Office365 and others.
Incidence statisticsโ
ReversingLabs periodically collects and analyzes the contents of popular software package repositories for threat research purposes.
For every repository, the chart shows the percentage of projects that triggered the software assurance policy. In other words, it shows how many projects were found to have the specific issue described on this page.
The percentages are calculated from the total amount of packages analyzed:
- RubyGems: 174K
- Nuget: 189K
- PyPi: 403K
- NPM: 2.1M
Secrets breakdown by serviceโ
The next chart provides a more detailed look at sensitive information detected in analyzed packages. Secrets are grouped by service, and for every service the chart shows the absolute number of secrets found per repository.
When present in the chart, the "Other" group covers the following:
- SWT Generic
- RFC6750 Token
- OAuth token credentials
- Connection string with an exposed secret
- Basic Access credentials
- JWT Generic
Recommended readingโ
- What is a webhook? (External resource - RedHat)
- Introduction to Webhook security (External resource - webhooks.fyi)