What 10,000 open-source repositories look like
repo-janitor scanned popular libraries, applications, infrastructure and tooling at pinned commits and read their full git history. Only findings a user sees by default (high and medium confidence) are counted.
Data from November 22, 2026
594.5M lines of code
7M files
13.5M commits read
57.7M GitHub stars between them
- distinct GitHub projects
- 10,000
- pinned scan records
- 10,007
- historical alias records
- 7
Technology footprint
File extensions across the pinned trees, including secondary languages, generated code and vendored files. This measures file presence, not files analysed or equal security coverage across languages.
| language / format | records with files | files present |
|---|---|---|
| JavaScript | 4,030 | 354,611 |
| Python | 3,117 | 359,017 |
| TypeScript | 2,255 | 613,029 |
| C / C++ | 1,861 | 335,724 |
| Java | 1,213 | 414,905 |
| Go | 1,187 | 362,442 |
| Kotlin | 904 | 177,466 |
| Rust | 880 | 139,221 |
| Swift | 874 | 81,363 |
| PHP | 751 | 222,972 |
| Ruby | 684 | 115,212 |
| C# | 653 | 296,001 |
| Vue | 368 | 30,497 |
| Dart | 359 | 80,194 |
| Terraform | 291 | 39,504 |
| Scala | 237 | 57,901 |
| Elixir | 152 | 15,305 |
| Svelte | 109 | 14,123 |
| Erlang | 90 | 4,628 |
| Solidity | 37 | 2,037 |
Snapshot completeness
- file inventories at the pinned commit
- 10,007
- external metadata snapshots at the pinned commit
- 10,007
- snapshots with a successful transport audit
- 1,714
- legacy snapshots without a transport audit
- 8,293
- snapshots with provider response-size limits
- 339
External metadata was checked between and .
A successful transport audit verifies requests, not vulnerability coverage. Older snapshots predate that audit. Response limits can omit metadata; a missing finding is not proof of safety. These dates describe dependency and license lookups, not the date of the latest commit.
years: the age of the oldest TODO still in the code
of projects: one person wrote 80%+ of the commits
have had no commit for a year or more
pin a GitHub Action to a tag that can be moved
have at least one known vulnerability
in dependencies that ship (not dev, test or docs)
have a critical one
An affected project typically carries 11 of them.
By ecosystem: share of projects using it that ship at least one known-vulnerable package from it
Packages most often behind them, share of all repos
| language | repos | median | per 1k lines |
|---|---|---|---|
| Python | 1423 | 84 | 2.3 |
| TypeScript | 1175 | 81 | 2.1 |
| JavaScript | 1022 | 85 | 2.3 |
| Go | 941 | 82 | 1.6 |
| Java | 647 | 79 | 2.4 |
| Rust | 631 | 68 | 2.0 |
| PHP | 608 | 83 | 2.2 |
| C++ | 503 | 67 | 2.1 |
| C# | 497 | 79 | 2.1 |
| Swift | 474 | 88 | 2.2 |
| Kotlin | 454 | 79 | 2.3 |
| Ruby | 423 | 84 | 2.6 |
| C | 317 | 73 | 1.3 |
| Scala | 196 | 66 | 3.8 |
People and time
One person wrote 80%+ of commits, by project size
Tools and habits
JavaScript package managers · 2020 → 2026
Python packaging · 2020 → 2026
JavaScript linters · 2020 → 2026
Bundlers · 2020 → 2026
Which file, today
37% of all action uses are pinned to a commit SHA; 15% of projects pin every one.
use :latest or no tag
pin every base image by digest
Outside view
pinning of actions and dependencies
workflow token permissions
pin at least one action to a mutable tag
do it for a third-party action
never restrict the workflow token
of 2195 Node.js projects still declare or test an end-of-life Node
of 1423 Python projects still support an end-of-life Python
- 26.7 yearsapache/xerces2-j
src/org/apache/xml/serialize/HTMLSerializer.java:865 - 26.7 yearsapache/xerces2-j
src/org/apache/xml/serialize/OutputFormat.java:868 - 26.0 yearsorocos-toolchain/log4cpp
src/NDC.cpp:125 - 25.8 yearsapache/xerces2-j
src/org/apache/xerces/jaxp/DefaultValidationErrorHandler.java:32 - 25.8 yearsapache/xerces2-j
src/org/apache/xerces/jaxp/SAXParserFactoryImpl.java:134
| practice | records using it | score gap, raw | score gap, similar size | findings / 1k lines gap |
|---|---|---|---|---|
| OpenSSF Scorecard | 123 | +1.0 | +6.4 | -1.11 |
| TypeScript | 1,077 | 0.0 | +1.8 | +0.06 |
| SECURITY.md | 1,567 | -9.0 | +1.0 | -0.46 |
| ESLint flat config | 524 | -5.0 | +0.3 | -0.48 |
| Prettier | 584 | -7.0 | -2.7 | +0.50 |
| CodeQL | 585 | -13.0 | -2.8 | -0.02 |
| Renovate | 468 | -4.0 | -3.3 | +0.41 |
| .editorconfig | 1,760 | -9.0 | -3.5 | +0.09 |
| CODEOWNERS | 967 | -12.0 | -3.7 | +0.14 |
| CONTRIBUTING | 3,151 | -13.0 | -4.2 | -0.12 |
| PR template | 1,791 | -15.0 | -4.3 | +0.04 |
| Dev container | 383 | -15.0 | -4.9 | -0.04 |
| Dependabot | 2,174 | -12.0 | -5.1 | +0.10 |
| Changesets | 107 | -16.0 | -5.7 | +0.18 |
| Issue templates | 2,892 | -17.0 | -5.9 | +0.31 |
| pre-commit | 492 | -14.0 | -7.1 | -0.09 |
CI: Travis → GitHub Actions
Security: Dependabot, SECURITY.md, CodeQL
Tooling: TypeScript, flat ESLint config, pnpm
Python: setup.py → pyproject.toml
Median commits and authors per year
high-confidence findings
| confidence | confirmed findings (TP) | false alarms (FP) | precision |
|---|---|---|---|
| High confidence | 690 | 102 | 87% |
| Medium confidence | 345 | 189 | 65% |
| Low confidence (hidden) | 74 | 552 | 12% |
Score 100
Lowest scores — anonymous
We do not name the projects with the most problems. Language, size and what dominates is the useful part.
| Language | Regular scan | Deep PHP | Semgrep | Bandit |
|---|---|---|---|---|
| javascript | 4% · 8/224 | — | 1% · 3/224 | — |
| python | 5% · 12/222 | — | 7% · 16/227 | 6% · 14/227 |
| php | 3% · 6/219 | 3% · 7/217 | 3% · 7/223 | — |
| java | 4% · 8/201 | — | 2% · 5/205 | — |
| go | 1% · 1/193 | — | 3% · 5/194 | — |
| ruby | 4% · 6/149 | — | 1% · 2/149 | — |
| All | 3% · 41/1208 | 3% · 7/217 | 3% · 38/1222 | 6% · 14/227 |
| Vulnerability class | Regular scan | Deep PHP | Semgrep | Bandit |
|---|---|---|---|---|
| access-control | 0% · 0/87 | 0% · 0/15 | 0% · 0/87 | 0% · 0/15 |
| csrf | 0% · 0/85 | 0% · 0/15 | 2% · 2/85 | 0% · 0/15 |
| cmdi | 7% · 6/84 | 7% · 1/15 | 6% · 5/84 | 0% · 0/13 |
| auth | 0% · 0/84 | 0% · 0/15 | 0% · 0/84 | 0% · 0/15 |
| sqli | 4% · 3/83 | 21% · 3/14 | 8% · 7/83 | 23% · 3/13 |
| path-traversal | 0% · 0/81 | 0% · 0/15 | 1% · 1/82 | 0% · 0/14 |
| code-injection | 13% · 10/78 | 21% · 3/14 | 6% · 5/80 | 0% · 0/15 |
| crypto | 0% · 0/78 | 0% · 0/14 | 5% · 4/78 | 47% · 7/15 |
| ssrf | 4% · 3/78 | 0% · 0/14 | 3% · 2/78 | 0% · 0/15 |
| redos | 0% · 0/75 | 0% · 0/13 | 0% · 0/80 | 0% · 0/15 |
| open-redirect | 0% · 0/75 | 0% · 0/15 | 1% · 1/75 | 0% · 0/14 |
| tls | 7% · 4/60 | 0% · 0/2 | 3% · 2/60 | 0% · 0/14 |
| xss | 0% · 0/58 | 0% · 0/8 | 0% · 0/64 | 0% · 0/7 |
| deserialization | 13% · 7/56 | 0% · 0/15 | 7% · 4/56 | 23% · 3/13 |
| xxe | 14% · 7/49 | 0% · 0/15 | 8% · 4/49 | 0% · 0/14 |
| file-upload | 0% · 0/49 | 0% · 0/14 | 0% · 0/49 | 0% · 0/11 |
| prototype-pollution | 0% · 0/25 | 0% · 0/2 | 0% · 0/25 | 0% · 0/4 |
| secrets | 4% · 1/23 | 0% · 0/2 | 4% · 1/23 | 20% · 1/5 |
| track | repos | median score | precision | rules labelled to target |
|---|---|---|---|---|
General Every hand-picked repository. Coverage and the cuts on this page. | 8,391 | 80 | 78% · 1326 | 38/71 (≥10) |
Random layer Random active public repositories. Corpus-wide percentages without selection bias. | 1,616 | 90 | not measured yet | 0/54 (≥5) |
Security Deliberately vulnerable apps and labs. Recall: known holes are still found. | 63 | 52 | 65% · 127 | 1/54 (≥30) |
Infrastructure ≥ 3 Terraform files, a Helm chart or a kustomization. IaC and CI rules, per format. | 429 | 71 | 77% · 114 | 0/59 (≥30) |
Mobile Main language Swift, Kotlin or Dart. Rules for languages with few labels so far. | 1,187 | 81 | 84% · 96 | 0/45 (≥30) |
Web backends Server-side language and a compose file. Injection, deserialisation, SSRF, dependencies. | 675 | 74 | 70% · 138 | 1/53 (≥30) |
8,391 public GitHub repositories, picked by hand in batches to cover libraries, applications, infrastructure and IaC, mobile, games, embedded, data and developer tools across 14 main languages — plus 59 deliberately vulnerable apps, used to check that real holes are still found.
Each is pinned to one commit and scanned offline with the same build; repos whose clone exceeds 2 GB are left out.
It is not a random sample. It leans towards well-known projects (median 2,991 stars; 40% under 1,000) and active ones (0% had a commit in the last year), and JavaScript, TypeScript and Python are the largest groups. Read the numbers as "popular open source", not "all code".
On top of that, a random layer of 1,616 repositories drawn uniformly from active public GitHub projects (not forks, not archived, at least 10 stars, pushed in the last year — about 840,000 repositories by GitHub search; median 28 stars). It is kept apart as its own track, so it can say what typical code looks like without the hand-picked bias.
Precision is measured on 1,952 findings checked by hand; only high and medium confidence findings are counted.
Method: repos are pinned to commits and scanned offline; findings are labelled by hand as true or false positives using one rule — is it true, and would a maintainer act on it. The benchmark, labels and these numbers are in the repo-janitor repository.