{"repo":"Junyi-99/ChatGPT-API-Scanner","free":true,"listed":false,"github":"https://github.com/Junyi-99/ChatGPT-API-Scanner","clone":"git clone https://github.com/Junyi-99/ChatGPT-API-Scanner.git","description":"Scan GitHub for available OpenAI API Keys","language":"Python","stars":1064,"topics":["chatgpt","chatgpt-api","freegpt","gpt","gpt-3","gpt4","selenium"],"license":"MIT","category":"scrapers-browser-automation","readme_excerpt":"ChatGPT-API-Scanner This tool scans GitHub for available OpenAI API Keys. [!WARNING] ⚠️ DISCLAIMER THIS PROJECT IS ONLY FOR SECURITY RESEARCH AND REMINDS OTHERS TO PROTECT THEIR PROPERTY, DO NOT USE IT ILLEGALLY!! The project authors are not responsible for any consequences resulting from misuse. [!NOTE] As of August 21, 2024 , GitHub has enabled push protection to prevent API key leakage, which could significantly impact this repository. [!NOTE] As of March 11, 2024 , secret scanning and push protection will be enabled by default for all new user-owned public repositories that you create. Check this announcement here. Keeping Your API Key Safe It's important to keep it safe to prevent unauthorized access. Here are some useful resources: - Best Practices for API Key Safety - My API is getting leaked.. need advice! - My OpenAI API Key Leaked! What Should I Do? Prerequisites This project has been tested and works perfectly on macOS, Windows and WSL2 (see Run Linux GUI apps on the Windows Subsystem for Linux) Ensure you have the following installed on your system: - Google Chrome - uv (Python package manager; handles Python install automatically) Installation 1. Clone the repository: 2. Install dependencies (uv reads pyproject.toml / uv.lock and provisions the matching Python version from .python-version ): To include dev tools (pylint, flake8, ruff): Usage 1. Run the main script: 2. You will be prompted to log in to your GitHub account in the browser. Please do so. That's it! T","default_branch":null,"files":null,"tree":[],"storefront":"/r/Junyi-99","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Junyi-99/ChatGPT-API-Scanner/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}