id: braintree-access-token

info:
  name: PayPal Braintree Access Token Disclosure
  author: Ice3man
  severity: info
  metadata:
    max-request: 1
  tags: exposure,token,paypal

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

    extractors:
      - type: regex
        part: body
        regex:
          - 'access_token\$production\$[0-9a-z]{16}\$[0-9a-f]{32}'
# digest: 4a0a0047304502202aada47dc15eab6b45e75a3f7156826319504bf26b33a6300af2d1f20e640be9022100e4d495c49101cc816f1a8a734dfa3c3f965b9412d1fda2f9debbaae265858596:922c64590222798bb761d5b6d8e72950