公开记录
软件健康报告模式 0.34.0 · 指标 2.10.0 · 2026-08-22 10:26 UTC

AzureAD / microsoft-authentication-library-for-dotnet

Microsoft Authentication Library (MSAL) for .NET

C#MIT★ 1,502 星标⑂ 411 复刻始于 2015年10月在 GitHub 上查看 ↗

AzureAD/microsoft-authentication-library-for-dotnet 的健康指数为 100 分中的 98 分,处于「卓越」区间。 其得分最高的类别是Vitality(98/100),最低的是Community & Adoption(81/100)。 最近一次更新在今天。 近期的大部分工作由 3 位贡献者完成。

98
总分 / 100
卓越

软件健康指数

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

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

评分画像

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

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

所有权

805 关注者57 个公开仓库始于 2012年12月

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

按类别列示的指标

活力

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

98卓越 · 占总体的 21%
评分方式
36/36推送新近度最近一次推送于 0 天前
33.2/36提交节奏52 周中有 48 周有提交
18/18提交量最近一年 285 次提交
10/10OpenSSF Scorecard:Maintained30 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 10
所用输入
commits_last_year285
human_commit_share1
days_since_last_push0
active_weeks_last_year48

发布纪律

100卓越
评分方式
27/27有发布版本已发布 100 个发布版本
36/36发布时效最近一次发布版本于 1 天前
27/27发布节奏约每 10.3 天发布一次
0/10OpenSSF Scorecard:Signed-Releases无数据
所用输入
releases_count100
latest_release_tag4.88.0
releases_from_tags
days_since_latest_release1
mean_days_between_releases10.3
已排除计分(无数据或不适用):OpenSSF Scorecard:Signed-Releases。 其余权重已重新归一化。

社区与采用

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

81优秀 · 占总体的 17%
评分方式
51.5/60星标1,502 个星标
21.8/25复刻411 个复刻
11.1/15关注者100 位关注者
所用输入
forks411
stars1,502
watchers100
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history

社区健康

77良好
评分方式
22.5/22.5README
22.5/22.5许可证可识别的许可证(MIT)
18/18CONTRIBUTING 指南
0/13.5行为准则
0/7.2议题模板
6.3/6.3PR 模板
所用输入
has_readme
has_license
readme_badges1
has_contributing
has_issue_template
has_code_of_conduct
readme_badge_servicesshields.io
has_pull_request_template

可持续性与治理

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

86优秀 · 占总体的 23%
评分方式
36/54巴士系数3 位贡献者贡献了半数提交
16.3/22.5提交分布头号贡献者编写了 28% 的提交
13.5/13.5贡献者广度98 位贡献者
10/10OpenSSF Scorecard:Contributorsproject has 15 contributing companies or organizations
所用输入
bus_factor3
contributors_sampled98
top_contributor_share0.275
评分方式
39.1/42议题解决93% 的议题已关闭
24.4/30PR 接受已裁定的 PR 中 2,469/3,035 已合并
0/13Newcomer PR acceptance30 天内没有首次贡献者的 PR 得到裁决
15/15OpenSSF Scorecard:Code-Reviewall changesets reviewed
所用输入
merged_prs2,469
open_issues212
closed_issues2,807
prs_merged_7d3
prs_decided_7d4
prs_merged_30d16
prs_decided_30d22
issue_closed_ratio0.93
closed_unmerged_prs566
first_time_authors_30d0
first_time_prs_merged_30d0
first_time_prs_decided_30d0
已排除计分(无数据或不适用):Newcomer PR acceptance。 其余权重已重新归一化。
评分方式
30/30所有权背书组织持有
0/20已验证域名未读取该组织的域名验证状态
20.9/25所有者影响力AzureAD 有 805 位关注者
24.8/25既往记录57 个公开仓库,账户约 13 年
所用输入
followers805
owner_typeOrganization
is_verified
owner_loginAzureAD
public_repos57
account_age_days5,008
已排除计分(无数据或不适用):已验证域名。 其余权重已重新归一化。

工程质量

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

84优秀 · 占总体的 19%

工程实践

74良好
评分方式
24/24CI 工作流5 个工作流
24/24存在测试
0/16Linter 配置
0/9.6Pre-commit 钩子
6.4/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://aka.ms/msal-net
10/10仓库描述
10/10主题标签8 个主题标签
10/10Wiki
所用输入
topicsmsal, netcore, identity, dotnet, microsoft, azure-active-directory, maui, wam
has_wiki
homepagehttps://aka.ms/msal-net
docs_sitehttps://aka.ms/msal-net
has_readme
has_docs_dir
has_description

安全

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

90优秀 · 占总体的 16%

安全态势

88优秀
评分方式
7.5/7.5Binary-Artifactsno binaries found in the repo
6.8/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.5/2.5CII-Best-Practicesbadge detected: InProgress
7.5/7.5Code-Reviewall changesets reviewed
2.5/2.5Contributorsproject has 15 contributing companies or organizations
0/10Dangerous-Workflow无数据
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 4 issue activity found in the last 90 days -- score normalized to 10
0/5Packaging无数据
0/5Pinned-Dependencies无数据
0/5SAST无数据
5/5Security-Policysecurity policy file detected
0/7.5Signed-Releases无数据
0/7.5Token-Permissions无数据
7.5/7.5Vulnerabilities0 existing vulnerabilities detected
所用输入
sourceopenssf_scorecard
checks_evaluated12
scorecard_versionv5.5.0
checks_inconclusive6
scorecard_aggregate8.8
已排除计分(无数据或不适用):Dangerous-Workflow, Packaging, Pinned-Dependencies, SAST, Signed-Releases, Token-Permissions。 其余权重已重新归一化。
评分方式
35/35直接依赖不含已知公告没有直接依赖携带已知公告
0/25间接依赖不含已知公告在此范围内,传递依赖集合无法与开发和测试依赖区分
0/40没有长期未处理的公告没有公告带有发布日期
所用输入
sourceosv
advisories0
affected_packages0
assessed_packages15
unassessed_packages53
affected_by_severitynone
direct_affected_packages0
已排除计分(无数据或不适用):间接依赖不含已知公告, 没有长期未处理的公告。 其余权重已重新归一化。 已将 15 个已解析依赖与 OSV 比对。 有 53 项无法评估——没有已解析的版本、生态系统不受支持,或超出所报告的软件包清单。 该仓库未发布任何索引可解析的软件包,因此改为评估仓库依赖图。该图将开发与测试版本固定同交付的依赖混在一起,因此仅对声明的运行时依赖计分;传递性发现仅作为背景信息列出,不计入评分。 未对可达性进行分析。

AI 就绪度

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

82优秀 · 占总体的 4%
评分方式
45/45代理指令.github/copilot-instructions.md, .github/instructions/src.instructions.md, .github/instructions/telemetry.instructions.md, .github/instructions/tests.instructions.md, AGENTS.md
0/15机器可读文档(llms.txt)
40/40可读的提交历史100 次人类提交中有 90 次说明了意图(结构化标题或解释性正文)
所用输入
has_llms_txt
llms_txt_url
legible_history_share0.9
agent_instruction_files.github/copilot-instructions.md, .github/instructions/src.instructions.md, .github/instructions/telemetry.instructions.md, .github/instructions/tests.instructions.md, AGENTS.md
agent_instruction_max_bytes23,552
评分方式
12.6/18一条命令的引导启动prototype/KeyGuardMaa/KeyGuardDemo.csproj, prototype/MsiV2DemoApp/MsiV2DemoApp.csproj, prototype/MsiWithSlc/MsiSlcPublicApis/MsiSlcPublicApis/MsiSlcPublicApis.csproj(工具链约定,无任务运行器)
22/22自动化测试
0/11Lint / 格式化配置
11/11静态类型检查C#(静态类型)
10/10可复现环境devcontainer, Dockerfile
10/10已体现的代理实践最近 100 次提交中有 55 次由代理编写或署名代理
0/8自动化维护未观察到自动依赖更新
0/10OpenSSF Scorecard:Pinned-Dependencies无数据
所用输入
has_nix
has_tests
lockfiles
has_dockerfile
typed_language
bootstrap_files
has_devcontainer
has_linter_config
typecheck_configs
agent_commit_share0.55
toolchain_manifestsprototype/KeyGuardMaa/KeyGuardDemo.csproj, prototype/MsiV2DemoApp/MsiV2DemoApp.csproj, prototype/MsiWithSlc/MsiSlcPublicApis/MsiSlcPublicApis/MsiSlcPublicApis.csproj, src/client/Microsoft.Identity.Client.Broker/Microsoft.Identity.Client.Broker.csproj, src/client/Microsoft.Identity.Client.Desktop.WinUI3/Microsoft.Identity.Client.Desktop.WinUI3.csproj, src/client/Microsoft.Identity.Client.Desktop/Microsoft.Identity.Client.Desktop.csproj, src/client/Microsoft.Identity.Client.Extensions.Msal/Microsoft.Identity.Client.Extensions.Msal.csproj, src/client/Microsoft.Identity.Client.KeyAttestation/Microsoft.Identity.Client.KeyAttestation.csproj, src/client/Microsoft.Identity.Client/Microsoft.Identity.Client.csproj, src/client/Microsoft.Identity.Lab.Api/Microsoft.Identity.Lab.Api.csproj, tests/CacheCompat/CommonCache.Test.Common/CommonCache.Test.Common.csproj, tests/CacheCompat/CommonCache.Test.MsalJava/CommonCache.Test.MsalJava.csproj, tests/CacheCompat/CommonCache.Test.MsalJava/pom.xml, tests/CacheCompat/CommonCache.Test.MsalV3/CommonCache.Test.MsalV3.csproj, tests/CacheCompat/CommonCache.Test.Unit/CommonCache.Test.Unit.csproj, tests/Microsoft.Identity.Test.Common/Microsoft.Identity.Test.Common.csproj, tests/Microsoft.Identity.Test.E2e/Microsoft.Identity.Test.E2E.MSI.csproj, tests/Microsoft.Identity.Test.Integration.netcore/Microsoft.Identity.Test.Integration.NetCore.csproj, tests/Microsoft.Identity.Test.Integration.netfx/Microsoft.Identity.Test.Integration.NetFx.csproj, tests/Microsoft.Identity.Test.Performance/Microsoft.Identity.Test.Performance.csproj, tests/Microsoft.Identity.Test.Unit/Microsoft.Identity.Test.Unit.csproj, tests/devapps/CacheExtension/CacheExtension.csproj, tests/devapps/DesktopTestApp/DesktopTestApp.csproj, tests/devapps/FociTestApp/FociTestApp.csproj, tests/devapps/MacConsoleAppWithBroker/MacConsoleAppWithBroker.csproj, tests/devapps/MacMauiAppWithBroker/MacMauiAppWithBroker.csproj, tests/devapps/Managed Identity apps/ManagedIdentityAppVM/ManagedIdentityAppVM.csproj, tests/devapps/Managed Identity apps/ManagedIdentityTokenRevocation/ManagedIdentityTokenRevocation.csproj, tests/devapps/Managed Identity apps/ManagedIdentityWebApi/ManagedIdentityWebApi.csproj, tests/devapps/MauiApps/MauiAppB2C/MauiB2C.csproj, tests/devapps/MauiApps/MauiAppBasic/MauiAppBasic.csproj, tests/devapps/MauiApps/MauiAppWithBroker/MauiAppWithBroker.csproj, tests/devapps/MultiCloudTestApp/MultiCloudTestApp.csproj, tests/devapps/Net5TestApp/Net5TestApp.csproj, tests/devapps/NetCoreTestApp/NetCoreTestApp.csproj, tests/devapps/NetFxConsoleTestApp/NetFxConsoleApp.csproj, tests/devapps/RegionalTestApp/RegionalTestApp.csproj, tests/devapps/TestTelemetry/TestTelemetry.csproj, tests/devapps/WAM/MSIX/WPF/WPF.csproj, tests/devapps/WAM/NetCoreWinFormsWam/NetCoreWinFormsWAM.csproj, tests/devapps/WAM/NetDesktopWpf/NetDesktopWpfWAM.csproj, tests/devapps/WAM/NetFrameworkWam/NetDesktopWinFormsWAM.csproj, tests/devapps/WAM/NetWSLWam/test.csproj, tests/devapps/WAM/WAMCallsIntoClassLibrary/WAMCallsIntoClassLibrary.csproj, tests/devapps/WAM/WAMClassLibrary/WAMClassLibrary.csproj, tests/devapps/WAM/WAMMauiApp/WAMMauiApp/WAMMauiApp.csproj, tests/devapps/WebApi/WebApi.csproj, tests/devapps/WinFormsTestApp/WinFormsTestApp.csproj, tests/devapps/WinUI3PackagedSampleApp/WinUI3PackagedSampleApp.csproj
dependency_bot_commit_share0
已排除计分(无数据或不适用):OpenSSF Scorecard:Pinned-Dependencies。 其余权重已重新归一化。
评分方式
45/45可类型检查的代码C#(静态类型)
54.3/55可控的文件大小采样的 1,114 个源文件中有 14 个超过 60KB
所用输入
primary_languageC#
largest_source_bytes149,077
source_files_sampled1,114
oversized_source_files14

关键数据

1,502GitHub 星标
98贡献者
285最近 12 个月提交数
0距最近推送天数
100发布版本数
3巴士系数(bus factor)
212开放议题
软件包生态系统数

数据采集警告

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token

更多细节

Star 与 Fork 历史 0 ★ / 411 ⇿
0Star
411Fork
99发布

每颗 star 和每个 fork 的添加时间,来自 GitHub 并按天汇总。累计增长位于其构成来源——每日新增——的正上方,二者可相互对照:稳定的自然增长与短暂的突增形态截然不同。当这一差别可被衡量时,它会作为增长真实性予以报告。

010020030040050040662016-042021-062026-07
主版本 0次版本 53修订 43

每个点涵盖 10 天。

OpenSSF Scorecard 8.8 / 10
8.8综合

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

10Binary-Artifactsno binaries found in the repo
9Branch-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
2CII-Best-Practicesbadge detected: InProgress
10Code-Reviewall changesets reviewed
10Contributorsproject has 15 contributing companies or organizations
不适用Dangerous-Workflowinternal error: internal error: invalid GitHub workflow: :111:0: could not parse as YAML: could not find expected ':' [syntax-check]
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained30 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 10
不适用Packaginginternal error: internal error: invalid GitHub workflow: :111:0: could not parse as YAML: could not find expected ':' [syntax-check]
不适用Pinned-Dependenciesinternal error: internal error: invalid GitHub workflow: :111:0: could not parse as YAML: could not find expected ':' [syntax-check]
不适用SASTinternal error: internal error: invalid GitHub workflow: :111:0: could not parse as YAML: could not find expected ':' [syntax-check]
10Security-Policysecurity policy file detected
不适用Signed-Releasesno releases found
不适用Token-Permissionsinternal error: internal error: invalid GitHub workflow: :111:0: could not parse as YAML: could not find expected ':' [syntax-check]
10Vulnerabilities0 existing vulnerabilities detected
直接依赖 4
注册表软件包版本约束清单文件
NuGetMicrosoft.Azure.Security.KeyGuardAttestation1.1.1prototype/KeyGuardMaa/KeyGuardDemo.csproj
NuGetMicrosoft.Identity.Client4.72.1prototype/KeyGuardMaa/KeyGuardDemo.csproj
NuGetMicrosoft.Identity.Clientprototype/MsiV2DemoApp/MsiV2DemoApp.csproj
NuGetMicrosoft.Identity.Client.KeyAttestationprototype/MsiV2DemoApp/MsiV2DemoApp.csproj
全部依赖 68

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

注册表软件包版本关系
NuGetMicrosoft.Azure.Security.KeyGuardAttestation直接
NuGetMicrosoft.Azure.Security.KeyGuardAttestation1.1.1直接
NuGetMicrosoft.Identity.Client直接
NuGetMicrosoft.Identity.Client4.72.1直接
NuGetMicrosoft.Identity.Client.KeyAttestation直接
Mavencom.google.code.gson:gson间接
Mavencom.microsoft.azure:msal4jLATEST间接
Mavenorg.apache.maven.plugins:maven-compiler-plugin间接
NuGetAzure.Security.KeyVault.Certificates间接
NuGetAzure.Security.KeyVault.Secrets间接
NuGetBenchmarkDotNet0.13.12间接
NuGetBenchmarkDotNet.Diagnostics.Windows0.13.12间接
NuGetCommandLineParser间接
NuGetcoverlet.collector间接
NuGetLegacy2CPSWorkaround1.0.0间接
NuGetMicrosoft.AspNet.WebApi.Client间接
NuGetMicrosoft.CodeAnalysis.RulesetToEditorconfigConverter间接
NuGetMicrosoft.Extensions.Logging.Debug8.0.1间接
NuGetMicrosoft.Identity.Client.NativeInterop间接
NuGetMicrosoft.Identity.Web.TokenCache间接
NuGetMicrosoft.IdentityModel.Abstractions间接
NuGetMicrosoft.IdentityModel.JsonWebTokens间接
NuGetMicrosoft.IdentityModel.Protocols.SignedHttpRequest间接
NuGetMicrosoft.Maui.Controls间接
NuGetMicrosoft.Maui.Controls8.0.83间接
NuGetMicrosoft.Maui.Controls.Compatibility间接
NuGetMicrosoft.NET.Test.Sdk间接
NuGetMicrosoft.NET.Test.Sdk17.9.0间接
NuGetMicrosoft.Web.WebView2间接
NuGetMicrosoft.Windows.SDK.BuildTools间接
NuGetMicrosoft.Windows.SDK.BuildTools10.0.26100.6901间接
NuGetMicrosoft.WindowsAppSDK间接
NuGetMicrosoft.WindowsAppSDK1.8.251003001间接
NuGetMSTest.TestAdapter间接
NuGetMSTest.TestAdapter4.0.2间接
NuGetMSTest.TestFramework间接
NuGetMSTest.TestFramework4.0.2间接
NuGetNewtonsoft.Json间接
NuGetNewtonsoft.Json13.0.1间接
NuGetNSubstitute间接
NuGetNSubstitute.Analyzers.CSharp间接
NuGetNuGet.Versioning间接
NuGetNUnit间接
NuGetNUnit3TestAdapter间接
NuGetOpenTelemetry.Exporter.Console间接
NuGetOpenTelemetry.Exporter.InMemory间接
NuGetPolly间接
NuGetSelenium.Support间接
NuGetSelenium.WebDriver间接
NuGetStrongNamer间接
NuGetSystem.Diagnostics.DiagnosticSource间接
NuGetSystem.Formats.Asn1间接
NuGetSystem.IdentityModel.Tokens.Jwt间接
NuGetSystem.IO.FileSystem.AccessControl间接
NuGetSystem.Net.Http间接
NuGetSystem.Private.Uri间接
NuGetSystem.Reflection.TypeExtensions间接
NuGetSystem.Security.Cryptography.Cng间接
NuGetSystem.Security.Cryptography.Cng5.0.0间接
NuGetSystem.Security.Cryptography.ProtectedData间接
NuGetSystem.Text.Json间接
NuGetSystem.Threading间接
NuGetSystem.Threading.Tasks间接
NuGetSystem.Threading.Tasks.Parallel间接
NuGetSystem.Threading.Thread间接
NuGetSystem.ValueTuple间接
NuGetSystem.Windows.Forms间接
NuGetXamarin.AndroidX.Browser间接
依赖安全公告 0

该仓库未发布可被索引解析的包,因此评估的是其自身的依赖图——共 15 个包,其中也包含从不交付的开发与测试版本固定:0 个存在已知公告,0 个为直接依赖。 有 53 个无法评估——没有已解析的版本、生态系统不受支持,或不在所列包清单之内。

没有已知公告影响已评估的依赖。

公告表示依赖图中记录的版本落入某条公告的受影响范围。可达性未经分析,且依赖图包含开发与测试的版本固定——某项发现可能只涉及工具链而非交付的软件。

原始 JSON 报告 机器可读

反馈

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

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

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

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

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