Menu

Two Secret Scanners Found 5 of 7 Exposed Credentials Each, but Missed Different Secrets
📰

Two Secret Scanners Found 5 of 7 Exposed Credentials Each, but Missed Different Secrets

Reading 0:00
15s threshold

Earlier this year, I wrote a secret scanner. Regex rules, a Java backend, a Chrome extension that lights up files on a GitHub page when something looks like a credential. It was a portfolio project and I never used it in anger.

Last week I pointed it at my own GitHub account - all 17 repositories, full history - and ran gitleaks over exactly the same commits as a control. I expected to confirm my scanner was worse. It is worse, by every aggregate measure. That turned out to be the least interesting thing in the results.

There were 7 distinct real secrets in my history. My scanner found 5 of them. Gitleaks found 5 of them. They were not the same 5.

The setup

17 repositories, 0 forks, 2 of them private.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.