id: google-api-key

info:
  name: Google API Key
  author: Swissky
  severity: info
  metadata:
    max-request: 2
  tags: exposure,token,google

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

    extractors:
      - type: regex
        part: body
        regex:
          - "AIza[0-9A-Za-z\\-_]{35}"
# digest: 4a0a0047304502206159322df11093fb8d6802f67733751ece07f19128277337fae144c5c275fbb9022100f223b848b767a665f0d79db62f1e61c79a48612bb6b3cf2b161f31ad00ef6ce3:922c64590222798bb761d5b6d8e72950