{"id":855778,"name":"@casbin/hapi-authz","ecosystem":"npm","description":"Basic authorization middleware using casbin","homepage":null,"licenses":"Apache-2.0","normalized_licenses":["Apache-2.0"],"repository_url":"https://github.com/node-casbin/hapi-authz","keywords_array":[],"namespace":"casbin","versions_count":2,"first_release_published_at":"2020-10-26T03:56:46.151Z","latest_release_published_at":"2020-10-26T04:03:11.697Z","latest_release_number":"1.0.1","last_synced_at":"2026-05-31T06:32:10.782Z","created_at":"2022-04-07T14:42:25.674Z","updated_at":"2026-05-31T06:32:10.782Z","registry_url":"https://www.npmjs.com/package/@casbin/hapi-authz","install_command":"npm install @casbin/hapi-authz","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.0.1"}},"repo_metadata":{"id":42871568,"uuid":"248787987","full_name":"node-casbin/hapi-authz","owner":"node-casbin","description":"hapi-authz is an authorization middleware for Hapi.js based on Casbin","archived":false,"fork":false,"pushed_at":"2023-08-08T05:46:21.000Z","size":194,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-28T09:20:41.125Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://casbin.org/","language":"TypeScript","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/node-casbin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2020-03-20T15:22:41.000Z","updated_at":"2024-03-13T14:35:29.000Z","dependencies_parsed_at":"2024-11-20T21:31:07.809Z","dependency_job_id":null,"html_url":"https://github.com/node-casbin/hapi-authz","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/node-casbin/hapi-authz","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-casbin%2Fhapi-authz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-casbin%2Fhapi-authz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-casbin%2Fhapi-authz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-casbin%2Fhapi-authz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/node-casbin","download_url":"https://codeload.github.com/node-casbin/hapi-authz/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-casbin%2Fhapi-authz/sbom","scorecard":{"id":691809,"data":{"date":"2025-08-11","repo":{"name":"github.com/node-casbin/hapi-authz","commit":"5769e6f89540954576a326be5dd75e20b4d8f7d6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.4,"checks":[{"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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"Code-Review","score":5,"reason":"Found 5/10 approved changesets -- score normalized to 5","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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"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":"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":"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":"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.txt:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE.txt: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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 19 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"}},{"name":"Vulnerabilities","score":0,"reason":"13 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-78xj-cgh5-2h22","Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T02:29:05.236Z","repository_id":42871568,"created_at":"2025-08-22T02:29:05.236Z","updated_at":"2025-08-22T02:29:05.236Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277346345,"owners_count":25802835,"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-09-28T02:00:08.834Z","response_time":79,"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"},"owner_record":{"login":"node-casbin","name":"node-casbin","uuid":"42109227","kind":"organization","description":"node-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/42109227?v=4","repositories_count":26,"last_synced_at":"2024-04-21T19:09:25.695Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/node-casbin","funding_links":[],"total_stars":533,"followers":8,"following":0,"created_at":"2022-11-12T22:10:27.850Z","updated_at":"2024-04-21T19:09:36.157Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/node-casbin","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/node-casbin/repositories"},"tags":[{"name":"1.0.1","sha":"fba3fd4cf918cf1ddd8ed1c9eb98d286cbe75cbd","kind":"commit","published_at":"2020-10-28T00:34:57.000Z","download_url":"https://codeload.github.com/node-casbin/hapi-authz/tar.gz/1.0.1","html_url":"https://github.com/node-casbin/hapi-authz/releases/tag/1.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/node-casbin/hapi-authz@1.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-casbin%2Fhapi-authz/tags/1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-casbin%2Fhapi-authz/tags/1.0.1/manifests"},{"name":"v1.0.0","sha":"4e6b35208b3c495c768d3743d436280f9e959271","kind":"commit","published_at":"2020-10-26T04:06:35.000Z","download_url":"https://codeload.github.com/node-casbin/hapi-authz/tar.gz/v1.0.0","html_url":"https://github.com/node-casbin/hapi-authz/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/node-casbin/hapi-authz@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-casbin%2Fhapi-authz/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-casbin%2Fhapi-authz/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2026-02-23T15:36:52.572Z","dependent_packages_count":1,"downloads":14,"downloads_period":"last-month","dependent_repos_count":0,"rankings":{"downloads":45.76322889354142,"dependent_repos_count":25.32799796580169,"dependent_packages_count":32.89382871786066,"stargazers_count":null,"forks_count":null,"average":34.66168519240126},"purl":"pkg:npm/%40casbin/hapi-authz","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@casbin/hapi-authz","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@casbin/hapi-authz","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@casbin/hapi-authz/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-28T03:43:42.784Z","issues_count":3,"pull_requests_count":12,"avg_time_to_close_issue":259350.33333333334,"avg_time_to_close_pull_request":733811.5,"issues_closed_count":3,"pull_requests_closed_count":12,"pull_request_authors_count":4,"issue_authors_count":2,"avg_comments_per_issue":6.0,"avg_comments_per_pull_request":1.3333333333333333,"merged_pull_requests_count":11,"bot_issues_count":0,"bot_pull_requests_count":6,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-casbin%2Fhapi-authz/issues","maintainers":[{"login":"stu01509","count":3,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/stu01509"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@casbin%2Fhapi-authz/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@casbin%2Fhapi-authz/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@casbin%2Fhapi-authz/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@casbin%2Fhapi-authz/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@casbin%2Fhapi-authz/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@casbin%2Fhapi-authz/codemeta","maintainers":[{"uuid":"hsluoyz","login":"hsluoyz","name":null,"email":"hsluoyz@gmail.com","url":null,"packages_count":41,"html_url":"https://www.npmjs.com/~hsluoyz","role":null,"created_at":"2022-11-15T22:35:50.810Z","updated_at":"2022-11-15T22:35:50.810Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/hsluoyz/packages"}]}