id: doppler-token

info:
  name: Doppler API Token
  author: DhiyaneshDK
  severity: info
  reference:
    - https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/doppler-api-token.yaml
    - https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/doppler-api-token.go
  metadata:
    verified: true
    max-request: 1
  tags: doppler,exposure,tokens,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    extractors:
      - type: regex
        part: body
        regex:
          - (dp\.pt\.)(?i)[a-z0-9]{43}
# digest: 4b0a00483046022100e2d7e44ea3dfacd18f36026bdff0f9c7df9881d41d2599cb4313a5f4ac1de29f022100897239fd36264b224962c9663ebe2aa254bb4941a2f270d52871d0c1d1c8d997:922c64590222798bb761d5b6d8e72950