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: 4a0a00473045022100c3e994400632623c36943e437fe9edcbd16ab69e55685d2780ac4c1244073ec30220100184ce7f6fec5d8a03daa32752f7a1b4ff0f42d5621798d88dd9f27d490d32:922c64590222798bb761d5b6d8e72950
