GitHub Secrets Watcher – Detecting Accidental Secrets in Git History
Описание и применение
GitHub Secrets Watcher – CLI‑утилита на C++20, которая сканирует историю коммитов репозиториев и выявляет файлы с потенциальными секретами, предоставляя прямые ссылки на коммиты для быстрой коррекции.
Задача
Accidental commits of environment or config files (e.g., .env, config.js) leave secrets in Git history, exposing them to anyone who clones the repo.
Результат
The tool reports all detected environment/config files with commit links, allowing developers to remediate secrets efficiently without modifying repository history.
Рабочий процесс
- Clone the GitHub Secrets Watcher repository
- Build the project with CMake or provided script
- Run the scan command with --username and optional --token for private repos
- Optionally adjust --depth, --max-repos, --threads, --format, and --output
Доказательства
GitHub Secrets Watcher is a command-line tool written in modern C++20 that scans your GitHub repositories …
For every hit, it gives you a direct link to the exact commit where the file appears
- Дата записи: 2026-09-06T16:37:58.506Z