dotnet / yarp
A toolkit for developing high-performance HTTP reverse proxy applications.
dotnet/yarp 的健康指数为 100 分中的 93 分,处于「卓越」区间。 其得分最高的类别是Community & Adoption(94/100),最低的是Security(65/100)。 最近一次更新在 5 天前。 近期的大部分工作由 2 位贡献者完成。
软件健康指数
指标归入加权类别,统一采用 1–100 量表。总体分先取类别加权平均,再依据公开记录的分布进行校准,使各等级具有百分位含义;当公开证据触发高风险司法辖区政策时,评级会按政策调整,并设置 34(存在风险)的上限。
评分画像
每条轴代表一个类别。形状比平均值更重要——健康的对象会填满整个图形,而“一峰一谷”式画像意味着某一维度的优势正掩盖另一维度的风险。
加权总体分 79 经校准后在公布的指数量表上为 93(记录校准 2026-08-02)。
所有权
软件包生态系统
| 注册表 | 软件包 | 版本 | 月下载量 | 版本数 | 最近发布 | 标签 |
|---|---|---|---|---|---|---|
| NuGet | Yarp.ReverseProxy | 2.3.0 | - | 10 | 603 天前 | yarpdotnetreverse-proxyaspnetcore |
| NuGet | Yarp.Telemetry.Consumption | 2.3.0 | - | 10 | 603 天前 | yarpdotnetreverse-proxyaspnetcoretelemetry |
按类别列示的指标
活力
项目是否仍有生命——是否仍在编写代码,是否仍在发布版本?
开发活跃度
评分方式
| 36/36 | 推送新近度 — 最近一次推送于 5 天前 |
| 20.8/36 | 提交节奏 — 52 周中有 30 周有提交 |
| 15.2/18 | 提交量 — 最近一年 48 次提交 |
| 10/10 | OpenSSF Scorecard:Maintained — 11 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10 |
所用输入
| 最近一年提交数 | 48 |
| 由人类编写的提交占比 | 0.47 |
| 距最近推送天数 | 5 |
| 最近一年有提交的周数 | 30 |
发布纪律
评分方式
| 27/27 | 有发布版本 — 已发布 29 个发布版本 |
| 7.2/36 | 发布时效 — 最近一次发布版本于 603 天前 |
| 19.8/27 | 发布节奏 — 约每 108.1 天发布一次 |
| 0/10 | OpenSSF Scorecard:Signed-Releases — 无数据 |
所用输入
| 发布版本数 | 29 |
| 最近发布版本的标签 | v2.3.0 |
| 发布版本由版本标签推导 | 否 |
| 距最近发布版本天数 | 603 |
| 发布版本之间的平均间隔天数 | 108.1 |
社区与采用
项目是否拥有用户、下载量与关注度,并具备欢迎贡献者参与的配置?
流行度与采用
评分方式
| 60/60 | 星标 — 9,635 个星标 |
| 24.7/25 | 复刻 — 932 个复刻 |
| 13.5/15 | 关注者 — 267 位关注者 |
所用输入
| 复刻 | 932 |
| 星标 | 9,635 |
| 关注者 | 267 |
| 增长真实性状态 | unverified |
| 应用于星标与复刻的乘数(%) | 100 |
| 无法评估增长的原因 | no_history |
社区健康
评分方式
| 22.5/22.5 | README |
| 22.5/22.5 | 许可证 — 可识别的许可证(MIT) |
| 18/18 | CONTRIBUTING 指南 |
| 13.5/13.5 | 行为准则 |
| 0/7.2 | 议题模板 |
| 0/6.3 | PR 模板 |
所用输入
| 存在 README | 是 |
| 存在许可证文件 | 是 |
| README 中的徽章数 | 0 |
| 存在 CONTRIBUTING 指南 | 是 |
| 存在议题模板 | 否 |
| 存在行为准则 | 是 |
| README 中使用的徽章服务 | — |
| 存在拉取请求模板 | 否 |
生态采用(下载量)
评分方式
| 80/80 | 累计下载量 — nuget 合计历史 87,744,566 次下载 |
| 0/20 | 注册表被依赖数 — 该生态系统不报告此项 |
所用输入
| 软件包 | Yarp.ReverseProxy, Yarp.Telemetry.Consumption |
| 注册表被依赖数 | — |
| 软件包生态系统 | nuget |
| 累计下载量 | 87,744,566 |
| 月度下载量 | — |
| 因未经验证而排除的软件包 | — |
可持续性与治理
项目能否在其成员之外延续——巴士系数、响应能力、由谁支持,以及软件包的维护状况?
维护者韧性(巴士系数)
评分方式
| 25.2/54 | 巴士系数 — 2 位贡献者贡献了半数提交 |
| 16/22.5 | 提交分布 — 头号贡献者编写了 29% 的提交 |
| 13.5/13.5 | 贡献者广度 — 96 位贡献者 |
| 10/10 | OpenSSF Scorecard:Contributors — project has 20 contributing companies or organizations |
所用输入
| 巴士系数 | 2 |
| 抽样的贡献者数 | 96 |
| 头号贡献者的提交占比 | 0.291 |
议题与 PR 响应能力
评分方式
| 35.3/42 | 议题解决 — 84% 的议题已关闭 |
| 27.8/30 | PR 接受 — 已裁定的 PR 中 1,335/1,440 已合并 |
| 0/13 | Newcomer PR acceptance — 30 天内没有首次贡献者的 PR 得到裁决 |
| 15/15 | OpenSSF Scorecard:Code-Review — all changesets reviewed |
所用输入
| 已合并的拉取请求 | 1,335 |
| 开放议题 | 187 |
| 已关闭议题 | 982 |
| 最近 7 天内已合并的拉取请求 | 0 |
| 最近 7 天内已裁定的拉取请求 | 0 |
| 最近 30 天内已合并的拉取请求 | 0 |
| 最近 30 天内已裁定的拉取请求 | 1 |
| 已关闭议题占比 | 0.84 |
| 未合并即关闭的拉取请求 | 105 |
| 最近 30 天内有拉取请求得到裁决的首次贡献者数 | 0 |
| 最近 30 天内已合并的首次贡献者拉取请求 | 0 |
| 最近 30 天内已裁定的首次贡献者拉取请求 | 0 |
所有权与托管责任
评分方式
| 30/30 | 所有权背书 — 组织持有 |
| 20/20 | 已验证域名 |
| 25/25 | 所有者影响力 — dotnet 有 23,589 位关注者 |
| 25/25 | 既往记录 — 280 个公开仓库,账户约 12 年 |
所用输入
| 关注者 | 23,589 |
| 所有者账户类型 | Organization |
| 已验证域名 | 是 |
| 所有者账户 | dotnet |
| 公开仓库数 | 280 |
| 所有者账户年龄(天) | 4,396 |
软件包维护
评分方式
| 25/25 | 已发布且可解析 — nuget 上有 2 个软件包 |
| 14/35 | 发布时效 — 最近一次发布于 603 天前 |
| 20/20 | 版本历史 — 10 个已发布版本 |
| 20/20 | 未被弃用 — 活跃,未被弃用或撤回 |
所用输入
| 软件包 | Yarp.ReverseProxy, Yarp.Telemetry.Consumption |
| 软件包生态系统 | nuget |
| 存在已弃用或撤回的软件包 | 否 |
| 距最近一次软件包发布天数 | 603 |
工程质量
基础的工程与文档实践是否到位?
工程实践
评分方式
| 24/24 | CI 工作流 — 2 个工作流 |
| 24/24 | 存在测试 |
| 0/16 | Linter 配置 |
| 0/9.6 | Pre-commit 钩子 |
| 6.4/6.4 | .editorconfig |
| 20/20 | OpenSSF Scorecard:CI-Tests — 25 out of 25 merged PRs checked by a CI test -- score normalized to 10 |
所用输入
| 存在 CI 工作流 | 是 |
| 存在测试 | 是 |
| 存在 .editorconfig | 是 |
| 存在 Linter 配置 | 否 |
| 存在 Pre-commit 配置 | 否 |
文档
评分方式
| 30/30 | README |
| 25/25 | 文档目录 |
| 15/15 | 文档 / 主页站点 — https://yarp.dot.net |
| 10/10 | 仓库描述 |
| 0/10 | 主题标签 |
| 10/10 | Wiki |
所用输入
| 仓库主题标签 | — |
| 已启用 Wiki | 是 |
| 仓库主页 | https://yarp.dot.net |
| 文档站点 | https://yarp.dot.net |
| 存在 README | 是 |
| 存在文档目录 | 是 |
| 存在仓库描述 | 是 |
安全
可见的安全与供应链实践是否稳固,且不存在未解决的高风险司法辖区暴露?
安全态势
评分方式
| 7.5/7.5 | Binary-Artifacts — no binaries found in the repo |
| 6/7.5 | Branch-Protection — branch protection is not maximal on development and all release branches |
| 2.5/2.5 | CI-Tests — 25 out of 25 merged PRs checked by a CI test -- score normalized to 10 |
| 0/2.5 | CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected |
| 7.5/7.5 | Code-Review — all changesets reviewed |
| 2.5/2.5 | Contributors — project has 20 contributing companies or organizations |
| 10/10 | Dangerous-Workflow — no dangerous workflow patterns detected |
| 0/7.5 | Dependency-Update-Tool — no update tool detected |
| 0/5 | Fuzzing — project is not fuzzed |
| 2.5/2.5 | 许可证 — license file detected |
| 7.5/7.5 | Maintained — 11 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10 |
| 5/5 | Packaging — packaging workflow detected |
| 0/5 | Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0 |
| 0/5 | SAST — SAST tool is not run on all commits -- score normalized to 0 |
| 5/5 | Security-Policy — security policy file detected |
| 0/7.5 | Signed-Releases — 无数据 |
| 0/7.5 | Token-Permissions — detected GitHub workflow tokens with excessive permissions |
| 7.5/7.5 | Vulnerabilities — 0 existing vulnerabilities detected |
所用输入
| 数据来源 | openssf_scorecard |
| 已评估的 Scorecard 检查数 | 17 |
| OpenSSF Scorecard 版本 | v5.5.0 |
| 无定论的 Scorecard 检查数 | 1 |
| OpenSSF Scorecard 综合得分 | 6.5 |
AI 就绪度
该仓库在多大程度上具备与 AI 编码代理协同开发与维护的条件?权重刻意设小(4%):代理工具链是一项真实的维护信号,但完全不具备的仓库仍可达到 100/100。
AI 代理上下文与指引
评分方式
| 45/45 | 代理指令 — eng/common/AGENTS.md |
| 0/15 | 机器可读文档(llms.txt) |
| 40/40 | 可读的提交历史 — 47 次人类提交中有 44 次说明了意图(结构化标题或解释性正文) |
所用输入
| 存在 llms.txt | 否 |
| 项目网站上 llms.txt 的地址 | — |
| 说明了意图的人类提交占比 | 0.936 |
| 代理指令文件 | eng/common/AGENTS.md |
| 最大代理指令文件的大小(字节) | 326 |
评分方式
| 12.6/18 | 一条命令的引导启动 — eng/common/internal/Tools.csproj, eng/yarpapppack/yarpapppack-linux-arm64.csproj, eng/yarpapppack/yarpapppack-linux-x64.csproj(工具链约定,无任务运行器) |
| 22/22 | 自动化测试 |
| 0/11 | Lint / 格式化配置 |
| 11/11 | 静态类型检查 — C#(静态类型) |
| 10/10 | 可复现环境 — Dockerfile |
| 10/10 | 已体现的代理实践 — 最近 100 次提交中有 11 次由代理编写或署名代理 |
| 0/8 | 自动化维护 — 未观察到自动依赖更新 |
| 0/10 | OpenSSF Scorecard:Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0 |
所用输入
| 存在 Nix 配置 | 否 |
| 存在测试 | 是 |
| 依赖锁定文件 | — |
| 存在 Dockerfile | 是 |
| 主要语言为静态类型 | 是 |
| 一条命令引导启动的文件 | — |
| 存在 Dev Container 配置 | 否 |
| 存在 Linter 配置 | 否 |
| 类型检查配置文件 | — |
| 由代理编写或署名代理的提交占比 | 0.11 |
| 工具链清单 | eng/common/internal/Tools.csproj, eng/yarpapppack/yarpapppack-linux-arm64.csproj, eng/yarpapppack/yarpapppack-linux-x64.csproj, samples/BasicYarpSample/BasicYarpSample.csproj, samples/KubernetesIngress.Sample/Combined/Yarp.Kubernetes.IngressController.csproj, samples/KubernetesIngress.Sample/Ingress/Yarp.Kubernetes.Ingress.csproj, samples/KubernetesIngress.Sample/Monitor/Yarp.Kubernetes.Monitor.csproj, samples/KubernetesIngress.Sample/backend/backend.csproj, samples/Prometheus/HttpLoadApp/HttpLoadApp.csproj, samples/Prometheus/ReverseProxy.Metrics-Prometheus.Sample/ReverseProxy.Metrics.Prometheus.Sample.csproj, samples/ReverseProxy.Auth.Sample/ReverseProxy.Auth.Sample.csproj, samples/ReverseProxy.Code.Sample/ReverseProxy.Code.Sample.csproj, samples/ReverseProxy.Config.Sample/ReverseProxy.Config.Sample.csproj, samples/ReverseProxy.ConfigFilter.Sample/ReverseProxy.ConfigFilter.Sample.csproj, samples/ReverseProxy.Direct.Sample/ReverseProxy.Direct.Sample.csproj, samples/ReverseProxy.HttpSysDelegation.Sample/ReverseProxy/ReverseProxy.HttpSysDelegation.Sample.csproj, samples/ReverseProxy.HttpSysDelegation.Sample/SampleHttpSysServer/SampleHttpSysServer.csproj, samples/ReverseProxy.LetsEncrypt.Sample/ReverseProxy.LetsEncrypt.Sample.csproj, samples/ReverseProxy.Metrics.Sample/ReverseProxy.Metrics.Sample.csproj, samples/ReverseProxy.Transforms.Sample/ReverseProxy.Transforms.Sample.csproj, samples/SampleServer/SampleServer.csproj, src/Application/Yarp.Application.csproj, src/Kubernetes.Controller/Yarp.Kubernetes.Controller.csproj, src/ReverseProxy/Yarp.ReverseProxy.csproj, src/TelemetryConsumption/Yarp.Telemetry.Consumption.csproj, test/Application.Tests/Yarp.Application.Tests.csproj, test/Kubernetes.Tests/Yarp.Kubernetes.Tests.csproj, test/ReverseProxy.FunctionalTests/Yarp.ReverseProxy.FunctionalTests.csproj, test/ReverseProxy.Tests/Yarp.ReverseProxy.Tests.csproj, test/Tests.Common/Yarp.Tests.Common.csproj, testassets/BenchmarkApp/BenchmarkApp.csproj, testassets/ReverseProxy.Code/ReverseProxy.Code.csproj, testassets/ReverseProxy.Config/ReverseProxy.Config.csproj, testassets/ReverseProxy.Direct/ReverseProxy.Direct.csproj, testassets/TestClient/TestClient.csproj, testassets/TestServer/TestServer.csproj |
| 自动依赖更新提交占比 | 0 |
面向模型的代码可读性
评分方式
| 45/45 | 可类型检查的代码 — C#(静态类型) |
| 54.7/55 | 可控的文件大小 — 采样的 598 个源文件中有 3 个超过 60KB |
所用输入
| 主要语言 | C# |
| 最大源文件的大小(字节) | 136,218 |
| 采样的源文件数 | 598 |
| 过大的源文件数 | 3 |
机器可读接口
评分方式
| 0/40 | API 模式(OpenAPI/GraphQL/proto) |
| 0/20 | MCP 服务器 |
| 40/40 | 可运行示例 — samples |
所用输入
| 可运行示例目录 | samples |
| 存在 MCP 服务器信号 | 否 |
| API 模式文件 | — |
| 应当提供接口的软件类型 | network-service |
关键数据
数据采集警告
- Star history unavailable
- No resolved dependencies carried a version and a supported ecosystem
更多细节
Star 与 Fork 历史 0 ★ / 932 ⇿
每颗 star 和每个 fork 的添加时间,来自 GitHub 并按天汇总。累计增长位于其构成来源——每日新增——的正上方,二者可相互对照:稳定的自然增长与短暂的突增形态截然不同。当这一差别可被衡量时,它会作为增长真实性予以报告。
每个点涵盖 6 天。
OpenSSF Scorecard 6.5 / 10
来自开源项目 OpenSSF Scorecard 的独立、工具无关的安全评估。每项检查奖励的是安全实践本身,而非特定供应商的工具。Scorecard 无法判定的检查项标记为 不适用,并从安全评分中剔除(绝不按零分计)。
| 10 | Binary-Artifacts | no binaries found in the repo |
| 8 | Branch-Protection | branch protection is not maximal on development and all release branches |
| 10 | CI-Tests | 25 out of 25 merged PRs checked by a CI test -- score normalized to 10 |
| 0 | CII-Best-Practices | no effort to earn an OpenSSF best practices badge detected |
| 10 | Code-Review | all changesets reviewed |
| 10 | Contributors | project has 20 contributing companies or organizations |
| 10 | Dangerous-Workflow | no dangerous workflow patterns detected |
| 0 | Dependency-Update-Tool | no update tool detected |
| 0 | Fuzzing | project is not fuzzed |
| 10 | License | license file detected |
| 10 | Maintained | 11 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10 |
| 10 | Packaging | packaging workflow detected |
| 0 | Pinned-Dependencies | dependency not pinned by hash detected -- score normalized to 0 |
| 0 | SAST | SAST tool is not run on all commits -- score normalized to 0 |
| 10 | Security-Policy | security policy file detected |
| 不适用 | Signed-Releases | no releases found |
| 0 | Token-Permissions | detected GitHub workflow tokens with excessive permissions |
| 10 | Vulnerabilities | 0 existing vulnerabilities detected |
直接依赖 13
| 注册表 | 软件包 | 版本约束 | 清单文件 |
|---|---|---|---|
| NuGet | Yarp.ReverseProxy | $(YarpNugetVersion) | src/Application/Yarp.Application.csproj |
| NuGet | Microsoft.Extensions.ServiceDiscovery | $(MicrosoftExtensionsServiceDiscovery) | src/Application/Yarp.Application.csproj |
| NuGet | Microsoft.Extensions.ServiceDiscovery.Yarp | $(MicrosoftExtensionsServiceDiscoveryYarp) | src/Application/Yarp.Application.csproj |
| NuGet | OpenTelemetry.Exporter.OpenTelemetryProtocol | $(OpenTelemetryExporterOpenTelemetryProtocol) | src/Application/Yarp.Application.csproj |
| NuGet | OpenTelemetry.Extensions.Hosting | $(OpenTelemetryExtensionsHosting) | src/Application/Yarp.Application.csproj |
| NuGet | OpenTelemetry.Instrumentation.AspNetCore | $(OpenTelemetryInstrumentationAspNetCore) | src/Application/Yarp.Application.csproj |
| NuGet | OpenTelemetry.Instrumentation.Http | $(OpenTelemetryInstrumentationHttp) | src/Application/Yarp.Application.csproj |
| NuGet | OpenTelemetry.Instrumentation.Runtime | $(OpenTelemetryInstrumentationRuntime) | src/Application/Yarp.Application.csproj |
| NuGet | AspNetCore.HealthChecks.ApplicationStatus | $(AspNetCoreHealthChecksApplicationStatus) | src/Application/Yarp.Application.csproj |
| NuGet | KubernetesClient | $(KubernetesClientVersion) | src/Kubernetes.Controller/Yarp.Kubernetes.Controller.csproj |
| NuGet | YamlDotNet | $(YamlDotNetVersion) | src/Kubernetes.Controller/Yarp.Kubernetes.Controller.csproj |
| NuGet | System.IO.Hashing | $(SystemIOHashingVersion) | src/ReverseProxy/Yarp.ReverseProxy.csproj |
| NuGet | Microsoft.Crank.EventSources | $(MicrosoftCrankEventSourcesVersion) | testassets/BenchmarkApp/BenchmarkApp.csproj |
全部依赖 35
来自 GitHub 依赖图的完整解析依赖集合:13 个直接依赖与 22 个间接(传递)软件包。仓库提交锁文件时,传递闭包才是完整的。
| 注册表 | 软件包 | 版本 | 关系 |
|---|---|---|---|
| NuGet | AspNetCore.HealthChecks.ApplicationStatus | — | 直接 |
| NuGet | KubernetesClient | — | 直接 |
| NuGet | Microsoft.Crank.EventSources | — | 直接 |
| NuGet | Microsoft.Extensions.ServiceDiscovery | — | 直接 |
| NuGet | Microsoft.Extensions.ServiceDiscovery.Yarp | — | 直接 |
| NuGet | OpenTelemetry.Exporter.OpenTelemetryProtocol | — | 直接 |
| NuGet | OpenTelemetry.Extensions.Hosting | — | 直接 |
| NuGet | OpenTelemetry.Instrumentation.AspNetCore | — | 直接 |
| NuGet | OpenTelemetry.Instrumentation.Http | — | 直接 |
| NuGet | OpenTelemetry.Instrumentation.Runtime | — | 直接 |
| NuGet | System.IO.Hashing | — | 直接 |
| NuGet | YamlDotNet | — | 直接 |
| NuGet | Yarp.ReverseProxy | — | 直接 |
| NuGet | Autofac | — | 间接 |
| NuGet | Autofac.Extras.Moq | — | 间接 |
| NuGet | coverlet.collector | — | 间接 |
| NuGet | Drop.App | — | 间接 |
| NuGet | JsonSchema.Net | — | 间接 |
| NuGet | LettuceEncrypt | — | 间接 |
| NuGet | Microsoft.AspNetCore.Mvc.Testing | — | 间接 |
| NuGet | Microsoft.AspNetCore.TestHost | — | 间接 |
| NuGet | Microsoft.DotNet.IBCMerge | — | 间接 |
| NuGet | Microsoft.DotNet.XUnitV3Extensions | — | 间接 |
| NuGet | Microsoft.ManifestTool.CrossPlatform | — | 间接 |
| NuGet | Microsoft.VisualStudioEng.MicroBuild.Core | — | 间接 |
| NuGet | Microsoft.VisualStudioEng.MicroBuild.Plugins.SwixBuild | — | 间接 |
| NuGet | Moq | — | 间接 |
| NuGet | Newtonsoft.Json | — | 间接 |
| NuGet | Polly | — | 间接 |
| NuGet | prometheus-net.AspNetCore | — | 间接 |
| NuGet | Serilog.Extensions.Logging | — | 间接 |
| NuGet | Serilog.Formatting.Compact | — | 间接 |
| NuGet | Serilog.Sinks.Console | — | 间接 |
| NuGet | xunit.v3.assert | — | 间接 |
| NuGet | xunit.v3.extensibility.core | — | 间接 |
依赖安全公告 未评估
本报告未能完成公告比对:No resolved dependencies carried a version and a supported ecosystem
原始 JSON 报告 机器可读
反馈
发现这份报告有不准确之处,或有想法要分享?错误的测量、未识别的工具、建议、疑问——都欢迎提出。每条消息都会被阅读并得到回复。