The Tech Meta

An inside look at tech's evolving playbook

Code scanning in CI

Secure observed

A static analysis tool, run from a workflow, looks for vulnerabilities in the code.

A static analysis tool reads the source code in CI and reports patterns that lead to vulnerabilities: injections, unsafe deserialization, secrets in code, risky calls. The tools read here are CodeQL, GitHub's engine, Semgrep, Sonar, Snyk Code, Bandit for Python and gosec for Go. Findings show up as alerts in the repo's security tab or as comments on the pull request. The site counts a repo when one of its workflows runs one of these tools; scanning turned on in GitHub's settings alone, with no workflow, is not seen.

  • Pro scene today: 26%, 57 of 221 pro repos
  • In three months: +2 pts (3 pro repos added it)
  • Kept: 90%, 54 of 60 that had it 3 months ago or before

Pro 26% · Ladder 10% · 2.6×

Insight: 9 more pro repos get GitHub code scanning comments with no scanner of any kind in a workflow: default setup needs no workflow file.

In the pro repos

The 6 most starred of the 57 pro repos that have it today.

By month

MonthPro scene
June 202520%
July 202521%
August 202521%
September 202521%
October 202520%
November 202521%
December 202521%
January 202621%
February 202621%
March 202621%
April 202622%
May 202622%
June 202623%
July 202623%
August 202623%
September 202624%
October 202625%
November 202625%
today26%

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 CodeQL, Semgrep, Sonar, Snyk Code, Bandit or gosec run by a workflow. Read in workflow files. How the method counts

Related practices

More in Secure, the most adopted first.

Levels of evidence