Files
pruefwerk/docs/guide/sbom.md
T
sharang dc14c77e84
CI / Check (push) Skipped
CI / Agent integration (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Docs (push) Successful in 1m8s
CI / Deploy Agent (push) Successful in 5m51s
feat(supplier): the portal invites a supplier for one component (#1027) (#1047)
2026-11-18 11:32:59 +00:00

38 KiB
Raw Blame History

SBOM & Licenses

The SBOM (software bill of materials, Stückliste) lists the components of each target, with their versions, licenses and known vulnerabilities.

What is an SBOM?

A Software Bill of Materials is a list of every component (library, package, framework) that your software depends on, along with version numbers, licenses, and known vulnerabilities. The CRA expects manufacturers to know the components of their products; SBOMs are also asked for in customer security questionnaires and audits.

Where the components come from

Prüfwerk builds the SBOM during each scan:

  • Package dependencies -- read with Syft from the lockfiles in the code (package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lock, Cargo.lock, requirements.txt, poetry.lock, Pipfile.lock, uv.lock). A manifest without a lockfile gives no versions; the scan lists it under Nicht ausgeführt (see Prüfungen).

  • Mobile apps -- the lockfiles of Android, iOS and Flutter apps, wherever they sit in the tree (android/, ios/, an Xcode project): gradle.lockfile, Podfile.lock, Package.resolved (also the one inside *.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/), Cartfile.resolved and pubspec.lock. A Carthage pin of a repository is matched like the Swift package of the same repository; a prebuilt binary framework is listed with its version, but no advisory database covers it, which the scan says under Nicht ausgeführt. Gradle writes gradle.lockfile only with dependency locking switched on (dependencyLocking { lockAllConfigurations() }, then ./gradlew dependencies --write-locks). Without it, Prüfwerk reads the direct dependencies from the build files (build.gradle(.kts), versions in ext variables, gradle.properties and gradle/libs.versions.toml), but only those that ship with the app and have an exact version; what they pull in stays unknown. In that case, and for a Cartfile without its Cartfile.resolved, the scan reports the manifest under Nicht ausgeführt and the SBOM requirements of the CRA view are Nicht geprüft: an app whose dependencies are unknown is not shown as clean.

  • .NET / NuGet -- packages.config, <PackageReference> (also with central versions in Directory.Packages.props), packages.lock.json, obj/project.assets.json and committed packages/<Id>.<Version>/ folders, read without a build; see .NET-Projekte.

  • Libraries copied into a firmware tree -- microcontroller projects carry their RTOS, TCP/IP stack and TLS library as source, with no manifest. Prüfwerk recognises FreeRTOS, FreeRTOS+TCP, lwIP, Mbed TLS, wolfSSL and FatFs and reads each one's version from its header. They appear with the package source embedded.

  • Firmware builds -- for a firmware target, the libraries and toolchain named by the build files in the source tree (Make, CMake, Zephyr, ESP-IDF, PlatformIO, Arduino, embedded Rust).

  • CODESYS projects -- the referenced libraries and the runtime version from a .projectarchive; see SPS / PLC (CODESYS).

  • Yocto / OpenEmbedded layers -- the recipes of a layer tree, read without a build; see Embedded Linux / Yocto. They appear with the package source Yocto-Rezept.

  • Unity projects -- the editor version (from ProjectSettings/ProjectVersion.txt) and the packages pinned in Packages/packages-lock.json (or Packages/manifest.json). No advisory database covers Unity, so they are listed under CVE-Abgleich unvollständig. Which mobile platforms a Unity project builds for is read from its Player Settings (ProjectSettings/ProjectSettings.asset): a bundle identifier set for iOS or Android (not Unity's com.DefaultCompany.… default), or native plug-ins under Assets/Plugins/iOS or Assets/Plugins/Android. The active build target itself is never in the repository. For each such platform the Xcode or Gradle project Unity generates at build time is missing, so its Info.plist or manifest, permissions and native code cannot be checked; the scan says so under Nicht ausgeführt (Von Unity erzeugtes App-Projekt) unless an exported project is in the tree.

End-of-life build systems are not resolved. An Eclipse/ADT Android project (default.properties or project.properties beside the manifest, no Gradle) or a Unity project without Packages/manifest.json declares its dependencies nowhere readable. Prüfwerk reports it as a finding (Legacy build system: the SBOM cannot be determined, with the migration as the remedy) and lists it under Nicht ausgeführt, so the SBOM requirements are Nicht geprüft rather than clean. An Android API level below 29 or a Unity release out of support is a finding of its own, and so is, in an Xcode project or the Player Settings of a Unity project building for iOS, an iOS deployment target below 15 (the app then installs on iOS releases that receive no security updates) or a SWIFT_VERSION below 4, which no supported Xcode builds. A Unity project building for Android whose minimum API level is below 29 is reported the same way (the app installs on Android releases without security updates). Which Xcode builds an app is not recorded in the repository and is not judged.

Firmware images, container images and app packages are not unpacked yet; their components come from the source code.

A supplier's SBOM

A component you buy in often comes without its source code, only with its supplier's SBOM. Upload that SBOM to the component's target as a supplier SBOM (supplier_sbom). A target needs no code for this. Its components are then checked for known vulnerabilities like those read from code: OSV, NVD, the CISA KEV list and EPSS, and the vendor advisories (CSAF) by purl. The results go through the same CVE groups, VEX statements and ENISA drafts.

In the dashboard, choose Von einem Zulieferer gekauft in the wizard's first step, name the supplier (and, optionally, its product, version and CSAF provider), then add the SBOM as Zulieferer-SBOM. The wizard reads it as it is added and refuses one a scan could not read. The target editor shows the supplier, how many of its advisories were read, and what the uploaded SBOM holds. In CVEs & VEX, a Lieferant sagt column shows the supplier's statement next to yours. In meine Aussage übernehmen copies it into your form, and it is stored only when you save it as your own statement.

  • Formats: CycloneDX 1.4 to 1.6 (JSON or XML) and SPDX 2.3 JSON. SPDX 3.0 is not read yet.

  • What is read of each component: name (with its group), version, purl, CPE and licence. Nested components are read too. The product the document describes (CycloneDX metadata.component, SPDX documentDescribes) is the component itself and is not listed as one of its parts.

  • Components without a purl: no advisory database can be asked about them. The scan lists them under Nicht ausgeführt rather than as free of CVEs.

  • Refused at upload, with the reason:

    • a file that is no such SBOM
    • an SBOM that lists no components
    • one larger than 20 MiB
    • XML with a DTD, since entities are never resolved

    An SBOM that lists nothing is refused rather than read as empty: read as empty, it would make every known CVE of the component look fixed.

    The same check runs when the wizard adds the file, before the target exists (POST /api/v1/supplier-sboms/check). It stores nothing and returns the format, the number of components and the number of supplier statements, or the refusal with a code (unknown_format, malformed, empty, too_many_components, too_large). An upload keeps the same three numbers with the artifact, for the target editor to show.

  • A new version from the supplier: upload it to the same target. It replaces the previous one.

  • Inviting the supplier to upload it: in the portal, you can invite a supplier by e-mail to upload the SBOM of one supplier component. The link is valid for 90 days and also takes the component's later versions. You can withdraw it at any time. The portal holds the link and sends the mail. Prüfwerk keeps each invite with your workspace's data, including the supplier's address, so the workspace export and erasure cover it. Deleting the target deletes its invites. The portal calls the platform API with its service token:

    • POST /api/v1/platform/tenants/{id}/supplier-invites with {"target_id", "email", "invited_by"} creates an invite. It answers 201 with its id, and 422 for a target without a supplier.
    • GET /api/v1/platform/tenants/{id}/supplier-invites[?target=<id>] lists the invites, newest first. Each one's state is active, expired or withdrawn.
    • POST …/supplier-invites/{invite}/withdraw with {"withdrawn_by"} withdraws an invite. A second withdrawal keeps the first.

    GET /api/v1/platform/tenants/{id}/targets names each supplier component's supplier: these are the targets a supplier can be invited for.

  • The supplier and its advisories: a target can name its supplier: the supplier's name, its name for the product, the version in use, and its CSAF provider (supplier in the target API, with provider-metadata.json as an https URL). Prüfwerk then fetches the supplier's public (TLP:WHITE) CSAF advisories. It fetches them daily, and right away when the provider is set. They are kept for your workspace only and never matched against another workspace's components. A scan matches them against the product itself by the supplier's name and version for it, and against its components by purl. A matching advisory raises a CVE alert with the supplier's remediation and fixed versions. GET /api/v1/targets/{id}/supplier-advisories returns how many of the supplier's advisories are kept, when its provider was last read, and whether it could be read then.

  • What the supplier states about a vulnerability: a CycloneDX SBOM can carry the supplier's VEX (vulnerabilities[].analysis: state, justification, detail, response). Prüfwerk reads it for each component and keeps it with the alert as the supplier's statement (supplier_vex). Every scan reads it again from the current SBOM. It is shown to whoever decides, but it is not your statement: it settles no alert, closes no issue and is not exported as yours. Your own VEX status stays yours to state.

When the SBOM is empty or incomplete

An SBOM without components does not mean the software uses no libraries: the code may simply not declare them. Two findings of the type Vollständigkeit der Stückliste (SBOM completeness) say so, both mapped to the CRA requirement Software Bill of Materials (SBOM):

Rule Severity When
sbom-no-manifest Medium The code is in a language with a package manager (Python, JavaScript/TypeScript, Rust, Go, Java/Kotlin, C#, PHP, Ruby, Dart), but the tree holds no manifest or lockfile for it anywhere outside vendor directories, and the SBOM lists no component of that ecosystem. One finding per ecosystem.
sbom-dependencies-unresolved Low A manifest exists, but its dependencies were not resolved: no lockfile, or one no tool reads (bun.lockb, Gradle without dependency locking, <PackageReference> without packages.lock.json). One finding per manifest, the same gap that is listed under Nicht ausgeführt. A legacy build system is reported by its own finding instead (see above).

Each finding says why the SBOM is empty or incomplete and how to add the missing file, for example:

  • Python -- pip freeze > requirements.txt in the project's environment, or the dependencies in pyproject.toml and uv lock or poetry lock;
  • JavaScript/TypeScript -- the dependencies in package.json; npm install writes package-lock.json;
  • Rust -- commit Cargo.toml and Cargo.lock;
  • Go -- go mod init and go mod tidy write go.mod and go.sum;
  • Java/Kotlin -- a Maven pom.xml or a Gradle build file, with Gradle also gradle.lockfile;
  • C# -- the NuGet packages in the .csproj file and the packages.lock.json that dotnet restore writes;
  • PHP, Ruby, Dart -- composer.json/composer.lock, Gemfile/Gemfile.lock, pubspec.yaml/pubspec.lock.

C and C++ have no standard manifest, so their code never raises sbom-no-manifest; neither does a tree whose components come from its sources (library headers, the firmware build, a CODESYS archive, Yocto layers) or a PLC target. Prüfwerk does not guess the components or run the project's code to resolve them. A finding closes at the next scan that finds the manifest or lockfile.

Known vulnerabilities

Package dependencies are matched against OSV.dev. Libraries copied into a firmware tree and the CODESYS runtime have no package identifier OSV could look up, so they are matched against NVD by CPE: all CVEs of the product are fetched and their affected version ranges are compared with the version in use. OSV publishes no advisories for CocoaPods, so pods are not matched. Components that could not be matched are listed on the scan run under CVE-Abgleich unvollständig.

Known components are re-checked between scans (the CVE monitor, hourly by default, CVE_MONITOR_SCHEDULE), so a CVE published against an unchanged component still raises an alert:

  • Components with a package identifier are asked of OSV again.
  • Components only NVD knows (Yocto recipes by their CPE, the libraries found by their headers, the CODESYS runtime) are re-checked incrementally: NVD is asked which CVEs it published or changed since the last run, and those are matched against the components with the scan's rules (product, version range). A few requests a day cover every tenant. The requests are paced to NVD's rate limit (with the deployment's NVD API key 50 per 30 seconds, without 5), and a run asks for at most 10 minutes; what it did not reach, the next run reads, so no change is skipped. The first run reads the last 7 days. NVD_MONITOR=off turns this part off (on by default).

A match raises the same CVE alert as a scan's, at most one per CVE and target. A vulnerability that is "Not affected" or "Fixed" (see Assessing vulnerabilities) raises no notification, and a critical or high one of a managed repository gets its tracker issue as after a scan. The monitor only adds: alerts no longer found are resolved by the next complete scan.

Packages Tab

Open Stückliste in the sidebar. The Pakete (Packages) tab lists the components of all targets, 50 per page.

When a target has no components at all, the tab says why instead of showing an empty table: where the SBOM comes from, and the target's open SBOM completeness findings, each with its example and a link to the finding. Without such a finding (all targets, or C/C++ code) it gives a general example.

Charts for one target

With one target picked, two bar charts open the tab ("Diagramm"; "Tabelle" shows the same numbers as tables):

  • Welches Update entfernt die meisten CVEs -- per component with open CVEs, the update to the highest fixed version (openssl 3.0.11 → 3.0.15) and how many CVEs it removes (−3 CVEs), the top 10 until Alle anzeigen. A bar opens that component's CVE group (see VEX), with Nicht betroffen (alle N) and its CVEs.
  • Komponenten nach Ökosystem -- per package manager, the components and how many have a known vulnerability. A bar filters the table below to it; the URL (/sbom/ecosystem/npm?target=<id>) keeps the filter.

← Zurück zum Diagramm returns to the charts.

API: GET /api/v1/targets/{id}/sbom-ecosystems lists package_manager, components and with_cve per ecosystem, the largest first; the updates come from GET /api/v1/targets/{id}/cve-groups.

Filtering

  • Alle Prüfobjekte -- one target, or all
  • Alle Paketquellen (All managers) -- the package source, e.g. npm, cargo, pip, or embedded for libraries found in a firmware tree
  • Pakete durchsuchen … -- search by package name
  • Alle Pakete / Mit Schwachstellen / Ohne Schwachstellen
  • Alle Lizenzen -- one license

Columns

Column Description
Paket (Package) Package name
Version The version in use
Paketquelle (Manager) Where the component comes from (npm, cargo, pip, embedded, …)
Lizenz (License) License identifier
Schwachstellen (Vulnerabilities) Keine, or the number of CVEs

Click the CVE count to expand the details: the vulnerability ID, the source database, the severity where known, and Hinweis ansehen → (View advisory).

A component with a CVE that is exploited in the wild carries a red KEV marker next to its count. In the details, each CVE shows what is known about its exploitation:

  • Aktiv ausgenutzt (KEV) (Actively exploited): the CVE is in CISA's Known Exploited Vulnerabilities catalog; the tooltip says since when, and whether it is known from ransomware campaigns.
  • EPSS 12.3 % · P97: FIRST's EPSS estimate that the CVE is exploited in the next 30 days, and its percentile among all scored CVEs. The source is credited under the details.
  • SSVC-Ausnutzung (CISA Vulnrichment): CISA's SSVC decision on exploitation (none, poc, active), where CISA has rated the CVE.

These are looked up once a day; see KEV, EPSS and Vulnrichment. In a managed repository, a CVE in KEV always opens an issue, and one with a high EPSS percentile is rated one step higher (see Issues).

Licenses Tab

The Lizenzen tab summarises the licenses.

Lockfiles name versions, not licenses. Where the tree does not carry them, they are looked up on the public registry of the package: nuget.org for NuGet, registry.npmjs.org for npm, and Maven Central (or Google's Maven repository for AndroidX and Play services) for Maven and Gradle, where a POM without a license inherits its parent's. Only package names and versions are sent, and none a private registry may serve: an .npmrc or .yarnrc.yml that points elsewhere (for all packages or a scope), a nuget.config routing, or a Maven or Gradle build that names a repository besides the public ones stops those lookups. In a monorepo each npm project has its own: the .npmrc/.yarnrc.yml next to its lockfile and in every folder above it up to the archive root count (the nearest one names a scope's registry; a private default registry anywhere on the way stops every lookup for that project). A component whose license could not be found stays without one.

Copyleft Warnings

If any component uses a copyleft license (GPL, AGPL, LGPL, MPL and their variants), the banner Copyleft-Lizenzen gefunden lists the affected packages. Copyleft licenses may impose obligations when you distribute your software.

::: warning Copyleft-licensed dependencies can require you to release your source code under the same license. Review flagged packages carefully with your legal team if you distribute proprietary software. :::

License Distribution

Lizenzverteilung shows the share of each license across the components.

License Table

Alle Lizenzen lists every license:

Column Description
Lizenz License identifier
Art The category: Freizügig, Schwaches Copyleft (LGPL, MPL, EPL), Starkes Copyleft (GPL), Netzwerk-Copyleft (AGPL), Proprietär / kommerziell, Gemeinfrei, Eigener Code or Unklar, with how many of them were confirmed
Pakete The packages using it
Anzahl Number of packages

Confirming a license

Where the scan finds no license (Unknown) or a wrong one, people with the a role that may change data (OWNER, IT_ADMIN, USER, PSIRT, DEVELOPMENT) can confirm the license themselves; read-only roles (CXO, LEGAL, QUALITY, PURCHASING, AUDITOR) can read the confirmations (LEGAL decides about them in the legal review).

  1. On the Lizenzen tab, Anzeigen und bearbeiten next to the count of components without a known license lists exactly those (the filter Lizenz offen (unbekannt) on the Pakete tab does the same).
  2. Click Bearbeiten in a row, or tick several rows and click Lizenz bearbeiten to confirm one license for all of them (for example every library of your own company).
  3. Choose SPDX-Lizenz and type its id or expression (MIT, Apache-2.0, MIT OR Apache-2.0); the category follows from it. For a license SPDX does not list, choose Eigene oder kommerzielle Lizenz, give its name and pick the category; for a bought license also the contract number and Gültig bis.
  4. Optionally add the copyright holders (one per line), the license text, a link to it, where you found it (a file in the repository, a contract, a web page), whether the component is shipped with the product or only used to build it, and a note.
  5. Für alle Versionen dieses Pakets applies it to every version of the package, now and in future scans; otherwise only to the listed version.

A confirmed license is kept apart from the scan results, so the next scan does not undo it. The table shows it with a bestätigt badge (who and when on hover), the license summary counts it instead of the detected one, and Bestätigung zurücknehmen in the dialog withdraws it. The same package in other targets gets it too.

::: info The categories are guidance for reviewing your components, not legal advice. :::

The Lizenzprüfung card at the top of the Lizenzen tab shows what your workspace's license policy says about each component: how many are allowed, Zur Prüfung (waiting for a legal review) or Nicht erlaubt, and lists the open ones with the reason. The same badges appear next to the license on the Pakete tab.

The policy. Richtlinie opens it. For each kind of license (permissive, weak or strong copyleft, network copyleft, proprietary, public domain, own code, unclear) it says what a component needs when it is shipped with the product and when it is only used to build it: Erlaubt, Zur Prüfung or Nicht erlaubt. Under Einzelne Lizenzen you can rule single SPDX licenses that apply before their kind (for example AGPL-3.0-only Nicht erlaubt). A component counts as shipped unless its confirmed license says nur zum Bauen. For a license expression, AND takes the strictest of its licenses and OR the least strict, since you may choose. A bought license whose Gültig bis has passed is not allowed; one that ends within the announced period (60 days unless changed) is listed in advance.

The default policy forbids nothing: copyleft, bought and unknown licenses of shipped components need a review, everything else is allowed. Only the LEGAL, IT_ADMIN and OWNER roles can change the policy; everyone else can read it.

The review. People with the LEGAL role (and IT_ADMIN or OWNER) decide the components Zur Prüfung:

  1. Click Freigeben in a row, or tick several rows and click Auswahl freigeben; Ablehnen rejects a component.
  2. Optionally give a reason (for example "only linked dynamically, source code enclosed") and tick Für alle Versionen dieser Pakete to decide for every version.

An approved component counts as allowed and shows freigegeben (who, when and the reason on hover); a rejected one counts as not allowed. An approval resolves a review, never a license the policy forbids: that needs a policy change. Entscheidung zurücknehmen withdraws a decision. Changing a component's confirmed license drops its review, since the review was of the license as it was. Where nobody confirmed a license yet, approving confirms the license the scan found (an SPDX license), in your name; an unknown license has to be confirmed first.

Findings. Every scan with a complete SBOM reports each component that is not allowed as a finding (High), and the components waiting for a review as one finding per target (Low). They close themselves at the next scan once the cause is gone. Policy changes and decisions show in the license check at once, and in the findings with the next scan.

Third-party notices

Products that ship third-party components usually have to name them with their copyright and license. Drittanbieter-Hinweise on the license check card (pick a target first) downloads THIRD-PARTY-NOTICES.txt: the shipped components grouped by license, with the copyright lines you confirmed, a link to the license text on spdx.org, and the full text of your own licenses. Components without a known license are listed at the end, so you can see what is missing. The evidence pack contains the same file, together with license-check.json, the license check on the day the pack was made.

Through the API (GET /api/v1/sbom/notices?repo_id=<target>) the notices are also available as markdown (format=markdown) and with the build-only components (build_only=true); an API key needs the pruefwerk:sbom.read scope.

Export

  1. On the Pakete tab, select a target under Alle Prüfobjekte. Export works for one target at a time; without a selection the export says Zuerst ein Prüfobjekt wählen.
  2. Click Exportieren and choose a format:
    • CycloneDX 1.6 -- JSON, widely supported by security tools
    • SPDX 2.3 -- the Linux Foundation standard, common for license compliance
  3. Click Herunterladen. The SBOM downloads as a JSON file.

The evidence pack on the target's page also contains both formats.

The CycloneDX document follows the CycloneDX 1.6 schema and, as far as Prüfwerk has the data, BSI TR-03183-2 v2.1:

  • Every component has a bom-ref (its purl, or <package manager>:<name>@<version>) and, from its purl, its group (a Maven group id, an npm scope).
  • The product itself is metadata.component, named after the target, with the bom-ref and purl pkg:generic/<target name> and as version the time its SBOM data was last compiled (the TR's rule for a component without a version).
  • The SBOM's creator is BreakPilot GmbH (metadata.manufacturer, contact kontakt@breakpilot.com), which generates the document.
  • Registry packages carry the TR's properties: bsi:component:filename (the file the package is distributed as, e.g. log4j-core-2.17.1.jar, lodash-4.17.21.tgz, newtonsoft.json.13.0.3.nupkg) and, as for the TR's rpm example, bsi:component:executable non-executable, bsi:component:archive archive, bsi:component:structured structured. Packages whose file the purl does not name (PyPI, Go modules) and components without a purl get none.
  • The dependency graph has the product depending on every component, and each component as its own entry. The SBOM is flat (which component depends on which is not known), so compositions states it incomplete.
  • Packages whose lockfile records the file they are distributed as carry its hash (hashes) and an externalReferences entry of type distribution with the download URL and the hash: the lockfile's URL (npm, yarn, pnpm), or the public registry's (npmjs, nuget.org, crates.io) when the project takes the package from there and the lockfile names none.
  • Each component's creator (manufacturer.url) is its project's web page: the homepage or repository its registry names, or the repository its purl names. Never a person's name or email.
  • Licenses are an SPDX id, an SPDX expression or a named license, marked acknowledgement: declared: they are what the package declares. A license a person confirmed is written instead, marked acknowledgement: concluded (a license of your own by name, with its text and URL), with the copyright in copyright and the properties pruefwerk:license:category, pruefwerk:license:usage, pruefwerk:license:contract, pruefwerk:license:valid_until, pruefwerk:license:evidence, pruefwerk:license:concluded (who and when) and, where the scan found another one, pruefwerk:license:declared.
  • In SPDX, a confirmed license is licenseConcluded (otherwise NOASSERTION), with copyrightText; a license of your own is defined in hasExtractedLicensingInfos.
  • The known vulnerabilities are listed at the top level, each naming the components it affects. A vulnerability is listed once under its CVE (source NVD) when one is known, with its GitHub advisory under references; one without a CVE under the advisory's id.

A machine's SBOM

A machine is a project of kind product (projects are managed in the portal). Its parts are the targets assigned to it, the ones made in-house and the components bought in from suppliers. GET /api/v1/projects/{id}/sbom returns the machine's SBOM as CycloneDX 1.6:

  • The machine is metadata.component, of type device.
  • Each part is a component of the machine with its supplier: the supplier of a bought-in component, the workspace for a part made in-house. A bought-in part's version is the supplier's version of the product; a part made in-house carries the time its SBOM data was last compiled, as for a target.
  • Each part's components follow. One that two parts contain is listed once. The supplier's product itself is the part, not one of its components.
  • The dependency graph has the machine depending on its parts and each part on its own components. Which of a part's components depend on which is not known, so compositions states it incomplete.
  • Archived targets are left out. A topic project, or a product without targets, has no SBOM (422). More than 100,000 components are refused (413), as for one target.

GET /api/v1/projects/{id}/overview shows the machine at a glance. It has each part with its supplier, open CVEs and last scan. Across the parts it gives the open CVEs by severity, the ones nobody has stated anything on yet (and how many of those the supplier states something on), the components (each once, and how many sit in more than one part) and the suppliers' advisories. GET /api/v1/projects/{id}/cves lists the machine's open CVEs grouped by component across its parts, with each alert naming its part (repo_id). A component in two parts is one group. Whether it affects the machine is still stated per part, because the vulnerable code may be reached in one part and not in the other. GET /api/v1/projects/{id}/scan-changes is the machine's history: the last scans of its parts, newest first, each naming its part (part) and what it changed, as in a target's history. A supplier's new version shows as its product updated (from → to) in a part bought in.

In the dashboard, a product project's name on Übersicht opens the machine's page (/projects/{id}). It has three tabs:

  • Bestandteile: the figures across the machine and each part with its origin, version, open CVEs and last scan. It also offers the machine SBOM to download.
  • Schwachstellen: the open CVEs by component, each row a part with its status and what its supplier says. You assess each one in the part.
  • Verlauf: the parts' scans, a supplier's new version among them.

The machine's VEX, CSAF and evidence pack follow; until then each part has its own.

VEX: the status of each vulnerability

For each known vulnerability (CVE alert) of a target you state whether the product is affected (VEX, Vulnerability Exploitability eXchange), as the CRA expects of a manufacturer handling vulnerabilities. In the dashboard this is the Schwachstellen und VEX section of a target (see Assessing vulnerabilities). The statuses:

Status Meaning Required
under_investigation Not assessed yet; every alert starts here --
affected The product is affected an action statement: what users must do
not_affected The product is not affected a justification or an impact statement
fixed The product no longer contains the vulnerable component or version --

Justifications for not_affected (OpenVEX): component_not_present, vulnerable_code_not_present, vulnerable_code_not_in_execute_path, vulnerable_code_cannot_be_controlled_by_adversary, inline_mitigations_already_exist. A statement without what its status requires is refused.

A scan keeps the status current: when a complete CVE check no longer finds an alert (the component was removed or updated past the fix), it is marked resolved, and one nobody assessed, or assessed as affected, becomes fixed. A not_affected or fixed someone stated is never changed by a scan. If the vulnerability comes back, the scan's fixed is withdrawn. A Yocto recipe's CVE_STATUS and CVE: patches are stated by the scan too (see Embedded Linux / Yocto), likewise never over a person's statement.

The statements are exported per target as OpenVEX 0.2.0 and as CycloneDX 1.6 VEX (the SBOM with each vulnerability's analysis), both checked against their official schemas, and are part of the evidence pack (vex.openvex.json, vex.cdx.json). Each statement names the component by the purl it had when the alert was found, so a fixed statement still matches the SBOM version that contained the component after it was updated or removed. Alerts resolved before Prüfwerk recorded that purl name it pkg:generic/<name>@<version>. A vulnerability is named by its CVE when one is known; its GitHub advisory is an alias (OpenVEX aliases, CycloneDX references, CSAF ids), and alerts of the same CVE in the same component are one statement. CycloneDX names the statuses differently:

OpenVEX CycloneDX analysis.state / justification
under_investigation in_triage
affected exploitable (response: update when a fixed version is known)
not_affected not_affected
fixed resolved
component_not_present, vulnerable_code_not_present code_not_present
vulnerable_code_not_in_execute_path code_not_reachable
vulnerable_code_cannot_be_controlled_by_adversary requires_environment
inline_mitigations_already_exist protected_by_mitigating_control

API: GET /api/v1/targets/{id}/cves lists the alerts with their statements, GET /api/v1/targets/{id}/cve-matrix counts the still-reported ones per severity and VEX status (open = no statement yet) for the grid on the target page, PATCH /api/v1/cves/{id}/vex sets one ({"status": "not_affected", "justification": "…", "impact_statement": "…"}), GET /api/v1/targets/{id}/cve-groups lists the open alerts grouped by component (package, version, purl, fix_version, fixable, counts per severity, kev, epss_max, cve_ids, alert_ids), and PATCH /api/v1/targets/{id}/cve-groups/vex states one status on every open alert of a component (the group's package, version and purl beside the statement's fields; one statement per alert, validated as a single one), GET /api/v1/targets/{id}/vex?format=openvex|cyclonedx downloads the document, GET /api/v1/targets/{id}/csaf?namespace=<publisher URL>&lang=de|en the same statements as a CSAF 2.0 VEX advisory (a TLP:AMBER draft; see Assessing vulnerabilities). GET /api/v1/targets/{id}/enisa lists the actively exploited vulnerabilities, one per CVE, whether CRA Art. 14 asks for a notification, and each stage's due_at, overdue and hours_left at the time of the request; GET /api/v1/cves/{id}/enisa?aware_at=<RFC 3339> downloads the draft notification in the fields of ENISA's reporting platform (see Assessing vulnerabilities).

SBOM quality

When a target is selected on the Pakete tab, SBOM-Qualität (SBOM quality) shows how the exported CycloneDX document meets two standards, as sbomqs scores it at the end of each scan:

  • BSI TR-03183-2 v2.1 -- the German technical guideline for SBOMs under the CRA
  • NTIA Minimum Elements (2021)

Each line has sbomqs's grade (A to F) and score out of 10. Open it for the checks the SBOM does not fully meet, marked Pflicht (required) or zusätzlich (additional), with what sbomqs found. The score is supporting evidence for the CRA requirement cra-ai-23 (SBOM): it is shown there on the target's CRA page and is in the evidence pack as sbom-quality.json, but it raises no findings and does not change the requirement's state.

The score rates the document, not the software. Against BSI TR-03183-2 the export meets the format, creator, timestamp, name, version, dependency and identifier checks, and the file properties for registry packages. Still open, and why:

  • Component creator: met where the project URL is known: npm, Maven and NuGet packages from their public registries (homepage or repository), GitHub, Go-module and Swift packages from their purl. Other ecosystems and private packages have none yet; the product itself has none (the workspace's web address is not recorded).
  • Hash of the deployable component (SHA-512) and its download URL: met for npm, yarn and pnpm packages (the lockfile's integrity) and NuGet packages with a packages.lock.json (its contentHash). Cargo's lockfile has a SHA-256, which the export lists but the TR does not accept; Python and Maven lockfiles give Prüfwerk no hash yet. Packages from a private registry keep their hash but get no download URL, since the export only names the public registry's.
  • Distribution licence: the licence the product is distributed under (acknowledgement: concluded) is the manufacturer's decision; the export states the declared licences only.
  • File properties of the product and of packages without a known file: the product is a logical component in the TR's terms, which needs no file properties; sbomqs counts it like a file.

Compare Tab

Vergleich compares the SBOMs of two targets, for example two firmware releases:

  1. Select Prüfobjekt A and Prüfobjekt B.
  2. The result shows:
Section Description
Nur in A Packages only in target A
Nur in B Packages only in target B
Versionsunterschiede The same package in different versions
Gemeinsam Number of packages that match exactly