Microsoft Authentication Library (MSAL) for .NET
AzureAD/microsoft-authentication-library-for-dotnet 的健康指数为 100 分中的 98 分,处于「卓越」区间。 其得分最高的类别是Vitality(98/100),最低的是Community & Adoption(81/100)。 最近一次更新在今天。 近期的大部分工作由 3 位贡献者完成。
指标归入加权类别,统一采用 1–100 量表。总体分先取类别加权平均,再依据公开记录的分布进行校准,使各等级具有百分位含义;当公开证据触发高风险司法辖区政策时,评级会按政策调整,并设置 34(存在风险)的上限。
每条轴代表一个类别。形状比平均值更重要——健康的对象会填满整个图形,而“一峰一谷”式画像意味着某一维度的优势正掩盖另一维度的风险。
加权总体分 88 经校准后在公布的指数量表上为 98(记录校准 2026-08-02)。
项目是否仍有生命——是否仍在编写代码,是否仍在发布版本?
| 36/36 | 推送新近度 — 最近一次推送于 0 天前 |
| 33.2/36 | 提交节奏 — 52 周中有 48 周有提交 |
| 18/18 | 提交量 — 最近一年 285 次提交 |
| 10/10 | OpenSSF Scorecard:Maintained — 30 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 10 |
| commits_last_year | 285 |
| human_commit_share | 1 |
| days_since_last_push | 0 |
| active_weeks_last_year | 48 |
| 27/27 | 有发布版本 — 已发布 100 个发布版本 |
| 36/36 | 发布时效 — 最近一次发布版本于 1 天前 |
| 27/27 | 发布节奏 — 约每 10.3 天发布一次 |
| 0/10 | OpenSSF Scorecard:Signed-Releases — 无数据 |
| releases_count | 100 |
| latest_release_tag | 4.88.0 |
| releases_from_tags | 否 |
| days_since_latest_release | 1 |
| mean_days_between_releases | 10.3 |
项目是否拥有用户、下载量与关注度,并具备欢迎贡献者参与的配置?
| 51.5/60 | 星标 — 1,502 个星标 |
| 21.8/25 | 复刻 — 411 个复刻 |
| 11.1/15 | 关注者 — 100 位关注者 |
| forks | 411 |
| stars | 1,502 |
| watchers | 100 |
| growth_state | unverified |
| growth_factor_pct | 100 |
| growth_unverified_reason | no_history |
| 22.5/22.5 | README |
| 22.5/22.5 | 许可证 — 可识别的许可证(MIT) |
| 18/18 | CONTRIBUTING 指南 |
| 0/13.5 | 行为准则 |
| 0/7.2 | 议题模板 |
| 6.3/6.3 | PR 模板 |
| has_readme | 是 |
| has_license | 是 |
| readme_badges | 1 |
| has_contributing | 是 |
| has_issue_template | 否 |
| has_code_of_conduct | 否 |
| readme_badge_services | shields.io |
| has_pull_request_template | 是 |
项目能否在其成员之外延续——巴士系数、响应能力、由谁支持,以及软件包的维护状况?
| 36/54 | 巴士系数 — 3 位贡献者贡献了半数提交 |
| 16.3/22.5 | 提交分布 — 头号贡献者编写了 28% 的提交 |
| 13.5/13.5 | 贡献者广度 — 98 位贡献者 |
| 10/10 | OpenSSF Scorecard:Contributors — project has 15 contributing companies or organizations |
| bus_factor | 3 |
| contributors_sampled | 98 |
| top_contributor_share | 0.275 |
| 39.1/42 | 议题解决 — 93% 的议题已关闭 |
| 24.4/30 | PR 接受 — 已裁定的 PR 中 2,469/3,035 已合并 |
| 0/13 | Newcomer PR acceptance — 30 天内没有首次贡献者的 PR 得到裁决 |
| 15/15 | OpenSSF Scorecard:Code-Review — all changesets reviewed |
| merged_prs | 2,469 |
| open_issues | 212 |
| closed_issues | 2,807 |
| prs_merged_7d | 3 |
| prs_decided_7d | 4 |
| prs_merged_30d | 16 |
| prs_decided_30d | 22 |
| issue_closed_ratio | 0.93 |
| closed_unmerged_prs | 566 |
| first_time_authors_30d | 0 |
| first_time_prs_merged_30d | 0 |
| first_time_prs_decided_30d | 0 |
| 30/30 | 所有权背书 — 组织持有 |
| 0/20 | 已验证域名 — 未读取该组织的域名验证状态 |
| 20.9/25 | 所有者影响力 — AzureAD 有 805 位关注者 |
| 24.8/25 | 既往记录 — 57 个公开仓库,账户约 13 年 |
| followers | 805 |
| owner_type | Organization |
| is_verified | — |
| owner_login | AzureAD |
| public_repos | 57 |
| account_age_days | 5,008 |
基础的工程与文档实践是否到位?
| 24/24 | CI 工作流 — 5 个工作流 |
| 24/24 | 存在测试 |
| 0/16 | Linter 配置 |
| 0/9.6 | Pre-commit 钩子 |
| 6.4/6.4 | .editorconfig |
| 20/20 | OpenSSF Scorecard:CI-Tests — 30 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 | 否 |
| 30/30 | README |
| 25/25 | 文档目录 |
| 15/15 | 文档 / 主页站点 — https://aka.ms/msal-net |
| 10/10 | 仓库描述 |
| 10/10 | 主题标签 — 8 个主题标签 |
| 10/10 | Wiki |
| topics | msal, netcore, identity, dotnet, microsoft, azure-active-directory, maui, wam |
| has_wiki | 是 |
| homepage | https://aka.ms/msal-net |
| docs_site | https://aka.ms/msal-net |
| has_readme | 是 |
| has_docs_dir | 是 |
| has_description | 是 |
可见的安全与供应链实践是否稳固,且不存在未解决的高风险司法辖区暴露?
| 7.5/7.5 | Binary-Artifacts — no binaries found in the repo |
| 6.8/7.5 | Branch-Protection — branch protection is not maximal on development and all release branches |
| 2.5/2.5 | CI-Tests — 30 out of 30 merged PRs checked by a CI test -- score normalized to 10 |
| 0.5/2.5 | CII-Best-Practices — badge detected: InProgress |
| 7.5/7.5 | Code-Review — all changesets reviewed |
| 2.5/2.5 | Contributors — project has 15 contributing companies or organizations |
| 0/10 | Dangerous-Workflow — 无数据 |
| 7.5/7.5 | Dependency-Update-Tool — update tool detected |
| 0/5 | Fuzzing — project is not fuzzed |
| 2.5/2.5 | 许可证 — license file detected |
| 7.5/7.5 | Maintained — 30 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 10 |
| 0/5 | Packaging — 无数据 |
| 0/5 | Pinned-Dependencies — 无数据 |
| 0/5 | SAST — 无数据 |
| 5/5 | Security-Policy — security policy file detected |
| 0/7.5 | Signed-Releases — 无数据 |
| 0/7.5 | Token-Permissions — 无数据 |
| 7.5/7.5 | Vulnerabilities — 0 existing vulnerabilities detected |
| source | openssf_scorecard |
| checks_evaluated | 12 |
| scorecard_version | v5.5.0 |
| checks_inconclusive | 6 |
| scorecard_aggregate | 8.8 |
| 35/35 | 直接依赖不含已知公告 — 没有直接依赖携带已知公告 |
| 0/25 | 间接依赖不含已知公告 — 在此范围内,传递依赖集合无法与开发和测试依赖区分 |
| 0/40 | 没有长期未处理的公告 — 没有公告带有发布日期 |
| source | osv |
| advisories | 0 |
| affected_packages | 0 |
| assessed_packages | 15 |
| unassessed_packages | 53 |
| affected_by_severity | none |
| direct_affected_packages | 0 |
该仓库在多大程度上具备与 AI 编码代理协同开发与维护的条件?权重刻意设小(4%):代理工具链是一项真实的维护信号,但完全不具备的仓库仍可达到 100/100。
| 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_share | 0.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_bytes | 23,552 |
| 12.6/18 | 一条命令的引导启动 — prototype/KeyGuardMaa/KeyGuardDemo.csproj, prototype/MsiV2DemoApp/MsiV2DemoApp.csproj, prototype/MsiWithSlc/MsiSlcPublicApis/MsiSlcPublicApis/MsiSlcPublicApis.csproj(工具链约定,无任务运行器) |
| 22/22 | 自动化测试 |
| 0/11 | Lint / 格式化配置 |
| 11/11 | 静态类型检查 — C#(静态类型) |
| 10/10 | 可复现环境 — devcontainer, Dockerfile |
| 10/10 | 已体现的代理实践 — 最近 100 次提交中有 55 次由代理编写或署名代理 |
| 0/8 | 自动化维护 — 未观察到自动依赖更新 |
| 0/10 | OpenSSF Scorecard:Pinned-Dependencies — 无数据 |
| has_nix | 否 |
| has_tests | 是 |
| lockfiles | — |
| has_dockerfile | 是 |
| typed_language | 是 |
| bootstrap_files | — |
| has_devcontainer | 是 |
| has_linter_config | 否 |
| typecheck_configs | — |
| agent_commit_share | 0.55 |
| toolchain_manifests | prototype/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_share | 0 |
| 45/45 | 可类型检查的代码 — C#(静态类型) |
| 54.3/55 | 可控的文件大小 — 采样的 1,114 个源文件中有 14 个超过 60KB |
| primary_language | C# |
| largest_source_bytes | 149,077 |
| source_files_sampled | 1,114 |
| oversized_source_files | 14 |
每颗 star 和每个 fork 的添加时间,来自 GitHub 并按天汇总。累计增长位于其构成来源——每日新增——的正上方,二者可相互对照:稳定的自然增长与短暂的突增形态截然不同。当这一差别可被衡量时,它会作为增长真实性予以报告。
每个点涵盖 10 天。
来自开源项目 OpenSSF Scorecard 的独立、工具无关的安全评估。每项检查奖励的是安全实践本身,而非特定供应商的工具。Scorecard 无法判定的检查项标记为 不适用,并从安全评分中剔除(绝不按零分计)。
| 10 | Binary-Artifacts | no binaries found in the repo |
| 9 | Branch-Protection | branch protection is not maximal on development and all release branches |
| 10 | CI-Tests | 30 out of 30 merged PRs checked by a CI test -- score normalized to 10 |
| 2 | CII-Best-Practices | badge detected: InProgress |
| 10 | Code-Review | all changesets reviewed |
| 10 | Contributors | project has 15 contributing companies or organizations |
| 不适用 | Dangerous-Workflow | internal error: internal error: invalid GitHub workflow: :111:0: could not parse as YAML: could not find expected ':' [syntax-check] |
| 10 | Dependency-Update-Tool | update tool detected |
| 0 | Fuzzing | project is not fuzzed |
| 10 | License | license file detected |
| 10 | Maintained | 30 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 10 |
| 不适用 | Packaging | internal error: internal error: invalid GitHub workflow: :111:0: could not parse as YAML: could not find expected ':' [syntax-check] |
| 不适用 | Pinned-Dependencies | internal error: internal error: invalid GitHub workflow: :111:0: could not parse as YAML: could not find expected ':' [syntax-check] |
| 不适用 | SAST | internal error: internal error: invalid GitHub workflow: :111:0: could not parse as YAML: could not find expected ':' [syntax-check] |
| 10 | Security-Policy | security policy file detected |
| 不适用 | Signed-Releases | no releases found |
| 不适用 | Token-Permissions | internal error: internal error: invalid GitHub workflow: :111:0: could not parse as YAML: could not find expected ':' [syntax-check] |
| 10 | Vulnerabilities | 0 existing vulnerabilities detected |
| 注册表 | 软件包 | 版本约束 | 清单文件 |
|---|---|---|---|
| NuGet | Microsoft.Azure.Security.KeyGuardAttestation | 1.1.1 | prototype/KeyGuardMaa/KeyGuardDemo.csproj |
| NuGet | Microsoft.Identity.Client | 4.72.1 | prototype/KeyGuardMaa/KeyGuardDemo.csproj |
| NuGet | Microsoft.Identity.Client | — | prototype/MsiV2DemoApp/MsiV2DemoApp.csproj |
| NuGet | Microsoft.Identity.Client.KeyAttestation | — | prototype/MsiV2DemoApp/MsiV2DemoApp.csproj |
来自 GitHub 依赖图的完整解析依赖集合:5 个直接依赖与 63 个间接(传递)软件包。仓库提交锁文件时,传递闭包才是完整的。
| 注册表 | 软件包 | 版本 | 关系 |
|---|---|---|---|
| NuGet | Microsoft.Azure.Security.KeyGuardAttestation | — | 直接 |
| NuGet | Microsoft.Azure.Security.KeyGuardAttestation | 1.1.1 | 直接 |
| NuGet | Microsoft.Identity.Client | — | 直接 |
| NuGet | Microsoft.Identity.Client | 4.72.1 | 直接 |
| NuGet | Microsoft.Identity.Client.KeyAttestation | — | 直接 |
| Maven | com.google.code.gson:gson | — | 间接 |
| Maven | com.microsoft.azure:msal4j | LATEST | 间接 |
| Maven | org.apache.maven.plugins:maven-compiler-plugin | — | 间接 |
| NuGet | Azure.Security.KeyVault.Certificates | — | 间接 |
| NuGet | Azure.Security.KeyVault.Secrets | — | 间接 |
| NuGet | BenchmarkDotNet | 0.13.12 | 间接 |
| NuGet | BenchmarkDotNet.Diagnostics.Windows | 0.13.12 | 间接 |
| NuGet | CommandLineParser | — | 间接 |
| NuGet | coverlet.collector | — | 间接 |
| NuGet | Legacy2CPSWorkaround | 1.0.0 | 间接 |
| NuGet | Microsoft.AspNet.WebApi.Client | — | 间接 |
| NuGet | Microsoft.CodeAnalysis.RulesetToEditorconfigConverter | — | 间接 |
| NuGet | Microsoft.Extensions.Logging.Debug | 8.0.1 | 间接 |
| NuGet | Microsoft.Identity.Client.NativeInterop | — | 间接 |
| NuGet | Microsoft.Identity.Web.TokenCache | — | 间接 |
| NuGet | Microsoft.IdentityModel.Abstractions | — | 间接 |
| NuGet | Microsoft.IdentityModel.JsonWebTokens | — | 间接 |
| NuGet | Microsoft.IdentityModel.Protocols.SignedHttpRequest | — | 间接 |
| NuGet | Microsoft.Maui.Controls | — | 间接 |
| NuGet | Microsoft.Maui.Controls | 8.0.83 | 间接 |
| NuGet | Microsoft.Maui.Controls.Compatibility | — | 间接 |
| NuGet | Microsoft.NET.Test.Sdk | — | 间接 |
| NuGet | Microsoft.NET.Test.Sdk | 17.9.0 | 间接 |
| NuGet | Microsoft.Web.WebView2 | — | 间接 |
| NuGet | Microsoft.Windows.SDK.BuildTools | — | 间接 |
| NuGet | Microsoft.Windows.SDK.BuildTools | 10.0.26100.6901 | 间接 |
| NuGet | Microsoft.WindowsAppSDK | — | 间接 |
| NuGet | Microsoft.WindowsAppSDK | 1.8.251003001 | 间接 |
| NuGet | MSTest.TestAdapter | — | 间接 |
| NuGet | MSTest.TestAdapter | 4.0.2 | 间接 |
| NuGet | MSTest.TestFramework | — | 间接 |
| NuGet | MSTest.TestFramework | 4.0.2 | 间接 |
| NuGet | Newtonsoft.Json | — | 间接 |
| NuGet | Newtonsoft.Json | 13.0.1 | 间接 |
| NuGet | NSubstitute | — | 间接 |
| NuGet | NSubstitute.Analyzers.CSharp | — | 间接 |
| NuGet | NuGet.Versioning | — | 间接 |
| NuGet | NUnit | — | 间接 |
| NuGet | NUnit3TestAdapter | — | 间接 |
| NuGet | OpenTelemetry.Exporter.Console | — | 间接 |
| NuGet | OpenTelemetry.Exporter.InMemory | — | 间接 |
| NuGet | Polly | — | 间接 |
| NuGet | Selenium.Support | — | 间接 |
| NuGet | Selenium.WebDriver | — | 间接 |
| NuGet | StrongNamer | — | 间接 |
| NuGet | System.Diagnostics.DiagnosticSource | — | 间接 |
| NuGet | System.Formats.Asn1 | — | 间接 |
| NuGet | System.IdentityModel.Tokens.Jwt | — | 间接 |
| NuGet | System.IO.FileSystem.AccessControl | — | 间接 |
| NuGet | System.Net.Http | — | 间接 |
| NuGet | System.Private.Uri | — | 间接 |
| NuGet | System.Reflection.TypeExtensions | — | 间接 |
| NuGet | System.Security.Cryptography.Cng | — | 间接 |
| NuGet | System.Security.Cryptography.Cng | 5.0.0 | 间接 |
| NuGet | System.Security.Cryptography.ProtectedData | — | 间接 |
| NuGet | System.Text.Json | — | 间接 |
| NuGet | System.Threading | — | 间接 |
| NuGet | System.Threading.Tasks | — | 间接 |
| NuGet | System.Threading.Tasks.Parallel | — | 间接 |
| NuGet | System.Threading.Thread | — | 间接 |
| NuGet | System.ValueTuple | — | 间接 |
| NuGet | System.Windows.Forms | — | 间接 |
| NuGet | Xamarin.AndroidX.Browser | — | 间接 |
该仓库未发布可被索引解析的包,因此评估的是其自身的依赖图——共 15 个包,其中也包含从不交付的开发与测试版本固定:0 个存在已知公告,0 个为直接依赖。 有 53 个无法评估——没有已解析的版本、生态系统不受支持,或不在所列包清单之内。
没有已知公告影响已评估的依赖。
公告表示依赖图中记录的版本落入某条公告的受影响范围。可达性未经分析,且依赖图包含开发与测试的版本固定——某项发现可能只涉及工具链而非交付的软件。
发现这份报告有不准确之处,或有想法要分享?错误的测量、未识别的工具、建议、疑问——都欢迎提出。每条消息都会被阅读并得到回复。