
Scans websites and JS files for exposed Gemini API keys, verifies them live, enumerates accessible services, and provides a browser client for direct API use.
A toolkit for discovering, validating, and testing exposed Google Gemini API keys.
It consists of two components:
[!IMPORTANT] 🎥 A complete walkthrough of the toolkit is available here: https://youtu.be/3KMUnLdlOSE?si=j0FZ5WRFW-jBgi5d
Jump to 11:24 to see this tool features in action.
A multi-threaded reconnaissance tool for discovering exposed Google API keys, validating them, and identifying accessible Gemini capabilities.
pip install requests colorama tqdm urllib3
python Gemisc.py -t example.com
python Gemisc.py -f targets.txt
python Gemisc.py -l keys.txt --verify
python Gemisc.py
| Mode | Description |
|---|---|
| Scan | Discover exposed API keys in HTML and JavaScript files |
| Verify | Validate discovered keys against the Gemini API |
| Capabilities | Identify which Gemini services each key can access |
A standalone browser client for interacting with the Gemini API using discovered or personal API keys.
No installation, backend, or web server required.
Simply open the file in your browser and start chatting.
| Option | Description |
|---|
-t | Scan a single domain or URL |
-f | Scan domains listed in a file |
-l | Verify API keys from a file |
--verify | Enable verification mode |
-o | Save output (default: results.txt) |
--timeout | Request timeout (default: 8) |
-q | Quiet mode |
-h | Display help |