id: doppler-scim-token

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