Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-08-28 00:12 UTC

libgit2 / libgit2

A cross-platform, linkable library implementation of Git that you can use in your application.

CCustom license★ 10,574 stars⑂ 2,642 forkssince Sep 2010View on GitHub ↗
KindCommand-line toolLibraryhow this is determined

libgit2/libgit2 holds a health index of 93 out of 100, placing it in the Exceptional band. It scores highest on Community & Adoption (93/100) and lowest on AI Readiness (60/100). It was last updated 12 days ago. 2 contributors account for most of its recent work.

93
overall / 100
Exceptional

Software health index

Metrics are grouped into weighted categories on one standardized 1–100 scale. Overall starts as their weighted mean, calibrated against the distribution of the public record so bands carry percentile meaning; when public evidence triggers the High-Risk Jurisdiction Policy, the rating is adjusted and receives an At Risk ceiling of 34.

93
Exceptional93-100The record's top tier (≈ top 5%); essentially all checked criteria met
Excellent80-92Strong across the board; minor gaps
Good65-79Healthy; gaps are limited and manageable
Moderate50-64Acceptable with notable gaps; review recommended
Weak35-49Material weaknesses across several areas
At Risk20-34Significant weaknesses; adoption warrants caution
Critical1-19Severe problems (abandoned, single-maintainer, no hygiene)
VitalityCommunity &AdoptionSustainability &GovernanceEngineeringQualitySecurityAI Readiness

Score profile

Each axis is a category. The shape matters more than the average — a healthy subject fills the whole shape, while a spike-and-crater profile means strength in one dimension is masking risk in another.

The weighted overall 79 is calibrated to 93 on the published index scale (record calibration 2026-08-02).

Ownership

libgit2Organization · verified domain
277 followers27 public repossince Sep 2010

This repository is backed by an organization — shared, accountable stewardship that can outlive any single maintainer.

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publishTags
npmlibgit2points to another repo — not scored0.1.01213563 days agolibgit2emscripten

Metrics by category

Vitality

Is the project alive — is code being written and are releases shipping?

88Excellent · 21% of overall
How it's scored
28.8/36Push recencylast push 12 days ago
29.1/36Commit cadence42/52 weeks with commits
18/18Commit volume387 commits in the last year
10/10OpenSSF Scorecard: Maintained30 commit(s) and 5 issue activity found in the last 90 days -- score normalized to 10
Inputs used
commits_last_year387
human_commit_share1
days_since_last_push12
active_weeks_last_year42
How it's scored
27/27Ships releases100 releases published
36/36Release recencylatest release 14 days ago
19.8/27Release cadencea release every ~48.1 days
0/10OpenSSF Scorecard: Signed-Releasesno data
Inputs used
releases_count100
latest_release_tagv1.8.7
releases_from_tagsno
days_since_latest_release14
mean_days_between_releases48.1
Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Signed-Releases. Remaining weights renormalized.

Community & Adoption

Does the project have users, downloads, attention, and a welcoming setup for contributors?

93Exceptional · 17% of overall
How it's scored
60/60Stars10,574 stars
25/25Forks2,642 forks
14.3/15Watchers382 watchers
Inputs used
forks2,642
stars10,574
watchers382
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history

Community health

87Excellent
How it's scored
22.5/22.5README
16.9/22.5Licenselicense file present, not a recognized license
18/18CONTRIBUTING guide
13.5/13.5Code of conduct
7.2/7.2Issue template
0/6.3PR template
Inputs used
has_readmeyes
has_licenseyes
readme_badges8
has_contributingyes
has_issue_templateyes
has_code_of_conductyes
readme_badge_servicesgithub.com, www.bestpractices.dev
has_pull_request_templateno

Sustainability & Governance

Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep?

76Good · 23% of overall
How it's scored
25.2/54Bus factor2 contributor(s) cover half of all commits
14.1/22.5Commit distributiontop contributor authored 37% of commits
13.5/13.5Contributor breadth100 contributors
10/10OpenSSF Scorecard: Contributorsproject has 45 contributing companies or organizations
Inputs used
bus_factor2
contributors_sampled100
top_contributor_share0.374
How it's scored
34.1/42Issue resolution81% of issues closed
24.4/30PR acceptance3,932/4,840 decided PRs merged
8.7/13Newcomer PR acceptance4/6 first-time contributors' PRs merged in 30d
9/15OpenSSF Scorecard: Code-ReviewFound 9/15 approved changesets -- score normalized to 6
Inputs used
merged_prs3,932
open_issues418
closed_issues1,804
prs_merged_7d0
prs_decided_7d1
prs_merged_30d8
prs_decided_30d10
issue_closed_ratio0.812
closed_unmerged_prs908
first_time_authors_30d6
first_time_prs_merged_30d4
first_time_prs_decided_30d6
How it's scored
30/30Ownership backingorganization-owned
20/20Verified domain
17.6/25Owner reach277 followers of libgit2
22.5/25Track record27 public repos, account ~15 yr old
Inputs used
followers277
owner_typeOrganization
is_verifiedyes
owner_loginlibgit2
public_repos27
account_age_days5,830

Engineering Quality

Are baseline engineering and documentation practices in place?

76Good · 19% of overall
How it's scored
24/24CI workflows6 workflow(s)
24/24Tests present
0/16Linter config
0/9.6Pre-commit hooks
6.4/6.4.editorconfig
12/20OpenSSF Scorecard: CI-Tests7 out of 11 merged PRs checked by a CI test -- score normalized to 6
Inputs used
has_ciyes
has_testsyes
has_editorconfigyes
has_linter_configno
has_precommit_configno

Documentation

90Excellent
How it's scored
30/30README
25/25Documentation directory
15/15Documentation / homepage sitehttps://www.libgit2.org
10/10Repository description
10/10Topics6 topics
0/10Wiki
Inputs used
topicslibgit2, git, library, dvcs, version-control, c
has_wikino
homepagehttps://www.libgit2.org
docs_sitehttps://www.libgit2.org
has_readmeyes
has_docs_diryes
has_descriptionyes

Security

Are visible security and supply-chain practices strong, without unresolved high-risk jurisdiction exposure?

64Moderate · 16% of overall
How it's scored
7.5/7.5Binary-Artifactsno binaries found in the repo
0/7.5Branch-Protectionno data
1.5/2.5CI-Tests7 out of 11 merged PRs checked by a CI test -- score normalized to 6
1.2/2.5CII-Best-Practicesbadge detected: Passing
4.5/7.5Code-ReviewFound 9/15 approved changesets -- score normalized to 6
2.5/2.5Contributorsproject has 45 contributing companies or organizations
10/10Dangerous-Workflowno dangerous workflow patterns detected
0/7.5Dependency-Update-Toolno update tool detected
5/5Fuzzingproject is fuzzed
2.2/2.5Licenselicense file detected
7.5/7.5Maintained30 commit(s) and 5 issue activity found in the last 90 days -- score normalized to 10
0/5Packagingno data
0/5Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
3.5/5SASTSAST tool detected but not run on all commits
5/5Security-Policysecurity policy file detected
0/7.5Signed-Releasesno data
0/7.5Token-Permissionsdetected GitHub workflow tokens with excessive permissions
1.5/7.5Vulnerabilities8 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated15
scorecard_versionv5.5.0
checks_inconclusive3
scorecard_aggregate6.1
Excluded from scoring (no data or not applicable): Branch-Protection, Packaging, Signed-Releases. Remaining weights renormalized.
How it's scored
20.2/35Direct dependencies free of known advisories1 affected: markdown-it 14.1.0 (moderate 5.3)
0/25Indirect dependencies free of known advisoriestransitive set not separable from development and test dependencies in this scope
35.3/40No advisories left outstanding1 advisory-carrying package(s) unaddressed past 90 days; oldest published 196 days ago
Inputs used
sourceosv
advisories4
affected_packages2
assessed_packages9
unassessed_packages0
affected_by_severityhigh 1, moderate 1
direct_affected_packages1
Excluded from scoring (no data or not applicable): Indirect dependencies free of known advisories. Remaining weights renormalized. Matched 9 resolved dependencies against OSV. This repository publishes no package the index resolves, so the repository dependency graph was assessed instead. That graph mixes development and test pins with shipped dependencies, so only the declared runtime dependencies are scored; transitive findings are reported as context and excluded from the score. Reachability is not analyzed.

AI Readiness

How well is the repo equipped to be developed and maintained with AI coding agents? Carries a deliberately small weight (4%): agent tooling is a real maintenance signal, but a repository with none can still reach 100/100.

60Moderate · 4% of overall
How it's scored
0/45Agent instructionsno CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
40/40Legible commit history84 of 100 human commits state their intent (structured subject or explanatory body)
Inputs used
has_llms_txtno
llms_txt_url
legible_history_share0.84
agent_instruction_files
agent_instruction_max_bytes
How it's scored
0/18One-command bootstrap
22/22Automated tests
0/11Lint / format config
11/11Static type checkingC (statically typed)
10/10Reproducible environmentdevcontainer, lockfile
2/10Demonstrated agent practice1 of the last 100 commits agent-authored or agent-credited
0/8Automated maintenanceno automated dependency updates observed
0/10OpenSSF Scorecard: Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
Inputs used
has_nixno
has_testsyes
lockfilespackage-lock.json
has_dockerfileno
typed_languageyes
bootstrap_files
has_devcontaineryes
has_linter_configno
typecheck_configs
agent_commit_share0.01
toolchain_manifests
dependency_bot_commit_share0
How it's scored
45/45Type-checkable codeC (statically typed)
54/55Manageable file sizes22/1,208 source files over 60KB
Inputs used
primary_languageC
largest_source_bytes591,749
source_files_sampled1,208
oversized_source_files22
How it's scored
0/40API schema (OpenAPI/GraphQL/proto)not applicable to this kind of software
0/20MCP servernot applicable to this kind of software
40/40Runnable examplesexamples
Inputs used
example_dirsexamples
has_mcp_signalno
api_schema_files
interfaces_expected_of
Excluded from scoring (no data or not applicable): API schema (OpenAPI/GraphQL/proto), MCP server. Remaining weights renormalized.

Key facts

10,574GitHub stars
100contributors
387commits, last 12 months
12days since last push
100releases
2bus factor
418open issues
npmpackage ecosystems

Data collection warnings

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token
  • npm package 'libgit2' points at a different repository (https://github.com/JerryYangJin/libgit2); excluded from ecosystem scoring

More detail

Star and fork history 0 ★ / 2,642 ⇿
0Stars
2,642Forks
49Releases

When each star and fork was added, collected from GitHub and bucketed by day. Cumulative growth sits directly above the daily additions it is made of, so the two read against each other: steady organic accretion looks nothing like an abrupt, short-lived burst. Where that difference is measurable, it is reported as growth authenticity.

Only the most recent history is shown — this repository exceeds the collection window, so the earliest history is not captured.

1,5001,7502,0002,2502,5002,7502,642112019-082023-022026-08
Major 1Minor 9Patch 38

Each point covers 7 days.

OpenSSF Scorecard 6.1 / 10
6.1aggregate

Independent, tool-agnostic security assessment from the open-source OpenSSF Scorecard. Each check rewards a security practice, not a specific vendor's tool. Checks Scorecard could not determine are marked n/a and excluded from the security score (never counted as zero).Scorecard v5.5.0 · 2026-08-28 00:11 UTC

10Binary-Artifactsno binaries found in the repo
n/aBranch-Protectioninternal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
6CI-Tests7 out of 11 merged PRs checked by a CI test -- score normalized to 6
5CII-Best-Practicesbadge detected: Passing
6Code-ReviewFound 9/15 approved changesets -- score normalized to 6
10Contributorsproject has 45 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
0Dependency-Update-Toolno update tool detected
10Fuzzingproject is fuzzed
9Licenselicense file detected
10Maintained30 commit(s) and 5 issue activity found in the last 90 days -- score normalized to 10
n/aPackagingpackaging workflow not detected
0Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
7SASTSAST tool detected but not run on all commits
10Security-Policysecurity policy file detected
n/aSigned-Releasesno releases found
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
2Vulnerabilities8 existing vulnerabilities detected
Direct dependencies 3
RegistryPackageVersion constraintManifest
npmcommander^12.1.0script/api-docs/package.json
npmmarkdown-it^14.1.0script/api-docs/package.json
npmminisearch^7.1.1script/api-docs/package.json
All dependencies 9

Full resolved dependency set from the GitHub dependency graph: 3 direct and 6 indirect (transitive) packages. The transitive closure is complete when the repository commits a lockfile.

RegistryPackageVersionRelation
npmcommander12.1.0direct
npmmarkdown-it14.1.0direct
npmminisearch7.1.1direct
npmargparse2.0.1indirect
npmentities4.5.0indirect
npmlinkify-it5.0.0indirect
npmmdurl2.0.0indirect
npmpunycode.js2.3.1indirect
npmuc.micro2.1.0indirect
Dependency advisories 2

This repository publishes no package the index resolves, so its own dependency graph was assessed — 9 packages, which also include development and test pins that never ship: 2 carry known advisories, of which 1 are direct.

PackageVersionRelationSeverityAdvisoriesFixed in
linkify-it5.0.0indirecthigh25.0.2
markdown-it14.1.0directmoderate214.2.0

An advisory means the version recorded in the dependency graph falls inside an advisory’s affected range. Reachability is not analysed, and the graph includes development and test pins — a finding may concern tooling rather than shipped software.

Raw JSON report machine-readable

Feedback

Spotted something off in this report, or have thoughts to share? Wrong measurements, missed tooling, ideas, questions — anything is welcome. Every message is read and gets a response.

The message is kept through sign-in.

Scores are signals, not warranties. They reflect publicly visible practices on GitHub — not a code audit, and not a security guarantee.

Missing data is excluded and weights renormalized, never scored as zero. Methodology is versioned and open: metrics v2.10.0, schema v0.34.0 — full methodology · metrics wiki.

How one result sits in the wider record: aggregate statisticsnpm.