The Tech Meta

An inside look at tech's evolving playbook

Secret scanning in CI or config

Secure observed

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.

By month

MonthPro scene
June 20257%
July 20257%
August 20257%
September 20257%
October 20257%
November 20257%
December 20257%
January 20267%
February 20267%
March 20267%
April 20268%
May 20269%
June 202610%
July 202610%
August 202610%
September 202610%
October 202610%
November 202611%
today12%

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.

Levels of evidence