Skip to content

fix: update SourceLink to resolve badge update audit failure - #6

Merged
Blind-Striker merged 1 commit into
masterfrom
codex/fix-sourcelink-audit
Sep 18, 2026
Merged

Blind-Striker merged 1 commit into
masterfrom
codex/fix-sourcelink-audit

Conversation

@Blind-Striker

Copy link
Copy Markdown
Member

badge update could not restore because the inherited SourceLink dependency resolved Microsoft.Build.Tasks.Git 10.0.300, which triggers NU1902 for CVE-2026-62900 under warnings-as-errors. Update the central Microsoft.SourceLink.GitHub pin to 10.0.303; Microsoft.SourceLink.Common and Microsoft.Build.Tasks.Git now also resolve to 10.0.303. No other SourceLink or Git task pins exist.

Validation on .NET SDK 10.0.303 (Windows):

  • Reproduced the original NU1902 with dotnet run --file tools/badgesmith.cs -- badge update --help before the change; the same command now passes.
  • dotnet restore BadgeSmith.sln passes.
  • dotnet build BadgeSmith.sln --no-restore --configuration Release passes with zero warnings and errors.
  • dotnet list BadgeSmith.sln package --vulnerable --include-transitive and the equivalent audit for tools/badgesmith.cs report no vulnerable packages.
  • Unit tests: 503 passed, zero failed or skipped.
  • Slopwatch: zero issues. NuGet audit and warnings-as-errors remain enabled.

This build-dependency patch changes no HTTP or HMAC contract. Consumers can update their pinned action commit to the merged master SHA without redeploying api.localstackfor.net. No production deployment is required or performed.

@Blind-Striker
Blind-Striker merged commit d778400 into master Sep 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant