id: adobe-oauth-secret

info:
  name: Adobe OAuth Client Secret
  author: DhiyaneshDK
  severity: info
  reference:
    - https://github.com/praetorian-inc/noseyparker/blob/main/data/default/rules/adobe.yml
    - https://developer.adobe.com/developer-console/docs/guides/authentication/
    - https://developer.adobe.com/developer-console/docs/guides/authentication/OAuthIntegration/
    - https://developer.adobe.com/developer-console/docs/guides/authentication/OAuth/
  metadata:
    verified: true
    max-request: 1
  tags: adobe,oauth,exposure,tokens

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

    extractors:
      - type: regex
        part: body
        regex:
          - '(?i)\b(p8e-[a-z0-9-]{32})(?:[^a-z0-9-]|$)'
# digest: 4b0a00483046022100b66013fc5ef2e93a2c99629ef1e7dd786b37d0c933c6bd9017adb77cf471d04902210081c821d21163a5f851bab5681d7482288071e0b952048d9b54a1513d9524427f:922c64590222798bb761d5b6d8e72950