{"id":6495974,"name":"@zenstackhq/openapi","ecosystem":"npm","description":"ZenStack plugin and runtime supporting OpenAPI","homepage":"https://github.com/zenstackhq/zenstack#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/zenstackhq/zenstack","keywords_array":["openapi"],"namespace":"zenstackhq","versions_count":200,"first_release_published_at":"2023-03-09T06:48:32.162Z","latest_release_published_at":"2025-12-29T12:41:50.327Z","latest_release_number":"2.22.2","last_synced_at":"2026-04-06T22:01:56.253Z","created_at":"2023-03-09T08:17:04.183Z","updated_at":"2026-04-06T22:01:56.253Z","registry_url":"https://www.npmjs.com/package/@zenstackhq/openapi","install_command":"npm install @zenstackhq/openapi","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"canary":"1.0.0-alpha.88","dev":"1.0.0-alpha.95","next":"2.0.0","release-v1":"1.12.5","latest":"2.22.1","release-v2":"2.22.2"}},"repo_metadata":{"id":62625485,"uuid":"539768967","full_name":"zenstackhq/zenstack","owner":"zenstackhq","description":"Full-Stack TypeScript toolkit that enhances Prisma ORM with flexible Authorization layer for RBAC/ABAC/PBAC/ReBAC, offering auto-generated type-safe APIs and frontend hooks.","archived":false,"fork":false,"pushed_at":"2025-10-15T17:59:15.000Z","size":9036,"stargazers_count":2687,"open_issues_count":169,"forks_count":125,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-10-24T20:52:57.345Z","etag":null,"topics":["access-control","acl","ai-friendly","api","auth","authorization","authz","fullstack","javascript","nextjs","node","openapi","orm","permission","prisma","rbac","rls","saas","schema"],"latest_commit_sha":null,"homepage":"https://zenstack.dev","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zenstackhq.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"zenstackhq"}},"created_at":"2022-09-22T02:42:35.000Z","updated_at":"2025-10-24T12:32:43.000Z","dependencies_parsed_at":"2022-11-03T19:50:36.246Z","dependency_job_id":"50bf0f7b-a2d7-4ceb-b9a2-5aa25807c090","html_url":"https://github.com/zenstackhq/zenstack","commit_stats":{"total_commits":740,"total_committers":40,"mean_commits":18.5,"dds":0.2743243243243243,"last_synced_commit":"d2554f280ad91b2e4db215060facbc3013d5ab59"},"previous_names":[],"tags_count":137,"template":false,"template_full_name":null,"purl":"pkg:github/zenstackhq/zenstack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenstackhq%2Fzenstack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenstackhq%2Fzenstack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenstackhq%2Fzenstack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenstackhq%2Fzenstack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zenstackhq","download_url":"https://codeload.github.com/zenstackhq/zenstack/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenstackhq%2Fzenstack/sbom","scorecard":{"id":1085538,"data":{"date":"2025-08-23T09:33:10Z","repo":{"name":"github.com/zenstackhq/zenstack","commit":"789e772a8aa006363baa3d8355c4f831abe4e9b1"},"scorecard":{"version":"v5.0.0-rc2","commit":"7ce8609469289d5f3b1bf5ee3122f42b4e3054fb"},"score":5.6,"checks":[{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: packages/ide/jetbrains/gradle/wrapper/gradle-wrapper.jar:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/7ce8609469289d5f3b1bf5ee3122f42b4e3054fb/docs/checks.md#binary-artifacts"}},{"name":"Branch-Protection","score":6,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'main'","Info: 'force pushes' disabled on branch 'main'","Warn: 'branch protection settings apply to administrators' is disable on branch 'main'","Info: 'stale review dismissal' is required to merge on branch 'main'","Warn: required approving review count is 1 on branch 'main'","Warn: codeowners review is not required on branch 'main'","Info: 'last push approval' is required to merge on branch 'main'","Info: 'up-to-date branches' is required to merge on branch 'main'","Warn: no status checks found to merge onto branch 'main'","Info: PRs are required in order to make changes on branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/7ce8609469289d5f3b1bf5ee3122f42b4e3054fb/docs/checks.md#branch-protection"}},{"name":"CI-Tests","score":10,"reason":"30 out of 30 merged PRs checked by a CI test -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project runs tests before pull requests are merged.","url":"https://github.com/ossf/scorecard/blob/7ce8609469289d5f3b1bf5ee3122f42b4e3054fb/docs/checks.md#ci-tests"}},{"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/7ce8609469289d5f3b1bf5ee3122f42b4e3054fb/docs/checks.md#cii-best-practices"}},{"name":"Code-Review","score":2,"reason":"Found 8/30 approved changesets -- score normalized to 2","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/7ce8609469289d5f3b1bf5ee3122f42b4e3054fb/docs/checks.md#code-review"}},{"name":"Contributors","score":10,"reason":"project has 4 contributing companies or organizations","details":["Info: zenstackhq contributor org/company found, pido contributor org/company found, PAM-AS contributor org/company found, carrot contributor org/company found, "],"documentation":{"short":"Determines if the project has a set of contributors from multiple organizations (e.g., companies).","url":"https://github.com/ossf/scorecard/blob/7ce8609469289d5f3b1bf5ee3122f42b4e3054fb/docs/checks.md#contributors"}},{"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/7ce8609469289d5f3b1bf5ee3122f42b4e3054fb/docs/checks.md#dangerous-workflow"}},{"name":"Dependency-Update-Tool","score":0,"reason":"no update tool detected","details":["Warn: no dependency update tool configurations found"],"documentation":{"short":"Determines if the project uses a dependency update tool.","url":"https://github.com/ossf/scorecard/blob/7ce8609469289d5f3b1bf5ee3122f42b4e3054fb/docs/checks.md#dependency-update-tool"}},{"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/7ce8609469289d5f3b1bf5ee3122f42b4e3054fb/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: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/7ce8609469289d5f3b1bf5ee3122f42b4e3054fb/docs/checks.md#license"}},{"name":"Maintained","score":10,"reason":"30 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/7ce8609469289d5f3b1bf5ee3122f42b4e3054fb/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/7ce8609469289d5f3b1bf5ee3122f42b4e3054fb/docs/checks.md#packaging"}},{"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/build-test.yml:44","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build-test.yml:47","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build-test.yml:52","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build-test.yml:64","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build-test.yml:75","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-test.yml:78","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build-test.yml:84","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:59","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:63","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:91","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/github-releases-to-discord.yml:9","Warn: third-party GitHubAction not pinned by hash: .github/workflows/github-releases-to-discord.yml:11","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/integration-test.yml:44","Warn: third-party GitHubAction not pinned by hash: .github/workflows/integration-test.yml:47","Warn: third-party GitHubAction not pinned by hash: .github/workflows/integration-test.yml:52","Warn: third-party GitHubAction not pinned by hash: .github/workflows/integration-test.yml:64","Warn: third-party GitHubAction not pinned by hash: .github/workflows/integration-test.yml:75","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/integration-test.yml:78","Warn: third-party GitHubAction not pinned by hash: .github/workflows/integration-test.yml:84","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/regression-test.yml:44","Warn: third-party GitHubAction not pinned by hash: .github/workflows/regression-test.yml:47","Warn: third-party GitHubAction not pinned by hash: .github/workflows/regression-test.yml:52","Warn: third-party GitHubAction not pinned by hash: .github/workflows/regression-test.yml:64","Warn: third-party GitHubAction not pinned by hash: .github/workflows/regression-test.yml:75","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/regression-test.yml:78","Warn: third-party GitHubAction not pinned by hash: .github/workflows/regression-test.yml:84","Warn: third-party GitHubAction not pinned by hash: .github/workflows/security-dependency-review.yml:22","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/security-dependency-review.yml:27","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/security-dependency-review.yml:33","Warn: third-party GitHubAction not pinned by hash: .github/workflows/security-ossar.yml:41","Warn: third-party GitHubAction not pinned by hash: .github/workflows/security-ossar.yml:46","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/security-ossar.yml:54","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/security-ossar.yml:59","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/security-ossar.yml:67","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/security-ossar.yml:72","Warn: third-party GitHubAction not pinned by hash: .github/workflows/security-scorecard.yml:37","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/security-scorecard.yml:42","Warn: third-party GitHubAction not pinned by hash: .github/workflows/security-scorecard.yml:48","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/security-scorecard.yml:58","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/security-scorecard.yml:66","Warn: third-party GitHubAction not pinned by hash: .github/workflows/update-samples.yml:24","Info:   0 out of  19 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of  22 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/7ce8609469289d5f3b1bf5ee3122f42b4e3054fb/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: SAST configuration detected: CodeQL","Info: all commits (30) are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/7ce8609469289d5f3b1bf5ee3122f42b4e3054fb/docs/checks.md#sast"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/7ce8609469289d5f3b1bf5ee3122f42b4e3054fb/docs/checks.md#security-policy"}},{"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/7ce8609469289d5f3b1bf5ee3122f42b4e3054fb/docs/checks.md#signed-releases"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'packages' permission set to 'read': .github/workflows/codeql.yml:37","Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql.yml:40","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql.yml:41","Info: jobLevel 'actions' permission set to 'read': .github/workflows/security-ossar.yml:37","Info: jobLevel 'contents' permission set to 'read': .github/workflows/security-ossar.yml:35","Info: topLevel 'contents' permission set to 'read': .github/workflows/build-test.yml:18","Warn: no topLevel permission defined: .github/workflows/codeql.yml:1","Warn: no topLevel permission defined: .github/workflows/github-releases-to-discord.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/integration-test.yml:18","Info: topLevel 'contents' permission set to 'read': .github/workflows/regression-test.yml:18","Info: topLevel 'contents' permission set to 'read': .github/workflows/security-dependency-review.yml:15","Info: topLevel 'contents' permission set to 'read': .github/workflows/security-ossar.yml:29","Info: topLevel 'contents' permission set to 'read': .github/workflows/security-scorecard.yml:20","Warn: no topLevel permission defined: .github/workflows/update-samples.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/7ce8609469289d5f3b1bf5ee3122f42b4e3054fb/docs/checks.md#token-permissions"}},{"name":"Vulnerabilities","score":-1,"reason":"internal error: vulnerabilitiesClient.ListUnfixedVulnerabilities: internal error: osv-scanner panic: runtime error: index out of range [0] with length 0","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/7ce8609469289d5f3b1bf5ee3122f42b4e3054fb/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-28T09:45:51.585Z","repository_id":62625485,"created_at":"2025-08-28T09:45:51.585Z","updated_at":"2025-08-28T09:45:51.585Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281536369,"owners_count":26518381,"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-28T02:00:06.022Z","response_time":60,"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"},"tags":[]},"repo_metadata_updated_at":"2026-03-05T07:59:15.991Z","dependent_packages_count":1,"downloads":14223,"downloads_period":"last-month","dependent_repos_count":2,"rankings":{"downloads":3.182888313687602,"dependent_repos_count":7.928639134809341,"dependent_packages_count":21.076104474044136,"stargazers_count":2.5813537710611323,"forks_count":4.554866961707601,"docker_downloads_count":null,"average":7.8647705310619624},"purl":"pkg:npm/%40zenstackhq/openapi","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@zenstackhq/openapi","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@zenstackhq/openapi","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@zenstackhq/openapi/dependencies","status":null,"funding_links":["https://github.com/sponsors/zenstackhq"],"critical":null,"issue_metadata":{"last_synced_at":"2025-10-30T08:02:15.343Z","issues_count":681,"pull_requests_count":1761,"avg_time_to_close_issue":3641522.262921348,"avg_time_to_close_pull_request":100887.20972644378,"issues_closed_count":445,"pull_requests_closed_count":1645,"pull_request_authors_count":55,"issue_authors_count":219,"avg_comments_per_issue":1.57856093979442,"avg_comments_per_pull_request":1.0039750141964794,"merged_pull_requests_count":1421,"bot_issues_count":0,"bot_pull_requests_count":227,"past_year_issues_count":163,"past_year_pull_requests_count":435,"past_year_avg_time_to_close_issue":1142114.4761904762,"past_year_avg_time_to_close_pull_request":85200.6118251928,"past_year_issues_closed_count":84,"past_year_pull_requests_closed_count":389,"past_year_pull_request_authors_count":20,"past_year_issue_authors_count":91,"past_year_avg_comments_per_issue":1.2331288343558282,"past_year_avg_comments_per_pull_request":1.135632183908046,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":383,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenstackhq%2Fzenstack/issues","maintainers":[{"login":"ymc9","count":1194,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/ymc9"},{"login":"jiashengguo","count":48,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/jiashengguo"}],"active_maintainers":[{"login":"ymc9","count":364,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/ymc9"},{"login":"jiashengguo","count":12,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/jiashengguo"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@zenstackhq%2Fopenapi/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@zenstackhq%2Fopenapi/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@zenstackhq%2Fopenapi/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@zenstackhq%2Fopenapi/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@zenstackhq%2Fopenapi/codemeta","maintainers":[{"uuid":"ymc9","login":"ymc9","name":null,"email":"yiming@whimslab.io","url":null,"packages_count":34,"html_url":"https://www.npmjs.com/~ymc9","role":null,"created_at":"2023-03-09T08:50:00.237Z","updated_at":"2023-03-09T08:50:00.237Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/ymc9/packages"},{"uuid":"jiasheng","login":"jiasheng","name":null,"email":"jiashengguo@outlook.com","url":null,"packages_count":28,"html_url":"https://www.npmjs.com/~jiasheng","role":null,"created_at":"2023-04-05T17:16:38.286Z","updated_at":"2023-04-05T17:16:38.286Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/jiasheng/packages"}]}