Golang gRPC Middlewares: interceptor chaining, auth, logging, retries and more.
grpc-ecosystem/go-grpc-middleware 的健康指数为 100 分中的 84 分,处于「优秀」区间。 其得分最高的类别是Community & Adoption(90/100),最低的是Security(33/100)。 最近一次更新在今天。 近期的大部分工作由 13 位贡献者完成。
指标归入加权类别,统一采用 1–100 量表。总体分先取类别加权平均,再依据公开记录的分布进行校准,使各等级具有百分位含义;当公开证据触发高风险司法辖区政策时,评级会按政策调整,并设置 34(存在风险)的上限。
每条轴代表一个类别。形状比平均值更重要——健康的对象会填满整个图形,而“一峰一谷”式画像意味着某一维度的优势正掩盖另一维度的风险。
加权总体分 71 经校准后在公布的指数量表上为 84(记录校准 2026-08-02)。
| 注册表 | 软件包 | 版本 | 月下载量 | 版本数 | 最近发布 |
|---|---|---|---|---|---|
| Go | github.com/grpc-ecosystem/go-grpc-middleware/v2 | v2.3.4 | - | 14 | 6 天前 |
项目是否仍有生命——是否仍在编写代码,是否仍在发布版本?
| 36/36 | 推送新近度 — 最近一次推送于 0 天前 |
| 4.2/36 | 提交节奏 — 52 周中有 6 周有提交 |
| 10.8/18 | 提交量 — 最近一年 15 次提交 |
| 0/10 | OpenSSF Scorecard:Maintained — 无数据 |
| commits_last_year | 15 |
| human_commit_share | 0.93 |
| days_since_last_push | 0 |
| active_weeks_last_year | 6 |
| 27/27 | 有发布版本 — 已发布 26 个发布版本 |
| 36/36 | 发布时效 — 最近一次发布版本于 0 天前 |
| 19.8/27 | 发布节奏 — 约每 118.4 天发布一次 |
| 0/10 | OpenSSF Scorecard:Signed-Releases — 无数据 |
| releases_count | 26 |
| latest_release_tag | v2.3.4 |
| releases_from_tags | 否 |
| days_since_latest_release | 0 |
| mean_days_between_releases | 118.4 |
项目是否拥有用户、下载量与关注度,并具备欢迎贡献者参与的配置?
| 60/60 | 星标 — 6,763 个星标 |
| 23.9/25 | 复刻 — 746 个复刻 |
| 10.5/15 | 关注者 — 80 位关注者 |
| forks | 746 |
| stars | 6,763 |
| watchers | 80 |
| growth_state | unverified |
| growth_factor_pct | 100 |
| growth_unverified_reason | no_history |
| 22.5/22.5 | README |
| 22.5/22.5 | 许可证 — 可识别的许可证(Apache-2.0) |
| 18/18 | CONTRIBUTING 指南 |
| 0/13.5 | 行为准则 |
| 7.2/7.2 | 议题模板 |
| 6.3/6.3 | PR 模板 |
| has_readme | 是 |
| has_license | 是 |
| readme_badges | 5 |
| has_contributing | 是 |
| has_issue_template | 是 |
| has_code_of_conduct | 否 |
| readme_badge_services | github.com, goreportcard.com, shields.io |
| has_pull_request_template | 是 |
项目能否在其成员之外延续——巴士系数、响应能力、由谁支持,以及软件包的维护状况?
| 54/54 | 巴士系数 — 13 位贡献者贡献了半数提交 |
| 20/22.5 | 提交分布 — 头号贡献者编写了 11% 的提交 |
| 13.5/13.5 | 贡献者广度 — 99 位贡献者 |
| 0/10 | OpenSSF Scorecard:Contributors — 无数据 |
| bus_factor | 13 |
| contributors_sampled | 99 |
| top_contributor_share | 0.109 |
| 33.2/42 | 议题解决 — 79% 的议题已关闭 |
| 19.4/30 | PR 接受 — 已裁定的 PR 中 337/520 已合并 |
| 0/13 | Newcomer PR acceptance — 30 天内没有首次贡献者的 PR 得到裁决 |
| 0/15 | OpenSSF Scorecard:Code-Review — 无数据 |
| merged_prs | 337 |
| open_issues | 58 |
| closed_issues | 219 |
| prs_merged_7d | 1 |
| prs_decided_7d | 1 |
| prs_merged_30d | 1 |
| prs_decided_30d | 1 |
| issue_closed_ratio | 0.791 |
| closed_unmerged_prs | 183 |
| first_time_authors_30d | 0 |
| first_time_prs_merged_30d | 0 |
| first_time_prs_decided_30d | 0 |
| 30/30 | 所有权背书 — 组织持有 |
| 0/20 | 已验证域名 |
| 22.1/25 | 所有者影响力 — grpc-ecosystem 有 1,190 位关注者 |
| 21.9/25 | 既往记录 — 22 个公开仓库,账户约 10 年 |
| followers | 1,190 |
| owner_type | Organization |
| is_verified | 否 |
| owner_login | grpc-ecosystem |
| public_repos | 22 |
| account_age_days | 3,758 |
| 25/25 | 已发布且可解析 — go 上有 1 个软件包 |
| 35/35 | 发布时效 — 最近一次发布于 6 天前 |
| 20/20 | 版本历史 — 14 个已发布版本 |
| 20/20 | 未被弃用 — 活跃,未被弃用或撤回 |
| packages | github.com/grpc-ecosystem/go-grpc-middleware/v2 |
| ecosystems | go |
| any_deprecated | 否 |
| min_days_since_publish | 6 |
基础的工程与文档实践是否到位?
| 24/24 | CI 工作流 — 1 个工作流 |
| 24/24 | 存在测试 |
| 16/16 | Linter 配置 — .golangci.yml |
| 0/9.6 | Pre-commit 钩子 |
| 0/6.4 | .editorconfig |
| 0/20 | OpenSSF Scorecard:CI-Tests — 无数据 |
| has_ci | 是 |
| has_tests | 是 |
| has_editorconfig | 否 |
| has_linter_config | 是 |
| has_precommit_config | 否 |
| 30/30 | README |
| 0/25 | 文档目录 |
| 0/15 | 文档 / 主页站点 |
| 10/10 | 仓库描述 |
| 10/10 | 主题标签 — 10 个主题标签 |
| 0/10 | Wiki |
| topics | grpc, golang, middleware, generic-functions, library, logging, authentication, retries, testing, interceptor |
| has_wiki | 否 |
| homepage | — |
| docs_site | — |
| has_readme | 是 |
| has_docs_dir | 否 |
| has_description | 是 |
可见的安全与供应链实践是否稳固,且不存在未解决的高风险司法辖区暴露?
| 0/30 | 安全策略(SECURITY.md) |
| 25/25 | Dependabot 配置 |
| 0/25 | 依赖锁定文件 — 已发布的类库——锁定文件属于应用层关注点,不作要求 |
| 0/20 | CodeQL 工作流 |
| source | file_signals |
| lockfiles | go.sum |
| manifests | .bingo/go.mod, examples/go.mod, go.mod |
| has_codeql_workflow | 否 |
| has_security_policy | 否 |
| has_dependabot_config | 是 |
| 5.6/35 | 直接依赖不含已知公告 — 5 个受影响:google.golang.org/grpc 1.74.2 (critical 9.1), google.golang.org/grpc v1.74.2 (critical 9.1), golang.org/x/net 0.40.0 (moderate 6.5),另有 2 个 |
| 0/25 | 间接依赖不含已知公告 — 在此范围内,传递依赖集合无法与开发和测试依赖区分 |
| 20.6/40 | 没有长期未处理的公告 — 5 个携带公告的软件包超过 90 天未处理;最早一条发布于 203 天前 |
| source | osv |
| advisories | 54 |
| affected_packages | 16 |
| assessed_packages | 70 |
| unassessed_packages | 0 |
| affected_by_severity | critical 2, high 3, moderate 4, unknown 7 |
| direct_affected_packages | 5 |
该仓库在多大程度上具备与 AI 编码代理协同开发与维护的条件?权重刻意设小(4%):代理工具链是一项真实的维护信号,但完全不具备的仓库仍可达到 100/100。
| 0/45 | 代理指令 — 没有 CLAUDE.md / AGENTS.md / 编辑器规则 |
| 0/15 | 机器可读文档(llms.txt) |
| 40/40 | 可读的提交历史 — 93 次人类提交中有 88 次说明了意图(结构化标题或解释性正文) |
| has_llms_txt | 否 |
| llms_txt_url | — |
| legible_history_share | 0.946 |
| agent_instruction_files | — |
| agent_instruction_max_bytes | — |
| 18/18 | 一条命令的引导启动 — Makefile |
| 22/22 | 自动化测试 |
| 11/11 | Lint / 格式化配置 — .golangci.yml |
| 11/11 | 静态类型检查 — Go(静态类型) |
| 10/10 | 可复现环境 — lockfile |
| 2/10 | 已体现的代理实践 — 最近 100 次提交中有 1 次由代理编写或署名代理 |
| 8/8 | 自动化维护 — 最近 100 次提交中有 7 次为自动依赖更新 |
| 0/10 | OpenSSF Scorecard:Pinned-Dependencies — 无数据 |
| has_nix | 否 |
| has_tests | 是 |
| lockfiles | go.sum |
| has_dockerfile | 否 |
| typed_language | 是 |
| bootstrap_files | Makefile |
| has_devcontainer | 否 |
| has_linter_config | 是 |
| typecheck_configs | — |
| agent_commit_share | 0.01 |
| toolchain_manifests | .bingo/go.mod, examples/go.mod, go.mod, interceptors/logging/examples/go.mod, providers/prometheus/go.mod |
| dependency_bot_commit_share | 0.07 |
| 45/45 | 可类型检查的代码 — Go(静态类型) |
| 55/55 | 可控的文件大小 — 采样的 105 个源文件中有 0 个超过 60KB |
| primary_language | Go |
| largest_source_bytes | 35,050 |
| source_files_sampled | 105 |
| oversized_source_files | 0 |
| 40/40 | API 模式(OpenAPI/GraphQL/proto) — testing/testpb/v1/test.proto, testing/testvalidate/v1/test_validate.proto |
| 0/20 | MCP 服务器 — 不适用于此类软件 |
| 40/40 | 可运行示例 — examples |
| example_dirs | examples |
| has_mcp_signal | 否 |
| api_schema_files | testing/testpb/v1/test.proto, testing/testvalidate/v1/test_validate.proto |
| interfaces_expected_of | — |
每颗 star 和每个 fork 的添加时间,来自 GitHub 并按天汇总。累计增长位于其构成来源——每日新增——的正上方,二者可相互对照:稳定的自然增长与短暂的突增形态截然不同。当这一差别可被衡量时,它会作为增长真实性予以报告。
每个点涵盖 10 天。
| 注册表 | 软件包 | 版本约束 | 清单文件 |
|---|---|---|---|
| Go | buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go | v1.36.10-20250912141014-52f32327d4b0.1 | go.mod |
| Go | buf.build/go/protovalidate | v1.0.0 | go.mod |
| Go | github.com/stretchr/testify | v1.11.1 | go.mod |
| Go | golang.org/x/net | v0.47.0 | go.mod |
| Go | golang.org/x/oauth2 | v0.30.0 | go.mod |
| Go | google.golang.org/grpc | v1.74.2 | go.mod |
| Go | google.golang.org/protobuf | v1.36.10 | go.mod |
来自 GitHub 依赖图的完整解析依赖集合:13 个直接依赖与 57 个间接(传递)软件包。仓库提交锁文件时,传递闭包才是完整的。
| 注册表 | 软件包 | 版本 | 关系 |
|---|---|---|---|
| Go | buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go | 1.36.10-20250912141014-52f32327d4b0.1 | 直接 |
| Go | buf.build/go/protovalidate | 1.0.0 | 直接 |
| Go | github.com/stretchr/testify | 1.11.1 | 直接 |
| Go | github.com/stretchr/testify | 1.8.4 | 直接 |
| Go | golang.org/x/net | 0.40.0 | 直接 |
| Go | golang.org/x/net | 0.47.0 | 直接 |
| Go | golang.org/x/net | v0.47.0 | 直接 |
| Go | golang.org/x/oauth2 | 0.30.0 | 直接 |
| Go | google.golang.org/grpc | 1.74.2 | 直接 |
| Go | google.golang.org/grpc | v1.74.2 | 直接 |
| Go | google.golang.org/protobuf | 1.36.10 | 直接 |
| Go | google.golang.org/protobuf | 1.36.6 | 直接 |
| Go | google.golang.org/protobuf | v1.36.10 | 直接 |
| Go | ../providers/prometheus | 1.0.0 | 间接 |
| Go | cel.dev/expr | 0.24.0 | 间接 |
| Go | cloud.google.com/go/compute/metadata | 0.7.0 | 间接 |
| Go | github.com/antlr4-go/antlr/v4 | 4.13.1 | 间接 |
| Go | github.com/beorn7/perks | 1.0.1 | 间接 |
| Go | github.com/cespare/xxhash/v2 | 2.3.0 | 间接 |
| Go | github.com/davecgh/go-spew | 1.1.1 | 间接 |
| Go | github.com/go-kit/log | v0.2.1 | 间接 |
| Go | github.com/go-logfmt/logfmt | v0.5.1 | 间接 |
| Go | github.com/go-logr/logr | 1.4.3 | 间接 |
| Go | github.com/go-logr/logr | v1.4.3 | 间接 |
| Go | github.com/go-logr/stdr | 1.2.2 | 间接 |
| Go | github.com/golang/protobuf | 1.5.4 | 间接 |
| Go | github.com/google/cel-go | 0.26.1 | 间接 |
| Go | github.com/google/uuid | 1.6.0 | 间接 |
| Go | github.com/grpc-ecosystem/go-grpc-middleware/v2 | 2.1.0 | 间接 |
| Go | github.com/klauspost/compress | 1.17.9 | 间接 |
| Go | github.com/mattn/go-colorable | v0.1.12 | 间接 |
| Go | github.com/mattn/go-isatty | v0.0.14 | 间接 |
| Go | github.com/matttproud/golang_protobuf_extensions | 1.0.1 | 间接 |
| Go | github.com/munnerz/goautoneg | 0.0.0-20191010083416-a7dc8b61c822 | 间接 |
| Go | github.com/oklog/run | 1.2.0 | 间接 |
| Go | github.com/pmezard/go-difflib | 1.0.0 | 间接 |
| Go | github.com/prometheus/client_golang | 1.14.0 | 间接 |
| Go | github.com/prometheus/client_golang | 1.20.5 | 间接 |
| Go | github.com/prometheus/client_model | 0.3.0 | 间接 |
| Go | github.com/prometheus/client_model | 0.6.1 | 间接 |
| Go | github.com/prometheus/common | 0.37.0 | 间接 |
| Go | github.com/prometheus/common | 0.55.0 | 间接 |
| Go | github.com/prometheus/procfs | 0.15.1 | 间接 |
| Go | github.com/prometheus/procfs | 0.8.0 | 间接 |
| Go | github.com/rs/zerolog | v1.29.0 | 间接 |
| Go | github.com/sirupsen/logrus | v1.9.0 | 间接 |
| Go | github.com/stoewer/go-strcase | 1.3.1 | 间接 |
| Go | go.opentelemetry.io/auto/sdk | 1.1.0 | 间接 |
| Go | go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc | 0.56.0 | 间接 |
| Go | go.opentelemetry.io/otel | 1.36.0 | 间接 |
| Go | go.opentelemetry.io/otel/exporters/stdout/stdouttrace | 1.31.0 | 间接 |
| Go | go.opentelemetry.io/otel/metric | 1.36.0 | 间接 |
| Go | go.opentelemetry.io/otel/sdk | 1.36.0 | 间接 |
| Go | go.opentelemetry.io/otel/trace | 1.36.0 | 间接 |
| Go | go.uber.org/atomic | v1.7.0 | 间接 |
| Go | go.uber.org/multierr | v1.6.0 | 间接 |
| Go | go.uber.org/zap | v1.24.0 | 间接 |
| Go | golang.org/x/exp | 0.0.0-20250620022241-b7579e27df2b | 间接 |
| Go | golang.org/x/sys | 0.33.0 | 间接 |
| Go | golang.org/x/sys | 0.38.0 | 间接 |
| Go | golang.org/x/sys | v0.38.0 | 间接 |
| Go | golang.org/x/text | 0.25.0 | 间接 |
| Go | golang.org/x/text | 0.31.0 | 间接 |
| Go | golang.org/x/text | v0.31.0 | 间接 |
| Go | google.golang.org/genproto/googleapis/api | 0.0.0-20250603155806-513f23925822 | 间接 |
| Go | google.golang.org/genproto/googleapis/rpc | 0.0.0-20250528174236-200df99c418a | 间接 |
| Go | google.golang.org/genproto/googleapis/rpc | 0.0.0-20250603155806-513f23925822 | 间接 |
| Go | google.golang.org/genproto/googleapis/rpc | v0.0.0-20250603155806-513f23925822 | 间接 |
| Go | gopkg.in/yaml.v3 | 3.0.1 | 间接 |
| Go | k8s.io/klog/v2 | v2.90.1 | 间接 |
该仓库未发布可被索引解析的包,因此评估的是其自身的依赖图——共 70 个包,其中也包含从不交付的开发与测试版本固定:16 个存在已知公告,5 个为直接依赖。
| 软件包 | 版本 | 关系 | 严重程度 | 公告数 | 修复版本 |
|---|---|---|---|---|---|
| google.golang.org/grpc | 1.74.2 | 直接 | 严重 | 4 | 1.82.1 |
| google.golang.org/grpc | v1.74.2 | 直接 | 严重 | 4 | 1.82.1 |
| github.com/sirupsen/logrus | v1.9.0 | 间接 | 高 | 2 | 1.9.3 |
| go.opentelemetry.io/otel | 1.36.0 | 间接 | 高 | 2 | 1.41.0 |
| go.opentelemetry.io/otel/sdk | 1.36.0 | 间接 | 高 | 4 | 1.43.0 |
| golang.org/x/net | 0.40.0 | 直接 | 中 | 11 | 1.27.0-rc.3 |
| golang.org/x/net | 0.47.0 | 直接 | 中 | 9 | 1.27.0-rc.3 |
| golang.org/x/net | v0.47.0 | 直接 | 中 | 9 | 1.27.0-rc.3 |
| github.com/google/cel-go | 0.26.1 | 间接 | 中 | 2 | 0.30.0 |
| github.com/klauspost/compress | 1.17.9 | 间接 | 未知 | 1 | 1.18.7 |
| golang.org/x/sys | 0.33.0 | 间接 | 未知 | 1 | 0.44.0 |
| golang.org/x/sys | 0.38.0 | 间接 | 未知 | 1 | 0.44.0 |
| golang.org/x/sys | v0.38.0 | 间接 | 未知 | 1 | 0.44.0 |
| golang.org/x/text | 0.25.0 | 间接 | 未知 | 1 | 0.39.0 |
| golang.org/x/text | 0.31.0 | 间接 | 未知 | 1 | 0.39.0 |
| golang.org/x/text | v0.31.0 | 间接 | 未知 | 1 | 0.39.0 |
公告表示依赖图中记录的版本落入某条公告的受影响范围。可达性未经分析,且依赖图包含开发与测试的版本固定——某项发现可能只涉及工具链而非交付的软件。
发现这份报告有不准确之处,或有想法要分享?错误的测量、未识别的工具、建议、疑问——都欢迎提出。每条消息都会被阅读并得到回复。