Secret scanning in CI or config
A scanner looks for keys and passwords committed by mistake: in CI, in a git hook, or set up by a config.
A scanner looks through the code and its commits for keys, tokens and passwords committed by mistake, so that they can be revoked before someone else finds them: Gitleaks, TruffleHog, GitGuardian, detect-secrets or secretlint. It runs in CI on each push, in a git hook before a commit leaves the laptop, or from a config the tool reads. GitHub's own secret scanning, turned on in the settings, is not seen in the repo. The site counts a repo when a workflow runs one of these tools, a config of one is committed, or a git hook scans for secrets.
- Pro scene today: 12%, 27 of 221 pro repos
- In three months: +2 pts (5 pro repos added it)
- Kept: 96%, 22 of 23 that had it 3 months ago or before
Pro 12% · Ladder 3%
In the pro repos
The 6 most starred of the 27 pro repos that have it today.
- huggingface/transformers/.github/workflows
- Stirling-Tools/Stirling-PDF/.gitleaksignore
- unslothai/unsloth/.github/workflows
- openbq-org/OpenBB/.secrets.baseline
- run-llama/llama_index
- roboflow/supervision
By month
| Month | Pro scene |
|---|---|
| June 2025 | 7% |
| July 2025 | 7% |
| August 2025 | 7% |
| September 2025 | 7% |
| October 2025 | 7% |
| November 2025 | 7% |
| December 2025 | 7% |
| January 2026 | 7% |
| February 2026 | 7% |
| March 2026 | 7% |
| April 2026 | 8% |
| May 2026 | 9% |
| June 2026 | 10% |
| July 2026 | 10% |
| August 2026 | 10% |
| September 2026 | 10% |
| October 2026 | 10% |
| November 2026 | 11% |
| today | 12% |
Inside the practice
Scanners called from CI
Named in a GitHub Actions workflow. GitHub's own settings leave no file.
- CodeQL: 20%, 45 of 221
- zizmor: 8%, 18 of 221
- cargo audit or deny: 5%, 12 of 221
- actionlint: 5%, 11 of 221
- Trivy: 5%, 11 of 221
- npm, pnpm or yarn audit: 5%, 11 of 221
- OpenSSF Scorecard: 4%, 8 of 221
- Dependency review: 3%, 7 of 221
Evidence
Observed in the repos only: no published study is quoted for it yet.
How it is detected
Looks for Gitleaks, TruffleHog, GitGuardian, detect-secrets or secretlint run by a workflow, a config file of one of them, or a git hook that scans for secrets. Read in repo files. How the method counts
Related practices
More in Secure, the most adopted first.