id: doppler-service-token

info:
  name: Doppler Service Token
  author: DhiyaneshDK
  severity: info
  reference:
    - https://github.com/praetorian-inc/noseyparker/blob/main/crates/noseyparker/data/default/builtin/rules/doppler.yml
    - https://docs.doppler.com/reference/api
    - https://docs.doppler.com/reference/auth-token-formats
  metadata:
    verified: true
    max-request: 1
  tags: doppler,exposure,tokens,vuln

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

    extractors:
      - type: regex
        part: body
        regex:
          - \b(dp\.st\.(?:[a-z0-9\-_]{2,35}\.)?[a-zA-Z0-9]{40,44})\b
# digest: 4b0a00483046022100f2a804f9c9e3c322be926e07afb153d6179383108592a3cacd37d12f3fce6b0f022100a63a85d7754b112fb0918736d354961b1a92859fc680334c6bd28f9e151f55d4:922c64590222798bb761d5b6d8e72950