id: google-client-id

info:
  name: Google Client ID
  author: DhiyaneshDK
  severity: info
  reference:
    - https://github.com/praetorian-inc/noseyparker/blob/main/crates/noseyparker/data/default/builtin/rules/google.yml
  metadata:
    verified: true
    max-request: 1
  tags: google,token,exposure

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

    extractors:
      - type: regex
        part: all
        regex:
          - '(?i)\b([0-9]+-[a-z0-9_]{32})\.apps\.googleusercontent\.com'
# digest: 4a0a00473045022031349acc82f87185fdf87a402432e6dc3ffe49efa09357806e56919c95cdc9f5022100835018aa6b6ae58bc006569f923f08815a32acf17b646074332f7a1331eea910:922c64590222798bb761d5b6d8e72950