Open-Source C++ Tool Scans Git History for Accidentally Committed Secrets
A developer has released GitHub Secrets Watcher, an open-source command-line tool written in C++20 that scans GitHub repositories for accidentally committed sensitive files such as .env and config.js. The tool walks through commit history across branches and flags files that may contain API keys, database credentials, or other secrets, providing direct links to the exact commits where they appear. It operates in read-only mode, meaning it never alters or deletes repository data, leaving remediation decisions entirely to the user. The tool supports public and private repositories, multi-threaded scanning, and three output formats — plain text, JSON, and CSV. Available under the MIT license on GitHub, it builds on Linux, macOS, and Windows using CMake.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in