id: doppler-cli-token

info:
  name: Doppler CLI 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\.ct\.[a-zA-Z0-9]{40,44})\b
# digest: 490a0046304402203ebadce264e9ecd4667bd236f1681160613512401bbb67f13d1478202f0124750220608e8dc3e0ec3d6608e2928614d60ad8a34f643ae7ecb0d7b0f26b4a92bab2dc:922c64590222798bb761d5b6d8e72950