Skip to content

Datadog Access Token

ID: datadog-accesstoken

Severity: info

Author: DhiyaneshDK

Tags: datadog,exposure,tokens

id: datadog-accesstoken
info:
name: Datadog Access Token
author: DhiyaneshDK
severity: info
reference:
- https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/datadog-access-token.yaml
- https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/datadog-access-token.go
metadata:
verified: true
max-request: 1
tags: datadog,exposure,tokens
http:
- method: GET
path:
- "{{BaseURL}}"
extractors:
- type: regex
part: body
regex:
- (?i)(?:datadog)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:=|\|\|:|<=|=>|:)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{40})(?:['|\"|\n|\r|\s|\x60|;]|$)
# digest: 4b0a00483046022100ac95abd6b49af0af48021fad0130fbe0598e8eb38ffa298fdef39e5be28adf3a022100c3d9bf7465dee045d6dbf0d49fb5d03238feff69ce80fed2b949f6e55d470357:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/exposures/tokens/datadog/datadog-accesstoken.yaml"

View on Github