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,vuln

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

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