Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Gemini-api-key-hunter — 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. | Kitploit
Tools/GitHubGitHub/coffinxp/gemini-api-key-hunter
OSINT (Open Source Intelligence)ReconnaissanceInformation GatheringWeb SecurityPenetration TestingCloud SecuritySecret DetectionAPI Security
Share
GitHub
coffinxp/gemini-api-key-hunter

Gemini-api-key-hunter

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.

View Repository
5512504 months agoReviewed by Kitploit

Gemini API Key Toolkit

A toolkit for discovering, validating, and testing exposed Google Gemini API keys.

It consists of two components:

  • Gemisc.py – A high-speed Python scanner that discovers exposed Google API keys from websites and JavaScript files, verifies them against the Gemini API, and identifies the services each key can access.
  • lostsec.html – A browser-based Gemini client that lets you interact directly with the Gemini API using discovered API keys. No backend or server required.

[!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.


Gemisc.py

A multi-threaded reconnaissance tool for discovering exposed Google API keys, validating them, and identifying accessible Gemini capabilities.

Features

  • Scan a single website or an entire target list
  • Automatically crawl and scan linked JavaScript files
  • Extract exposed Google API keys
  • Verify whether discovered keys are active
  • Detect supported Gemini capabilities:
    • 💬 Text Generation
    • 🖼️ Imagen 4
    • 🔊 Text-to-Speech (TTS)
    • 🎬 Veo 3 Video Generation
  • Referer spoofing to bypass referer-restricted keys
  • Multi-threaded scanning with live progress
  • Save discovered keys and verification results
  • Interactive menu mode

Installation

pip install requests colorama tqdm urllib3

Usage

python Gemisc.py -t example.com

python Gemisc.py -f targets.txt

python Gemisc.py -l keys.txt --verify

python Gemisc.py

Arguments

OptionDescription
-tScan a single domain or URL
-fScan domains listed in a file
-lVerify API keys from a file
--verifyEnable verification mode
-oSave output (default: results.txt)
--timeoutRequest timeout (default: 8)
-qQuiet mode
-hDisplay help

Operating Modes

ModeDescription
ScanDiscover exposed API keys in HTML and JavaScript files
VerifyValidate discovered keys against the Gemini API
CapabilitiesIdentify which Gemini services each key can access

lostsec.html

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.

Features

  • Supports all major Gemini models
  • Multi-turn conversation memory
  • Image understanding (Vision)
  • File upload support
  • Built-in code editor with syntax highlighting
  • Imagen 4 image generation
  • Export chat history
  • Secure local storage for API keys and conversations
  • Fully client-side

Usage

  1. Open lostsec.html in your browser.
  2. Paste a Gemini API key.
  3. Click Authenticate.
  4. Choose a model.
  5. Start chatting.

Disclaimer

  • Only scan systems you own or are explicitly authorized to test.
  • This project is intended for security research and educational purposes.
  • Protect any API keys you discover and disclose exposed credentials responsibly.
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    524
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    478
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    357
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    317
  • 5

    estorides

    grisuno/estorides

    Aggregates 99+ free OSINT sources in parallel, resolves entities into a knowledge graph, and exports STIX 2.1, MISP, or GraphML with LLM-assisted analysis.

    305
  • 6

    opencti

    opencti-platform/opencti

    Open Cyber Threat Intelligence Platform

    275

Explore all tools

Browse our collection of tools

View all tools →