Public record
Software health reportschema 0.31.0 · metrics 2.10.0 · 2026-08-15 14:45 UTC

apache / casbin-Casbin.NET

An authorization library that supports access control models like ACL, RBAC, ABAC in .NET (C#)

C#Apache-2.0★ 1,330 stars⑂ 129 forkssince May 2019View on GitHub ↗

apache/casbin-Casbin.NET holds a health index of 78 out of 100, placing it in the Good band. It scores highest on Vitality (75/100) and lowest on AI Readiness (52/100). It was last updated today. A single contributor accounts for most of its recent work.

78
overall / 100
Good

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.

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

Ownership

23,808 followers3,153 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
NuGetCasbin.NETpoints to another repo — not scored1.12.2-311617 days ago

Metrics by category

Vitality

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

75Good · 21% of overall
How it's scored
36/36Push recencylast push 0 days ago
5.5/36Commit cadence8/52 weeks with commits
10.8/18Commit volume15 commits in the last year
7/10OpenSSF Scorecard: Maintained8 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 7
Inputs used
commits_last_year15
human_commit_share1
days_since_last_push0
active_weeks_last_year8

Release discipline

100Exceptional
How it's scored
27/27Ships releases71 releases published
36/36Release recencylatest release 60 days ago
27/27Release cadencea release every ~29.2 days
0/10OpenSSF Scorecard: Signed-Releasesno data
Inputs used
releases_count71
latest_release_tagv2.21.2
releases_from_tagsno
days_since_latest_release60
mean_days_between_releases29.2
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?

71Good · 17% of overall
How it's scored
50.7/60Stars1,330 stars
17.6/25Forks129 forks
7.8/15Watchers26 watchers
Inputs used
forks129
stars1,330
watchers26
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history
How it's scored
22.5/22.5README
22.5/22.5Licenserecognized license (Apache-2.0)
0/18CONTRIBUTING guide
13.5/13.5Code of conduct
0/7.2Issue template
0/6.3PR template
Inputs used
has_readmeyes
has_licenseyes
readme_badges7
has_contributingno
has_issue_templateno
has_code_of_conductyes
readme_badge_servicescoveralls.io, dev.azure.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?

75Good · 23% of overall
How it's scored
9/54Bus factor1 contributor(s) cover half of all commits
10.4/22.5Commit distributiontop contributor authored 54% of commits
13.5/13.5Contributor breadth23 contributors
10/10OpenSSF Scorecard: Contributorsproject has 22 contributing companies or organizations
Inputs used
bus_factor1
contributors_sampled23
top_contributor_share0.537
How it's scored
40.6/42Issue resolution97% of issues closed
26.3/30PR acceptance169/193 decided PRs merged
13/13Newcomer PR acceptance1/1 first-time contributors' PRs merged in 30d
7.5/15OpenSSF Scorecard: Code-ReviewFound 14/26 approved changesets -- score normalized to 5
Inputs used
merged_prs169
open_issues7
closed_issues198
prs_merged_7d1
prs_decided_7d1
prs_merged_30d1
prs_decided_30d1
issue_closed_ratio0.966
closed_unmerged_prs24
first_time_authors_30d1
first_time_prs_merged_30d1
first_time_prs_decided_30d1
How it's scored
30/30Ownership backingorganization-owned
0/20Verified domainverified-domain status not read for this organization
25/25Owner reach23,808 followers of apache
25/25Track record3,153 public repos, account ~17 yr old
Inputs used
followers23,808
owner_typeOrganization
is_verified
owner_loginapache
public_repos3,153
account_age_days6,418
Excluded from scoring (no data or not applicable): Verified domain. Remaining weights renormalized.

Engineering Quality

Are baseline engineering and documentation practices in place?

53Moderate · 19% of overall
How it's scored
24/24CI workflows3 workflow(s)
0/24Tests present
0/16Linter config
0/9.6Pre-commit hooks
6.4/6.4.editorconfig
8/20OpenSSF Scorecard: CI-Tests8 out of 19 merged PRs checked by a CI test -- score normalized to 4
Inputs used
has_ciyes
has_testsno
has_editorconfigyes
has_linter_configno
has_precommit_configno
How it's scored
30/30README
0/25Documentation directory
15/15Documentation / homepage sitehttps://casbin.org
10/10Repository description
10/10Topics10 topics
10/10Wiki
Inputs used
topicscasbin, access-control, authorization, rbac, abac, acl, auth, permission, dotnet, authz
has_wikiyes
homepagehttps://casbin.org
docs_sitehttps://casbin.org
has_readmeyes
has_docs_dirno
has_descriptionyes

Security

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

61Moderate · 16% of overall
How it's scored
7.5/7.5Binary-Artifactsno binaries found in the repo
0/7.5Branch-Protectionbranch protection not enabled on development/release branches
1/2.5CI-Tests8 out of 19 merged PRs checked by a CI test -- score normalized to 4
0/2.5CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
3.8/7.5Code-ReviewFound 14/26 approved changesets -- score normalized to 5
2.5/2.5Contributorsproject has 22 contributing companies or organizations
10/10Dangerous-Workflowno dangerous workflow patterns detected
0/7.5Dependency-Update-Toolno update tool detected
0/5Fuzzingproject is not fuzzed
2.5/2.5Licenselicense file detected
5.2/7.5Maintained8 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 7
5/5Packagingpackaging workflow detected
0/5Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
0/5SASTSAST tool is not run on all commits -- score normalized to 0
5/5Security-Policysecurity policy file detected
0/7.5Signed-Releasesno data
0/7.5Token-Permissionsdetected GitHub workflow tokens with excessive permissions
7.5/7.5Vulnerabilities0 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated17
scorecard_versionv5.5.0
checks_inconclusive1
scorecard_aggregate5.1
Excluded from scoring (no data or not applicable): Signed-Releases. Remaining weights renormalized.

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_packages27
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 27 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.

52Moderate · 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
12.6/18One-command bootstrapCasbin.Benchmark/Casbin.Benchmark.csproj, Casbin.UnitTests/Casbin.UnitTests.csproj, Casbin/Casbin.csproj (toolchain convention, no task runner)
0/22Automated tests
0/11Lint / format config
11/11Static type checkingC# (statically typed)
0/10Reproducible environment
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_testsno
lockfiles
has_dockerfileno
typed_languageyes
bootstrap_files
has_devcontainerno
has_linter_configno
typecheck_configs
agent_commit_share0.01
toolchain_manifestsCasbin.Benchmark/Casbin.Benchmark.csproj, Casbin.UnitTests/Casbin.UnitTests.csproj, Casbin/Casbin.csproj
dependency_bot_commit_share0
How it's scored
45/45Type-checkable codeC# (statically typed)
54.4/55Manageable file sizes2/173 source files over 60KB
Inputs used
primary_languageC#
largest_source_bytes79,921
source_files_sampled173
oversized_source_files2
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

1,330GitHub stars
23contributors
15commits, last 12 months
0days since last push
71releases
1bus factor
7open issues
NuGetpackage ecosystems

Data collection warnings

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

More detail

Star and fork history 0 ★ / 129 ⇿
0Stars
129Forks
71Releases

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.

025507510012515012942019-062023-012026-08
Major 1Minor 34Patch 31

Each point covers 7 days.

OpenSSF Scorecard 5.1 / 10
5.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-15 14:44 UTC

10Binary-Artifactsno binaries found in the repo
0Branch-Protectionbranch protection not enabled on development/release branches
4CI-Tests8 out of 19 merged PRs checked by a CI test -- score normalized to 4
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
5Code-ReviewFound 14/26 approved changesets -- score normalized to 5
10Contributorsproject has 22 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
0Dependency-Update-Toolno update tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
7Maintained8 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 7
10Packagingpackaging workflow detected
0Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
0SASTSAST tool is not run on all commits -- score normalized to 0
10Security-Policysecurity policy file detected
n/aSigned-Releasesno releases found
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
10Vulnerabilities0 existing vulnerabilities detected
Direct dependencies 58
RegistryPackageVersion constraintManifest
NuGetBenchmarkDotNet0.13.5Casbin.Benchmark/Casbin.Benchmark.csproj
NuGetMicrosoft.NET.Test.Sdk17.1.0Casbin.UnitTests/Casbin.UnitTests.csproj
NuGetxunit2.4.1Casbin.UnitTests/Casbin.UnitTests.csproj
NuGetxunit.runner.visualstudio2.4.3Casbin.UnitTests/Casbin.UnitTests.csproj
NuGetcoverlet.collector6.0.2Casbin.UnitTests/Casbin.UnitTests.csproj
NuGetDotNet.Glob3.1.3Casbin/Casbin.csproj
NuGetSystem.Memory4.5.5Casbin/Casbin.csproj
NuGetJetBrains.Annotations2023.3.0Casbin/Casbin.csproj
NuGetMicrosoft.SourceLink.Github8.0.0Casbin/Casbin.csproj
NuGetCsvHelper32.0.3Casbin/Casbin.csproj
NuGetDynamicExpresso.Core2.16.1Casbin/Casbin.csproj
NuGetMicrosoft.Extensions.Configuration.Ini9.0.0-preview.4.24266.19Casbin/Casbin.csproj
NuGetMicrosoft.Extensions.Logging9.0.0-preview.4.24266.19Casbin/Casbin.csproj
NuGetCsvHelper32.0.3Casbin/Casbin.csproj
NuGetDynamicExpresso.Core2.16.1Casbin/Casbin.csproj
NuGetMicrosoft.Extensions.Configuration.Ini8.0.0Casbin/Casbin.csproj
NuGetMicrosoft.Extensions.Logging8.0.0Casbin/Casbin.csproj
NuGetCsvHelper32.0.3Casbin/Casbin.csproj
NuGetDynamicExpresso.Core2.16.1Casbin/Casbin.csproj
NuGetMicrosoft.Extensions.Configuration.Ini7.0.0Casbin/Casbin.csproj
NuGetMicrosoft.Extensions.Logging7.0.0Casbin/Casbin.csproj
NuGetCsvHelper32.0.3Casbin/Casbin.csproj
NuGetDynamicExpresso.Core2.16.1Casbin/Casbin.csproj
NuGetMicrosoft.Extensions.Configuration.Ini6.0.0Casbin/Casbin.csproj
NuGetMicrosoft.Extensions.Logging6.0.0Casbin/Casbin.csproj
NuGetCsvHelper32.0.3Casbin/Casbin.csproj
NuGetDynamicExpresso.Core2.16.1Casbin/Casbin.csproj
NuGetMicrosoft.Extensions.Configuration.Ini5.0.0Casbin/Casbin.csproj
NuGetMicrosoft.Extensions.Logging5.0.0Casbin/Casbin.csproj
NuGetCsvHelper32.0.3Casbin/Casbin.csproj
NuGetDynamicExpresso.Core2.16.1Casbin/Casbin.csproj
NuGetMicrosoft.Extensions.Configuration.Ini3.1.32Casbin/Casbin.csproj
NuGetMicrosoft.Extensions.Logging3.1.32Casbin/Casbin.csproj
NuGetIsExternalInit1.0.3Casbin/Casbin.csproj
NuGetCsvHelper32.0.3Casbin/Casbin.csproj
NuGetDynamicExpresso.Core2.16.1Casbin/Casbin.csproj
NuGetMicrosoft.Extensions.Configuration.Ini6.0.0Casbin/Casbin.csproj
NuGetMicrosoft.Extensions.Logging6.0.0Casbin/Casbin.csproj
NuGetIsExternalInit1.0.3Casbin/Casbin.csproj
NuGetCsvHelper32.0.3Casbin/Casbin.csproj
NuGetDynamicExpresso.Core2.16.1Casbin/Casbin.csproj
NuGetMicrosoft.Extensions.Configuration.Ini6.0.0Casbin/Casbin.csproj
NuGetMicrosoft.Extensions.Logging6.0.0Casbin/Casbin.csproj
NuGetIsExternalInit1.0.3Casbin/Casbin.csproj
NuGetCsvHelper32.0.3Casbin/Casbin.csproj
NuGetDynamicExpresso.Core2.16.1Casbin/Casbin.csproj
NuGetMicrosoft.Extensions.Configuration.Ini6.0.0Casbin/Casbin.csproj
NuGetMicrosoft.Extensions.Logging6.0.0Casbin/Casbin.csproj
NuGetIsExternalInit1.0.3Casbin/Casbin.csproj
NuGetCsvHelper32.0.3Casbin/Casbin.csproj
NuGetDynamicExpresso.Core2.16.1Casbin/Casbin.csproj
NuGetMicrosoft.Extensions.Configuration.Ini6.0.0Casbin/Casbin.csproj
NuGetMicrosoft.Extensions.Logging6.0.0Casbin/Casbin.csproj
NuGetIsExternalInit1.0.3Casbin/Casbin.csproj
NuGetCsvHelper30.0.1Casbin/Casbin.csproj
NuGetDynamicExpresso.Core2.10.0Casbin/Casbin.csproj
NuGetSystem.ValueTuple4.5.0Casbin/Casbin.csproj
NuGetIsExternalInit1.0.3Casbin/Casbin.csproj
All dependencies 27

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

RegistryPackageVersionRelation
NuGetBenchmarkDotNet0.13.5direct
NuGetcoverlet.collector6.0.2direct
NuGetCsvHelper30.0.1direct
NuGetCsvHelper32.0.3direct
NuGetDotNet.Glob3.1.3direct
NuGetDynamicExpresso.Core2.10.0direct
NuGetDynamicExpresso.Core2.16.1direct
NuGetIsExternalInit1.0.3direct
NuGetJetBrains.Annotations2023.3.0direct
NuGetMicrosoft.Extensions.Configuration.Ini3.1.32direct
NuGetMicrosoft.Extensions.Configuration.Ini5.0.0direct
NuGetMicrosoft.Extensions.Configuration.Ini6.0.0direct
NuGetMicrosoft.Extensions.Configuration.Ini7.0.0direct
NuGetMicrosoft.Extensions.Configuration.Ini8.0.0direct
NuGetMicrosoft.Extensions.Configuration.Ini9.0.0-preview.4.24266.19direct
NuGetMicrosoft.Extensions.Logging3.1.32direct
NuGetMicrosoft.Extensions.Logging5.0.0direct
NuGetMicrosoft.Extensions.Logging6.0.0direct
NuGetMicrosoft.Extensions.Logging7.0.0direct
NuGetMicrosoft.Extensions.Logging8.0.0direct
NuGetMicrosoft.Extensions.Logging9.0.0-preview.4.24266.19direct
NuGetMicrosoft.NET.Test.Sdk17.1.0direct
NuGetMicrosoft.SourceLink.GitHub8.0.0direct
NuGetSystem.Memory4.5.5direct
NuGetSystem.ValueTuple4.5.0direct
NuGetxunit2.4.1direct
NuGetxunit.runner.visualstudio2.4.3direct
Dependency advisories 0

This repository publishes no package the index resolves, so its own dependency graph was assessed — 27 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.31.0 — full methodology · metrics wiki.

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