SdkCheck.Tool
0.5.0
dotnet tool install --global SdkCheck.Tool --version 0.5.0
dotnet new tool-manifest
dotnet tool install --local SdkCheck.Tool --version 0.5.0
#tool dotnet:?package=SdkCheck.Tool&version=0.5.0
nuke :add-package SdkCheck.Tool --version 0.5.0
SdkCheck
Warns at build time when the .NET SDK or runtime in use has published CVEs, or sits on a channel that has reached end of support.
A CVE in the .NET SDK or runtime is fixed in the next patch release. The SDK a build runs on is whatever was installed on the machine, baked into the CI image or pinned in global.json, and it picks the runtime the output is built against. A project keeps compiling, testing and shipping on a version with published CVEs until someone notices.
NuGetAudit covers NuGet packages. CheckSdkVulnerabilities covers the SDK, on .NET 11 and later. That leaves the runtime, where most .NET CVEs land, and every SDK before 11. The usual substitutes - dotnet sdk check, a global.json floor, a hand-written version baseline - never name a CVE.
SdkCheck compares the SDK and runtime actually in use against Microsoft's live release metadata, so a CVE published tomorrow is reported tomorrow with nothing to bump.
See https://github.com/SimonCropp/SdkCheck for full documentation.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.