公开记录
软件健康报告模式 0.11.0 · 指标 2.10.0 · 2026-07-16 00:15 UTC

openfga / cli

A cross-platform CLI to interact with an OpenFGA server

GoApache-2.0★ 100 星标⑂ 46 复刻始于 2023年6月在 GitHub 上查看 ↗
类型命令行工具如何判定

openfga/cli 的健康指数为 100 分中的 97 分,处于「卓越」区间。 其得分最高的类别是Vitality(93/100),最低的是AI Readiness(69/100)。 最近一次更新在 1 天前。 近期的大部分工作由 2 位贡献者完成。

97
总分 / 100
卓越

软件健康指数

指标归入加权类别,统一采用 1–100 量表。总体分先取类别加权平均,再依据公开记录的分布进行校准,使各等级具有百分位含义;当公开证据触发高风险司法辖区政策时,评级会按政策调整,并设置 34(存在风险)的上限。

97
卓越93-100公开记录中的最高层级(约前 5%);基本满足所有检验标准
优秀80-92各方面均表现强劲;仅有少量不足
良好65-79健康;不足之处有限且可控
中等50-64可接受,但存在明显不足;建议进行审查
薄弱35-49多个领域存在实质性薄弱环节
存在风险20-34存在重大薄弱环节;采用时应保持审慎
危急1-19问题严重(项目被弃置、仅有单一维护者、缺乏基本工程规范)
活力社区与采用可持续性与治理工程质量安全AI 就绪度

评分画像

每条轴代表一个类别。形状比平均值更重要——健康的对象会填满整个图形,而“一峰一谷”式画像意味着某一维度的优势正掩盖另一维度的风险。

加权总体分 85 经校准后在公布的指数量表上为 97(记录校准 2026-08-02)。

所有权

OpenFGA组织
996 关注者34 个公开仓库始于 2022年4月

该仓库由组织支持——共同承担、可问责的托管责任,可延续于任何单一维护者之后。

软件包生态系统

注册表软件包版本月下载量版本数最近发布
Gogithub.com/openfga/cliv0.7.19-552 天前

按类别列示的指标

活力

项目是否仍有生命——是否仍在编写代码,是否仍在发布版本?

93卓越 · 占总体的 21%
评分方式
36/36推送新近度最近一次推送于 1 天前
24.2/36提交节奏52 周中有 35 周有提交
18/18提交量最近一年 125 次提交
10/10OpenSSF Scorecard:Maintained30 commit(s) and 5 issue activity found in the last 90 days -- score normalized to 10
所用输入
commits_last_year125
human_commit_share
days_since_last_push1
active_weeks_last_year35

发布纪律

100卓越
评分方式
27/27有发布版本已发布 51 个发布版本
36/36发布时效最近一次发布版本于 2 天前
27/27发布节奏约每 27.8 天发布一次
10/10OpenSSF Scorecard:Signed-Releases5 out of the last 5 releases have a total of 9 signed artifacts.
所用输入
releases_count51
latest_release_tagv0.7.19
releases_from_tags
days_since_latest_release2
mean_days_between_releases27.8

社区与采用

项目是否拥有用户、下载量与关注度,并具备欢迎贡献者参与的配置?

71良好 · 占总体的 17%
评分方式
32.4/60星标100 个星标
13.8/25复刻46 个复刻
6.2/15关注者14 位关注者
所用输入
forks46
stars100
watchers14
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history

社区健康

92优秀
评分方式
22.5/22.5README
22.5/22.5许可证可识别的许可证(Apache-2.0)
18/18CONTRIBUTING 指南
13.5/13.5行为准则
0/7.2议题模板
6.3/6.3PR 模板
所用输入
has_readme
has_license
readme_badges
has_contributing
has_issue_template
has_code_of_conduct
readme_badge_services
has_pull_request_template

可持续性与治理

项目能否在其成员之外延续——巴士系数、响应能力、由谁支持,以及软件包的维护状况?

82优秀 · 占总体的 23%
评分方式
25.2/54巴士系数2 位贡献者贡献了半数提交
13.2/22.5提交分布头号贡献者编写了 42% 的提交
13.5/13.5贡献者广度37 位贡献者
10/10OpenSSF Scorecard:Contributorsproject has 21 contributing companies or organizations
所用输入
bus_factor2
contributors_sampled37
top_contributor_share0.415
评分方式
33.3/42议题解决79% 的议题已关闭
24.4/30PR 接受已裁定的 PR 中 452/556 已合并
0/13Newcomer PR acceptance30 天内没有首次贡献者的 PR 得到裁决
15/15OpenSSF Scorecard:Code-Reviewall changesets reviewed
所用输入
merged_prs452
open_issues34
closed_issues130
prs_merged_7d
prs_decided_7d
prs_merged_30d
prs_decided_30d
issue_closed_ratio0.793
closed_unmerged_prs104
first_time_authors_30d
first_time_prs_merged_30d
first_time_prs_decided_30d
已排除计分(无数据或不适用):Newcomer PR acceptance。 其余权重已重新归一化。
评分方式
30/30所有权背书组织持有
0/20已验证域名未读取该组织的域名验证状态
21.6/25所有者影响力openfga 有 996 位关注者
19.8/25既往记录34 个公开仓库,账户约 4 年
所用输入
followers996
owner_typeOrganization
is_verified
owner_loginopenfga
public_repos34
account_age_days1,554
已排除计分(无数据或不适用):已验证域名。 其余权重已重新归一化。
评分方式
25/25已发布且可解析go 上有 1 个软件包
35/35发布时效最近一次发布于 2 天前
20/20版本历史55 个已发布版本
20/20未被弃用活跃,未被弃用或撤回
所用输入
packagesgithub.com/openfga/cli
ecosystemsgo
any_deprecated
min_days_since_publish2

工程质量

基础的工程与文档实践是否到位?

90优秀 · 占总体的 19%

工程实践

84优秀
评分方式
24/24CI 工作流4 个工作流
24/24存在测试
16/16Linter 配置.golangci.yaml
0/9.6Pre-commit 钩子
0/6.4.editorconfig
20/20OpenSSF Scorecard:CI-Tests30 out of 30 merged PRs checked by a CI test -- score normalized to 10
所用输入
has_ci
has_tests
has_editorconfig
has_linter_config
has_precommit_config

文档

100卓越
评分方式
30/30README
25/25文档目录
15/15文档 / 主页站点https://openfga.dev
10/10仓库描述
10/10主题标签9 个主题标签
10/10Wiki
所用输入
topicscli, fine-grained-authorization, openfga, zanzibar, openfga-client, fga, access-control, security, hacktoberfest
has_wiki
homepagehttps://openfga.dev
docs_sitehttps://openfga.dev
has_readme
has_docs_dir
has_description

安全

可见的安全与供应链实践是否稳固,且不存在未解决的高风险司法辖区暴露?

90优秀 · 占总体的 16%

安全态势

90优秀
评分方式
7.5/7.5Binary-Artifactsno binaries found in the repo
6/7.5Branch-Protectionbranch protection is not maximal on development and all release branches
2.5/2.5CI-Tests30 out of 30 merged PRs checked by a CI test -- score normalized to 10
0/2.5CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
7.5/7.5Code-Reviewall changesets reviewed
2.5/2.5Contributorsproject has 21 contributing companies or organizations
10/10Dangerous-Workflowno dangerous workflow patterns detected
7.5/7.5Dependency-Update-Toolupdate tool detected
0/5Fuzzingproject is not fuzzed
2.5/2.5许可证license file detected
7.5/7.5Maintained30 commit(s) and 5 issue activity found in the last 90 days -- score normalized to 10
5/5Packagingpackaging workflow detected
4.5/5Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 9
4.5/5SASTSAST tool is not run on all commits -- score normalized to 9
5/5Security-Policysecurity policy file detected
7.5/7.5Signed-Releases5 out of the last 5 releases have a total of 9 signed artifacts.
7.5/7.5Token-PermissionsGitHub workflow tokens follow principle of least privilege
7.5/7.5Vulnerabilities0 existing vulnerabilities detected
所用输入
sourceopenssf_scorecard
checks_evaluated18
scorecard_versionv5.5.0
checks_inconclusive0
scorecard_aggregate9

AI 就绪度

该仓库在多大程度上具备与 AI 编码代理协同开发与维护的条件?权重刻意设小(4%):代理工具链是一项真实的维护信号,但完全不具备的仓库仍可达到 100/100。

69良好 · 占总体的 4%
评分方式
0/45代理指令没有 CLAUDE.md / AGENTS.md / 编辑器规则
0/15机器可读文档(llms.txt)
0/40可读的提交历史无数据
所用输入
has_llms_txt
llms_txt_url
legible_history_share
agent_instruction_files
agent_instruction_max_bytes
已排除计分(无数据或不适用):可读的提交历史。 其余权重已重新归一化。
评分方式
18/18一条命令的引导启动.mise.toml, Makefile
22/22自动化测试
11/11Lint / 格式化配置.golangci.yaml
11/11静态类型检查Go(静态类型)
10/10可复现环境lockfile
0/10已体现的代理实践无数据
5/8自动化维护已配置依赖自动化,但在抽样提交中未观察到
9/10OpenSSF Scorecard:Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 9
所用输入
has_nix
has_tests
lockfilesgo.sum
has_dockerfile
typed_language
bootstrap_files.mise.toml, Makefile
has_devcontainer
has_linter_config
typecheck_configs
agent_commit_share
toolchain_manifests
dependency_bot_commit_share0
已排除计分(无数据或不适用):已体现的代理实践。 其余权重已重新归一化。
评分方式
45/45可类型检查的代码Go(静态类型)
54.4/55可控的文件大小采样的 96 个源文件中有 1 个超过 60KB
所用输入
primary_languageGo
largest_source_bytes152,302
source_files_sampled96
oversized_source_files1
评分方式
0/40API 模式(OpenAPI/GraphQL/proto)不适用于此类软件
0/20MCP 服务器不适用于此类软件
40/40可运行示例example
所用输入
example_dirsexample
has_mcp_signal
api_schema_files
interfaces_expected_of
已排除计分(无数据或不适用):API 模式(OpenAPI/GraphQL/proto), MCP 服务器。 其余权重已重新归一化。

关键数据

100GitHub 星标
37贡献者
125最近 12 个月提交数
1距最近推送天数
51发布版本数
2巴士系数(bus factor)
34开放议题
Go软件包生态系统数

更多细节

OpenSSF Scorecard 9.0 / 10
9.0综合

来自开源项目 OpenSSF Scorecard 的独立、工具无关的安全评估。每项检查奖励的是安全实践本身,而非特定供应商的工具。Scorecard 无法判定的检查项标记为 不适用,并从安全评分中剔除(绝不按零分计)。Scorecard v5.5.0 · 2026-07-16 00:15 UTC

10Binary-Artifactsno binaries found in the repo
8Branch-Protectionbranch protection is not maximal on development and all release branches
10CI-Tests30 out of 30 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
10Code-Reviewall changesets reviewed
10Contributorsproject has 21 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained30 commit(s) and 5 issue activity found in the last 90 days -- score normalized to 10
10Packagingpackaging workflow detected
9Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 9
9SASTSAST tool is not run on all commits -- score normalized to 9
10Security-Policysecurity policy file detected
10Signed-Releases5 out of the last 5 releases have a total of 9 signed artifacts.
10Token-PermissionsGitHub workflow tokens follow principle of least privilege
10Vulnerabilities0 existing vulnerabilities detected
直接依赖 19
注册表软件包版本约束清单文件
Gogithub.com/mattn/go-isattyv0.0.22go.mod
Gogithub.com/muesli/mango-cobrav1.3.0go.mod
Gogithub.com/muesli/roffv0.1.0go.mod
Gogithub.com/nwidger/jsoncolorv0.3.2go.mod
Gogithub.com/oklog/ulid/v2v2.1.1go.mod
Gogithub.com/openfga/api/protov0.0.0-20260319214821-f153694bfc20go.mod
Gogithub.com/openfga/go-sdkv0.8.2go.mod
Gogithub.com/openfga/language/pkg/gov0.3.1go.mod
Gogithub.com/openfga/openfgav1.18.1go.mod
Gogithub.com/rung/go-safecastv1.0.1go.mod
Gogithub.com/schollz/progressbar/v3v3.19.1go.mod
Gogithub.com/spf13/cobrav1.10.2go.mod
Gogithub.com/spf13/pflagv1.0.10go.mod
Gogithub.com/spf13/viperv1.21.0go.mod
Gogithub.com/stretchr/testifyv1.11.1go.mod
Gogo.uber.org/mockv0.6.0go.mod
Gogolang.org/x/timev0.15.0go.mod
Gogoogle.golang.org/protobufv1.36.11go.mod
Gogopkg.in/yaml.v3v3.0.1go.mod
全部依赖 81

来自 GitHub 依赖图的完整解析依赖集合:19 个直接依赖与 62 个间接(传递)软件包。仓库提交锁文件时,传递闭包才是完整的。

注册表软件包版本关系
Gogithub.com/mattn/go-isattyv0.0.22直接
Gogithub.com/muesli/mango-cobrav1.3.0直接
Gogithub.com/muesli/roffv0.1.0直接
Gogithub.com/nwidger/jsoncolorv0.3.2直接
Gogithub.com/oklog/ulid/v2v2.1.1直接
Gogithub.com/openfga/api/protov0.0.0-20260319214821-f153694bfc20直接
Gogithub.com/openfga/go-sdkv0.8.2直接
Gogithub.com/openfga/language/pkg/gov0.3.1直接
Gogithub.com/openfga/openfgav1.18.1直接
Gogithub.com/rung/go-safecastv1.0.1直接
Gogithub.com/schollz/progressbar/v3v3.19.1直接
Gogithub.com/spf13/cobrav1.10.2直接
Gogithub.com/spf13/pflagv1.0.10直接
Gogithub.com/spf13/viperv1.21.0直接
Gogithub.com/stretchr/testifyv1.11.1直接
Gogo.uber.org/mockv0.6.0直接
Gogolang.org/x/timev0.15.0直接
Gogoogle.golang.org/protobufv1.36.11直接
Gogopkg.in/yaml.v3v3.0.1直接
Gocel.dev/exprv0.25.2间接
Gogithub.com/antlr4-go/antlr/v4v4.13.1间接
Gogithub.com/beorn7/perksv1.0.1间接
Gogithub.com/cenkalti/backoff/v5v5.0.3间接
Gogithub.com/cespare/xxhash/v2v2.3.0间接
Gogithub.com/davecgh/go-spewv1.1.2-0.20180830191138-d8f796af33cc间接
Gogithub.com/emirpasic/godsv1.18.1间接
Gogithub.com/envoyproxy/protoc-gen-validatev1.3.3间接
Gogithub.com/fatih/colorv1.19.0间接
Gogithub.com/fsnotify/fsnotifyv1.10.1间接
Gogithub.com/go-logr/logrv1.4.3间接
Gogithub.com/go-logr/stdrv1.2.2间接
Gogithub.com/go-viper/mapstructure/v2v2.5.0间接
Gogithub.com/google/cel-gov0.28.1间接
Gogithub.com/google/uuidv1.6.0间接
Gogithub.com/grpc-ecosystem/go-grpc-middlewarev1.4.0间接
Gogithub.com/grpc-ecosystem/go-grpc-middleware/v2v2.3.3间接
Gogithub.com/grpc-ecosystem/grpc-gateway/v2v2.29.0间接
Gogithub.com/inconshreveable/mousetrapv1.1.0间接
Gogithub.com/klauspost/cpuid/v2v2.3.0间接
Gogithub.com/mattn/go-colorablev0.1.14间接
Gogithub.com/mitchellh/colorstringv0.0.0-20190213212951-d06e56a500db间接
Gogithub.com/muesli/mangov0.2.0间接
Gogithub.com/muesli/mango-pflagv0.2.0间接
Gogithub.com/munnerz/goautonegv0.0.0-20191010083416-a7dc8b61c822间接
Gogithub.com/natefinch/wrapv0.2.0间接
Gogithub.com/pelletier/go-toml/v2v2.3.1间接
Gogithub.com/pmezard/go-difflibv1.0.1-0.20181226105442-5d4384ee4fb2间接
Gogithub.com/prometheus/client_golangv1.23.2间接
Gogithub.com/prometheus/client_modelv0.6.2间接
Gogithub.com/prometheus/commonv0.67.5间接
Gogithub.com/prometheus/procfsv0.20.1间接
Gogithub.com/rivo/unisegv0.4.7间接
Gogithub.com/sagikazarmark/locaferov0.12.0间接
Gogithub.com/sourcegraph/concv0.3.1-0.20240121214520-5f936abd7ae8间接
Gogithub.com/spf13/aferov1.15.0间接
Gogithub.com/spf13/castv1.10.0间接
Gogithub.com/subosito/gotenvv1.6.0间接
Gogithub.com/yiling-j/theine-gov0.6.2间接
Gogithub.com/zeebo/xxh3v1.1.0间接
Gogo.opentelemetry.io/auto/sdkv1.2.1间接
Gogo.opentelemetry.io/otelv1.44.0间接
Gogo.opentelemetry.io/otel/exporters/otlp/otlptracev1.44.0间接
Gogo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpcv1.44.0间接
Gogo.opentelemetry.io/otel/metricv1.44.0间接
Gogo.opentelemetry.io/otel/sdkv1.44.0间接
Gogo.opentelemetry.io/otel/tracev1.44.0间接
Gogo.opentelemetry.io/proto/otlpv1.10.0间接
Gogo.uber.org/multierrv1.11.0间接
Gogo.uber.org/zapv1.28.0间接
Gogo.yaml.in/yaml/v2v2.4.4间接
Gogo.yaml.in/yaml/v3v3.0.4间接
Gogolang.org/x/expv0.0.0-20260508232706-74f9aab9d74a间接
Gogolang.org/x/netv0.55.0间接
Gogolang.org/x/syncv0.21.0间接
Gogolang.org/x/sysv0.46.0间接
Gogolang.org/x/termv0.44.0间接
Gogolang.org/x/textv0.37.0间接
Gogonum.org/v1/gonumv0.17.0间接
Gogoogle.golang.org/genproto/googleapis/apiv0.0.0-20260526163538-3dc84a4a5aaa间接
Gogoogle.golang.org/genproto/googleapis/rpcv0.0.0-20260526163538-3dc84a4a5aaa间接
Gogoogle.golang.org/grpcv1.81.1间接
原始 JSON 报告 机器可读

反馈

发现这份报告有不准确之处,或有想法要分享?错误的测量、未识别的工具、建议、疑问——都欢迎提出。每条消息都会被阅读并得到回复。

登录过程中消息不会丢失。

评分是信号,而非担保。 评分反映的是 GitHub 上公开可见的实践——不是代码审计,也不是安全保证。

缺失数据将被剔除并重新归一化权重,绝不按零分计。方法论已版本化并公开:指标 v2.10.0、模式 v0.11.0—— 完整方法论 · 指标知识库.

单项结果在整体记录中的位置: 汇总统计Go.