id: google-oauth-access-key

info:
  name: Google OAuth Access Key Disclosure
  author: Ice3man
  severity: info
  metadata:
    max-request: 1
  tags: exposure,token,google

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

    extractors:
      - type: regex
        part: body
        regex:
          - 'ya29\.[0-9A-Za-z\-_]+'
# digest: 4a0a0047304502210095ecfec01ff1b2554116ba51720a1906c1fb561e9d035e2b8f79be865125a458022065a3e219df35afcb66e1fc1b8693d02a36982a2636b6e0c50e62280d18a9ff34:922c64590222798bb761d5b6d8e72950