{"id":18564,"url":"https://github.com/apache/casbin-pg-adapter","last_synced_at":"2026-07-12T06:20:34.407Z","repository":{"id":43406926,"uuid":"230539547","full_name":"casbin/casbin-pg-adapter","owner":"casbin","description":"A go-pg adapter for casbin","archived":false,"fork":false,"pushed_at":"2024-01-26T16:26:53.000Z","size":76,"stargazers_count":42,"open_issues_count":0,"forks_count":26,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-16T06:52:02.123Z","etag":null,"topics":["access-control","adapter","casbin","go","go-pg","golang","pg"],"latest_commit_sha":null,"homepage":"https://github.com/casbin/casbin","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/casbin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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},"funding":{"github":"casbin"}},"created_at":"2019-12-28T00:58:04.000Z","updated_at":"2025-05-24T02:09:28.000Z","dependencies_parsed_at":"2022-07-08T21:47:44.262Z","dependency_job_id":"295ce09c-e522-4d4b-8bd3-c64286b6d7d0","html_url":"https://github.com/casbin/casbin-pg-adapter","commit_stats":{"total_commits":44,"total_committers":20,"mean_commits":2.2,"dds":0.7954545454545454,"last_synced_commit":"1dea9515c42aa46b87c8ea21f5026baf0e318284"},"previous_names":["casbin/go-pg-adapter"],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/casbin/casbin-pg-adapter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casbin%2Fcasbin-pg-adapter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casbin%2Fcasbin-pg-adapter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casbin%2Fcasbin-pg-adapter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casbin%2Fcasbin-pg-adapter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/casbin","download_url":"https://codeload.github.com/casbin/casbin-pg-adapter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casbin%2Fcasbin-pg-adapter/sbom","scorecard":{"id":267033,"data":{"date":"2025-08-11","repo":{"name":"github.com/casbin/casbin-pg-adapter","commit":"1dea9515c42aa46b87c8ea21f5026baf0e318284"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.9,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":8,"reason":"Found 16/19 approved changesets -- score normalized to 8","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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.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":"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":"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":"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":"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/ci.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/casbin/casbin-pg-adapter/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/casbin/casbin-pg-adapter/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/casbin/casbin-pg-adapter/ci.yml/master?enable=pin","Warn: containerImage not pinned by hash: go/Dockerfile:1: pin your Docker image by updating golang:1.13-alpine to golang:1.13-alpine@sha256:e74b83b94d499cb34c7edf55fbdff9d3cfabd238a35f9cb1b59d0e74f50b1ddd","Warn: containerImage not pinned by hash: postgres/Dockerfile:1: pin your Docker image by updating postgres:12-alpine to postgres:12-alpine@sha256:7c8f4870583184ebadf7f17a6513620aac5f365a7938dc6a6911c1d5df2f481a","Warn: goCommand not pinned by hash: go/Dockerfile:9","Warn: npmCommand not pinned by hash: .github/workflows/ci.yml:46","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 goCommand dependencies pinned","Info:   0 out of   1 npmCommand dependencies pinned","Info:   0 out of   2 containerImage 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":"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":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2025-3764 / GHSA-6xp3-p59p-q4fj","Warn: Project is vulnerable to: GO-2024-3321 / GHSA-v778-237x-gjrc","Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77"],"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 28 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-17T12:21:13.658Z","repository_id":43406926,"created_at":"2025-08-17T12:21:13.658Z","updated_at":"2025-08-17T12:21:13.658Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279013963,"owners_count":26085429,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"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"}},"keywords":["access-control","adapter","casbin","go","go-pg","golang","pg"],"created_at":"2024-01-11T18:57:56.921Z","updated_at":"2026-03-25T06:20:40.587Z","avatar_url":"https://github.com/casbin.png","language":"Go","project_url":"https://opencollective.ecosyste.ms/api/v1/projects/18564","html_url":"https://opencollective.ecosyste.ms/projects/18564","collective":{"id":2617,"uuid":"bvrgbk35-7l4x96en-a3a6omew-a0jdyzn8","slug":"casbin","name":"Casbin Friends","description":"An authorization library that supports access control models like ACL, RBAC, ABAC for Golang, Java, C/C++, Node.js, Javascript, PHP, Python, .NET (C#), Delphi, Rust, Dart/Flutter and Elixir","website":"https://casbin.org/","github":"casbin","twitter":"casbinNews","repository_url":null,"social_links":[{"type":"WEBSITE","url":"https://casbin.org/"},{"type":"TWITTER","url":"https://twitter.com/casbinNews"},{"type":"GITHUB","url":"https://github.com/casbin"}],"currency":"USD","projects_count":139,"last_synced_at":"2026-07-28T06:15:17.729Z","created_at":"2024-01-10T13:17:52.609Z","updated_at":"2026-07-28T06:15:17.873Z","transactions_count":109,"balance":249.61000000000135,"account_type":"COLLECTIVE","owner":{"login":"casbin","name":"Casbin","uuid":"27810343","kind":"organization","description":"Casbin authorization library and the official middlewares","email":null,"website":"https://casbin.org","location":"San Francisco, CA","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/27810343?v=4","repositories_count":138,"last_synced_at":"2024-10-29T21:13:39.694Z","metadata":{"has_sponsors_listing":true,"funding":{"github":"casbin"}},"html_url":"https://github.com/casbin","funding_links":["https://github.com/sponsors/casbin"],"total_stars":31469,"followers":443,"following":0,"created_at":"2022-11-10T03:51:59.451Z","updated_at":"2024-10-29T21:13:39.694Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/casbin","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/casbin/repositories"},"last_project_activity_at":"2025-10-03T12:20:49.000Z","archived":false,"no_funding":false,"no_license":false,"host":"opensource","collective_created_at":"2019-05-12T09:38:55.674Z","collective_updated_at":"2025-12-28T08:35:59.699Z","html_url":"https://opencollective.com/casbin","icon_url":"https://images.opencollective.com/casbin/logo/40.png","total_donations":18778.98,"total_expenses":-19973.2,"current_balance":249.61000000000135,"api_url":"https://opencollective.ecosyste.ms/api/v1/collectives/casbin","url":"https://opencollective.ecosyste.ms/collectives/casbin","projects_url":"https://opencollective.ecosyste.ms/api/v1/collectives/casbin/projects"}}