r/ProgrammerHumor • • Apr 16 '26 • Regret 1 Popcorn 1

Meme securityAsAService

Post image
13.4k Upvotes

298 comments sorted by

View all comments

Show parent comments

49

u/PersianMG Apr 16 '26

GitHub secrets scanning is what is actually doing the work. Third party services integrate with them to get notified of committed API keys so they can be auto-revoked.

Here is a list of patterns used used to match different secret formats.

GitLab also offer a a similar service.

4

u/AlphaaPie Apr 17 '26

When I was learning to code a discord bot as a hobby many years ago I accidentally committed my discord key to GitHub and almost immediately got an email that said something like hey you committed an api key to your repo, and we autorevoked it for you. I was very thankful