logoalt Hacker News

acheong08yesterday at 1:57 PM1 replyview on HN

GitHub does warn you when you have API keys in your repo. Alternatively, there are CLI tools such as TruffleHog you can put in pre-commit hooks to run before commits automatically


Replies

cwinqtoday at 7:54 AM

You can try GitGuardian, it is very powerful and free for individual developers and small teams. It has precommit hooks, detection in IDE and all.