id: doppler-audit-token

info:
  name: Doppler Audit 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

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

    extractors:
      - type: regex
        part: body
        regex:
          - \b(dp\.audit\.[a-zA-Z0-9]{40,44})\b
# digest: 4a0a00473045022016e75771722b565c7395fe33be9be04b386138603cf34b84ba08ced7457cfabb022100994b129334fb6bc55b92256480999fb7218d710d7c77ba8d413cfcc1733e98b8:922c64590222798bb761d5b6d8e72950