Discover and explore top open-source AI tools and projects—updated daily.
UnsecuredAPIKeys-comCLI tool discovers and validates exposed API keys
Top 71.5% on SourcePulse
This project provides a command-line tool for discovering and validating exposed API keys on GitHub, aimed at security researchers and developers for educational purposes. It helps users understand common API key exposure vectors and promotes responsible disclosure practices by demonstrating how keys can be found in public repositories.
How It Works
The tool operates in two main modes: a scraper that uses a GitHub token to search for common API key patterns (OpenAI, Anthropic, Google) via regex and stores findings in a local SQLite database, and a verifier that validates these discovered keys against the respective provider APIs. This approach allows for practical demonstration of security vulnerabilities without requiring complex setup or extensive knowledge of API security.
Quick Start & Requirements
public_repo scope is required for searching. Building from source requires the .NET 10 SDK.appsettings.example.json to appsettings.json.Highlighted Details
Maintenance & Community
A full-featured version with a Web UI, broader provider support, and higher limits is available at www.UnsecuredAPIKeys.com. The legacy UI branch is no longer actively maintained. No specific community channels (e.g., Discord, Slack) are listed.
Licensing & Compatibility
This project uses a custom MIT-based license requiring visible attribution. Any use of the code must include the display text "Based on UnsecuredAPIKeys Open Source" with a link to the project's GitHub repository. Commercial use compatibility is not explicitly detailed beyond this attribution requirement.
Limitations & Caveats
The "Lite" version is intentionally limited in scope, supporting only GitHub searches, a few API providers, and a small cap on valid keys. It is strictly intended for educational use and security awareness, prohibiting unauthorized access or public sharing of discovered keys.
1 month ago
Inactive
cloudflare
trufflesecurity