| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A user-friendly CLI that checks whether a Google Maps Platform API key is valid and which APIs it can access.
It supports testing HTTP referrer / Origin restricted keys by letting you supply the headers that a browser would send.
cd gmapi-audit
python3 -m venv .venv
. .venv/bin/activate
pip install -U pip
pip install -e .gmapi-audit run --api-key "YOUR_KEY"
# Test a browser-restricted key
gmapi-audit run --api-key "YOUR_KEY" --referer "https://example.com/" --origin "https://example.com"
# Only run a subset
gmapi-audit run --api-key "YOUR_KEY" --only places,routesFor each probe, the tool prints:
IP restricted keys cannot be tested from an arbitrary machine (the source IP cannot be spoofed). The tool will explain this case.
“Modern” vs “Legacy” depends on the API:
Gemini / Generative Language API: Some AIza... keys used for Maps/Firebase can also access Gemini endpoints if the API is enabled in the same Google Cloud project. This tool includes a probe for that behavior, as described in Truffle Security’s writeup.
Pricing table intent: The pricing table is meant to illustrate potential cost impact if a key is leaked. Some probes (notably Places) intentionally request a richer field set to reflect potentially costly SKUs. Always verify against the official pricing list.
| Back | FazBrowse Home | New Git URL |