gitGraber is a Python3 tool that monitors GitHub in real time to detect and notify users of exposed sensitive data and API keys for various online services.
gitGraber: monitor GitHub to search and find sensitive data in real time for different online services such as: Google, Amazon, Paypal, Github, Mailgun, Facebook, Twitter, Heroku, Stripe...
gitGraber is primarily used by security professionals and organizations to continuously monitor GitHub for accidental leaks of sensitive credentials related to services like AWS, Paypal, and Stripe. It helps detect secrets exposure from not only the organization itself but also from employees and third-party providers, enabling timely response and mitigation.
gitGraber is designed to monitor the latest indexed files on GitHub rather than repository history, reducing noise from old leaks. Users should configure multiple GitHub tokens to handle API rate limits and avoid abuse detection. Regex patterns can be customized to reduce false positives and exclude irrelevant tokens. Notifications require proper setup of Slack, Discord, or Telegram integrations.
Clone the repository from GitHub
Ensure Python 3.x is installed
Install required dependencies (not explicitly listed, but implied Python environment setup)
Configure GitHub tokens in config.py for API access
Edit tokens.py to customize regex patterns or blacklists if needed
python3 gitGraber.py -k keywordsfile.txt
Search GitHub using each keyword from the specified keywords file.
python3 gitGraber.py -q "apikey"
Search GitHub for the specific query string "apikey".
python3 gitGraber.py -m
Enable continuous monitoring of the search query by creating a cron job that runs every 30 minutes.
python3 gitGraber.py -s
Enable Slack notifications for detected secrets.
python3 gitGraber.py -d
Enable Discord notifications for detected secrets.
python3 gitGraber.py -tg
Enable Telegram notifications for detected secrets.
python3 gitGraber.py -w wordlist.txt
Create a dynamic wordlist populated with discovered filenames from GitHub.
python3 gitGraber.py -l 7
Limit search results to commits less than 7 days old.