Skip to content

Google API Key

ID: google-api-key

Severity: info

Author: Swissky

Tags: exposure,token,google

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

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/exposures/tokens/google/google-api-key.yaml"

View on Github