Clipboard watcher is a macOS shell script based on TruffleHog. It monitors your clipboard at short intervals and detects secrets.
brew install trufflehog jq
git clone https://github.com/isacaya/clipboard_watcher/
cd clipboard_watcher
chmod +x clipboard_watcher.sh
./clipboard_watcher.sh &