{"id":12507377,"name":"github.com/casbin/Casbin","ecosystem":"go","description":"","homepage":"https://github.com/casbin/Casbin","licenses":"Apache-2.0","normalized_licenses":["Apache-2.0"],"repository_url":"https://github.com/casbin/Casbin","keywords_array":[],"namespace":"github.com/casbin","versions_count":30,"first_release_published_at":"2017-04-13T13:13:06.000Z","latest_release_published_at":"2019-07-04T23:54:14.000Z","latest_release_number":"v1.9.1","last_synced_at":"2026-07-25T07:31:03.867Z","created_at":"2025-11-21T10:51:37.546Z","updated_at":"2026-10-07T23:34:44.885Z","registry_url":"https://pkg.go.dev/github.com/casbin/Casbin","install_command":"go get github.com/casbin/Casbin","documentation_url":"https://pkg.go.dev/github.com/casbin/Casbin#section-documentation","metadata":{},"repo_metadata":{"id":37358292,"uuid":"87617508","full_name":"apache/casbin","owner":"apache","description":"Apache Casbin: an authorization library that supports access control models like ACL, RBAC, ABAC.","archived":false,"fork":false,"pushed_at":"2026-10-05T03:45:26.000Z","size":6734,"stargazers_count":20425,"open_issues_count":40,"forks_count":1761,"subscribers_count":238,"default_branch":"master","last_synced_at":"2026-10-05T04:54:37.232Z","etag":null,"topics":["abac","access-control","acl","apache","auth","authentication","authn","authorization","authz","cas","casbin","iam","oauth","oidc","permission","rbac","saml","sso"],"latest_commit_sha":null,"homepage":"https://casbin.apache.org/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apache.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":"NOTICE","maintainers":null,"copyright":null,"agents":null,"claude":null,"gemini":null,"cursor":null,"copilot":null,"dco":null,"cla":null,"disclosure":null},"funding":{"github":"casbin"}},"created_at":"2017-04-08T07:51:23.000Z","updated_at":"2026-10-05T04:29:59.000Z","dependencies_parsed_at":"2026-09-11T19:43:26.510Z","dependency_job_id":null,"html_url":"https://github.com/apache/casbin","commit_stats":{"total_commits":922,"total_committers":153,"mean_commits":6.026143790849673,"dds":"0.43058568329718006","last_synced_commit":"d4fc6976a9111013a372c6f60953ec92b1d4cf28"},"previous_names":["hsluoyz/casbin","apache/casbin","casbin/casbin"],"tags_count":339,"template":false,"template_full_name":null,"purl":"pkg:github/apache/casbin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fcasbin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fcasbin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fcasbin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fcasbin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apache","download_url":"https://codeload.github.com/apache/casbin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fcasbin/sbom","scorecard":{"id":24297,"data":{"date":"2025-08-11","repo":{"name":"github.com/casbin/casbin","commit":"e92c4ca95f76fe025a047749cef38d472b435ff8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.2,"checks":[{"name":"Maintained","score":10,"reason":"14 commit(s) and 17 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":9,"reason":"Found 27/30 approved changesets -- score normalized to 9","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: topLevel 'contents' permission set to 'write': .github/workflows/PerformancePush.yml:10","Warn: topLevel 'deployments' permission set to 'write': .github/workflows/PerformancePush.yml:8","Warn: no topLevel permission defined: .github/workflows/default.yml:1","Warn: no topLevel permission defined: .github/workflows/golangci-lint.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/PerformancePush.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/casbin/casbin/PerformancePush.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/PerformancePush.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/casbin/casbin/PerformancePush.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/PerformancePush.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/casbin/casbin/PerformancePush.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/default.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/casbin/casbin/default.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/default.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/casbin/casbin/default.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/default.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/casbin/casbin/default.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/default.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/casbin/casbin/default.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/default.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/casbin/casbin/default.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/default.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/casbin/casbin/default.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/golangci-lint.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/casbin/casbin/golangci-lint.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/golangci-lint.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/casbin/casbin/golangci-lint.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/golangci-lint.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/casbin/casbin/golangci-lint.yml/master?enable=pin","Info:   0 out of  10 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 27 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-14T17:29:54.151Z","repository_id":37358292,"created_at":"2025-08-14T17:29:54.151Z","updated_at":"2025-08-14T17:29:54.151Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":343170754,"owners_count":38037369,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-05T02:00:06.766Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"repo_metadata_updated_at":"2026-10-07T23:34:44.884Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":5.42533117278105,"dependent_packages_count":5.083811591022283,"stargazers_count":null,"forks_count":null,"docker_downloads_count":null,"average":5.254571381901666},"purl":"pkg:golang/github.com/casbin/Casbin","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/casbin/Casbin","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/casbin/Casbin","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/casbin/Casbin/dependencies","status":null,"funding_links":["https://github.com/sponsors/casbin"],"critical":null,"issue_metadata":{"last_synced_at":"2026-10-07T10:31:19.686Z","issues_count":19,"pull_requests_count":53,"avg_time_to_close_issue":10791751.785714285,"avg_time_to_close_pull_request":8996102.588235294,"issues_closed_count":14,"pull_requests_closed_count":51,"pull_request_authors_count":25,"issue_authors_count":14,"avg_comments_per_issue":1.5789473684210527,"avg_comments_per_pull_request":1.7169811320754718,"merged_pull_requests_count":14,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":17,"past_year_pull_requests_count":53,"past_year_avg_time_to_close_issue":10864830.583333334,"past_year_avg_time_to_close_pull_request":8996102.588235294,"past_year_issues_closed_count":12,"past_year_pull_requests_closed_count":51,"past_year_pull_request_authors_count":25,"past_year_issue_authors_count":12,"past_year_avg_comments_per_issue":1.352941176470588,"past_year_avg_comments_per_pull_request":1.7169811320754718,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":14,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fcasbin/issues","maintainers":[{"login":"hsluoyz","count":5,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/hsluoyz"},{"login":"tisonkun","count":3,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/tisonkun"},{"login":"nodece","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/nodece"}],"active_maintainers":[{"login":"hsluoyz","count":5,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/hsluoyz"},{"login":"tisonkun","count":3,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/tisonkun"},{"login":"nodece","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/nodece"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fcasbin%2FCasbin/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fcasbin%2FCasbin/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fcasbin%2FCasbin/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fcasbin%2FCasbin/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fcasbin%2FCasbin/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fcasbin%2FCasbin/codemeta","maintainers":[]}