Code scanning in CI
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.
- Stirling-Tools/Stirling-PDF/.github/workflows
- lobehub/lobehub/.github/workflows
- unslothai/unsloth/.github/workflows
- openbq-org/OpenBB/.github/workflows
- strapi/strapi/.github/workflows
- withastro/astro/.github/workflows
By month
| Month | Pro scene |
|---|---|
| June 2025 | 20% |
| July 2025 | 21% |
| August 2025 | 21% |
| September 2025 | 21% |
| October 2025 | 20% |
| November 2025 | 21% |
| December 2025 | 21% |
| January 2026 | 21% |
| February 2026 | 21% |
| March 2026 | 21% |
| April 2026 | 22% |
| May 2026 | 22% |
| June 2026 | 23% |
| July 2026 | 23% |
| August 2026 | 23% |
| September 2026 | 24% |
| October 2026 | 25% |
| November 2026 | 25% |
| today | 26% |
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.