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

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

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