Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-09-23 11:06 UTC

apache / casbin

Apache Casbin: an authorization library that supports access control models like ACL, RBAC, ABAC.

GoApache-2.0★ 20,401 stars⑂ 1,757 forkssince Apr 2017View on GitHub ↗

apache/casbin holds a health index of 86 out of 100, placing it in the Excellent band. It scores highest on Community & Adoption (92/100) and lowest on Security (40/100). It was last updated 12 days ago. A single contributor accounts for most of its recent work.

86
overall / 100
Excellent

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.

86
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 72 is calibrated to 86 on the published index scale (record calibration 2026-08-02).

Ownership

The Apache Software FoundationOrganization · verified domain
24,350 followers3,172 public repossince Jan 2009

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

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publish
Gogithub.com/casbin/casbin/v3points to another repo — not scoredv3.10.0-36241 days ago

Metrics by category

Vitality

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

81Excellent · 21% of overall
How it's scored
28.8/36Push recencylast push 12 days ago
15.9/36Commit cadence23/52 weeks with commits
16.6/18Commit volume70 commits in the last year
0/10OpenSSF Scorecard: Maintainedno data
Inputs used
commits_last_year70
human_commit_share1
days_since_last_push12
active_weeks_last_year23

Release discipline

100Exceptional
How it's scored
27/27Ships releases100 releases published
36/36Release recencylatest release 34 days ago
27/27Release cadencea release every ~24.8 days
0/10OpenSSF Scorecard: Signed-Releasesno data
Inputs used
releases_count100
latest_release_tagv3.11.0
releases_from_tagsno
days_since_latest_release34
mean_days_between_releases24.8

Community & Adoption

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

92Excellent · 17% of overall
How it's scored
60/60Stars20,401 stars
25/25Forks1,757 forks
13.2/15Watchers239 watchers
Inputs used
forks1,757
stars20,401
watchers239
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history

Community health

85Excellent
How it's scored
22.5/22.5README
22.5/22.5Licenserecognized license (Apache-2.0)
18/18CONTRIBUTING guide
13.5/13.5Code of conduct
0/7.2Issue template
0/6.3PR template
Inputs used
has_readmeyes
has_licenseyes
readme_badges6
has_contributingyes
has_issue_templateno
has_code_of_conductyes
readme_badge_servicescoveralls.io, github.com, opencollective.com, shields.io
has_pull_request_templateno

Sustainability & Governance

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

67Good · 23% of overall
How it's scored
9/54Bus factor1 contributor(s) cover half of all commits
7.4/22.5Commit distributiontop contributor authored 67% of commits
13.5/13.5Contributor breadth99 contributors
0/10OpenSSF Scorecard: Contributorsno data
Inputs used
bus_factor1
contributors_sampled99
top_contributor_share0.67
How it's scored
40.4/42Issue resolution96% of issues closed
19.6/30PR acceptance439/672 decided PRs merged
3.7/13Newcomer PR acceptance2/7 first-time contributors' PRs merged in 30d
0/15OpenSSF Scorecard: Code-Reviewno data
Inputs used
merged_prs439
open_issues37
closed_issues906
prs_merged_7d0
prs_decided_7d1
prs_merged_30d2
prs_decided_30d7
issue_closed_ratio0.961
closed_unmerged_prs233
first_time_authors_30d5
first_time_prs_merged_30d2
first_time_prs_decided_30d7
How it's scored
30/30Ownership backingorganization-owned
20/20Verified domain
25/25Owner reach24,350 followers of apache
25/25Track record3,172 public repos, account ~17 yr old
Inputs used
followers24,350
owner_typeOrganization
is_verifiedyes
owner_loginapache
public_repos3,172
account_age_days6,457

Engineering Quality

Are baseline engineering and documentation practices in place?

78Good · 19% of overall
How it's scored
24/24CI workflows5 workflow(s)
24/24Tests present
16/16Linter config.golangci.yml
0/9.6Pre-commit hooks
0/6.4.editorconfig
0/20OpenSSF Scorecard: CI-Testsno data
Inputs used
has_ciyes
has_testsyes
has_editorconfigno
has_linter_configyes
has_precommit_configno
How it's scored
30/30README
0/25Documentation directory
15/15Documentation / homepage sitehttps://casbin.apache.org/
10/10Repository description
10/10Topics18 topics
10/10Wiki
Inputs used
topicscasbin, access-control, authorization, rbac, abac, acl, auth, authz, permission, authentication, authn, iam, sso, cas, oauth, oidc, saml, apache
has_wikiyes
homepagehttps://casbin.apache.org/
docs_sitehttps://casbin.apache.org/
has_readmeyes
has_docs_dirno
has_descriptionyes

Security

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

40Weak · 16% of overall
How it's scored
0/30Security policy (SECURITY.md)
0/25Dependabot config
25/25Dependency lockfilesgo.sum
0/20CodeQL workflow
Inputs used
sourcefile_signals
lockfilesgo.sum
manifestsgo.mod
has_codeql_workflowno
has_security_policyno
has_dependabot_configno

Dependency advisories

100Exceptional
How it's scored
35/35Direct dependencies free of known advisoriesno direct dependency carries a known advisory
0/25Indirect dependencies free of known advisoriestransitive set not separable from development and test dependencies in this scope
0/40No advisories left outstandingno advisory carries a publication date
Inputs used
sourceosv
advisories0
affected_packages0
assessed_packages3
unassessed_packages0
affected_by_severitynone
direct_affected_packages0
Excluded from scoring (no data or not applicable): Indirect dependencies free of known advisories, No advisories left outstanding. Remaining weights renormalized. Matched 3 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.

74Good · 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 history100 of 100 human commits state their intent (structured subject or explanatory body)
Inputs used
has_llms_txtno
llms_txt_url
legible_history_share1
agent_instruction_files
agent_instruction_max_bytes
How it's scored
18/18One-command bootstrapMakefile
22/22Automated tests
11/11Lint / format config.golangci.yml
11/11Static type checkingGo (statically typed)
10/10Reproducible environmentlockfile
0/10Demonstrated agent practiceno agent-authored commits among the last 100
0/8Automated maintenanceno automated dependency updates observed
0/10OpenSSF Scorecard: Pinned-Dependenciesno data
Inputs used
has_nixno
has_testsyes
lockfilesgo.sum
has_dockerfileno
typed_languageyes
bootstrap_filesMakefile
has_devcontainerno
has_linter_configyes
typecheck_configs
agent_commit_share0
toolchain_manifestsgo.mod
dependency_bot_commit_share0
How it's scored
45/45Type-checkable codeGo (statically typed)
55/55Manageable file sizes0/117 source files over 60KB
Inputs used
primary_languageGo
largest_source_bytes37,688
source_files_sampled117
oversized_source_files0
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

20,401GitHub stars
99contributors
70commits, last 12 months
12days since last push
100releases
1bus factor
37open issues
Gopackage ecosystems

Data collection warnings

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token
  • go package 'github.com/casbin/casbin/v3' points at a different repository (https://github.com/casbin/casbin); excluded from ecosystem scoring
  • OpenSSF Scorecard did not return a usable result (exit code 0; Skipping github.com/apache/casbin: run: RepoClient.LocalPath: error during tarballHandler.setup: internal error: handler.httpClient.Do: Get "https://codeload.github.com/apache/casbin/legacy.tar.gz/refs/heads/master": internal error: innerTransport.RoundTrip: internal error: innerTransport.RoundTrip: error in HTTP: dial tcp: lookup codeload.github.com on 127.0.0.11:53: server misbehaving); skipping Scorecard checks

More detail

Star and fork history 0 ★ / 1,757 ⇿
0Stars
1,757Forks
100Releases

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.

6008001,0001,2001,4001,6001,8001,757142021-012023-112026-09
Major 1Minor 75Patch 17

Each point covers 6 days.

Direct dependencies 3
RegistryPackageVersion constraintManifest
Gogithub.com/bmatcuk/doublestar/v4v4.6.1go.mod
Gogithub.com/casbin/govaluatev1.3.0go.mod
Gogithub.com/google/uuidv1.6.0go.mod
All dependencies 3

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

RegistryPackageVersionRelation
Gogithub.com/bmatcuk/doublestar/v4v4.6.1direct
Gogithub.com/casbin/govaluatev1.3.0direct
Gogithub.com/google/uuidv1.6.0direct
Dependency advisories 0

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

No known advisories affect the assessed dependencies.

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 statisticsGo.