Empty SBOM: missing manifest or lockfile becomes a finding, with an example #979

Closed
opened 2026-11-12 08:25:41 +00:00 by sharang · 0 comments
Owner

From the stage walkthrough on 2026-11-11, point 21.

An upload of source code without a manifest or lockfile gives an empty SBOM with no explanation. A developer understands that, but a non-developer reads it as "no libraries".

Sharang's decision (2026-11-12):

  • Code in a language with a package manager but no manifest at all becomes a finding, severity Medium. Languages: Python, JS/TS, Rust, Go, Java/Kotlin, C#, PHP, Ruby, Dart.
  • A manifest whose dependencies weren't resolved (no lockfile, or one no tool reads) becomes a finding, severity Low. This case is already detected; today it only shows on the CRA tiles.
  • C/C++ (no standard manifest) and PLC projects don't trigger it.
  • The finding text explains why the SBOM is empty or incomplete, with an example per detected language of how to add a manifest or lockfile.
  • The SBOM page's empty state explains the same and links to the finding.
  • No AI-guessed SBOM. Resolving dependencies by running code needs a sandbox and belongs to the DAST harness (t83).
  • The finding closes at the next scan that finds a manifest or lockfile.
From the stage walkthrough on 2026-11-11, point 21. An upload of source code without a manifest or lockfile gives an empty SBOM with no explanation. A developer understands that, but a non-developer reads it as "no libraries". Sharang's decision (2026-11-12): - Code in a language with a package manager but no manifest at all becomes a finding, severity **Medium**. Languages: Python, JS/TS, Rust, Go, Java/Kotlin, C#, PHP, Ruby, Dart. - A manifest whose dependencies weren't resolved (no lockfile, or one no tool reads) becomes a finding, severity **Low**. This case is already detected; today it only shows on the CRA tiles. - C/C++ (no standard manifest) and PLC projects don't trigger it. - The finding text explains why the SBOM is empty or incomplete, with an example per detected language of how to add a manifest or lockfile. - The SBOM page's empty state explains the same and links to the finding. - No AI-guessed SBOM. Resolving dependencies by running code needs a sandbox and belongs to the DAST harness (t83). - The finding closes at the next scan that finds a manifest or lockfile.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: platform/pruefwerk#979