id: adobe-oauth-secret

info:
  name: Adobe OAuth Client Secret
  author: DhiyaneshDK
  severity: info
  reference:
    - https://github.com/praetorian-inc/noseyparker/blob/main/crates/noseyparker/data/default/builtin/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: 490a004630440220634ccba010269c1ed9482ba306bfea66d1df8035fe79d13bdaa9a00ec1cde0f902201e2250055bd418fb77e0ef8f5b90737231141e1e9eb6773277ee6c60337bdcf2:922c64590222798bb761d5b6d8e72950