SBOM: transitive NuGet dependencies missing without a lockfile; restore on a runner #461

Closed
opened 2026-10-05 20:49:10 +00:00 by sharang · 0 comments
Owner

Every PackageReference project without packages.lock.json / obj/project.assets.json skips sbom_dependencies (transitive ones). On the pilot repos that is every project, so the SBOM holds direct references only. Also: the skip is recorded once per project, which reads as duplicate stages in the run.

Tasks

  • Optional restore step (dotnet restore / nuget restore to produce project.assets.json) in a sandbox with network limited to nuget.org, or on the tenant's Werkbank/CI runner when one exists (INF-CI)
  • packages.config projects: resolve transitive deps from the nuspec graph
  • One skipped-stage entry per run listing the projects, not one per project

Source: first pilot scans on prod (2026-10-05), .NET Framework / Android repos. Fixes start after the remaining pilot scans are in.

Every `PackageReference` project without `packages.lock.json` / `obj/project.assets.json` skips `sbom_dependencies` (transitive ones). On the pilot repos that is every project, so the SBOM holds direct references only. Also: the skip is recorded once per project, which reads as duplicate stages in the run. ## Tasks - Optional restore step (`dotnet restore` / `nuget restore` to produce `project.assets.json`) in a sandbox with network limited to nuget.org, or on the tenant's Werkbank/CI runner when one exists (INF-CI) - `packages.config` projects: resolve transitive deps from the nuspec graph - One skipped-stage entry per run listing the projects, not one per project _Source: first pilot scans on prod (2026-10-05), .NET Framework / Android repos. Fixes start after the remaining pilot scans are in._
sharang added the enhancement label 2026-10-05 20:49:10 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: platform/pruefwerk#461