Skip to main content
Plans: Every plan. On Free, your SBOMs stay readable and downloadable, but new ones are refused. Who: any member uploads, retires and reactivates SBOMs; owners and admins create the API tokens that pipelines use and choose whether only the newest SBOM is in use.
An SBOM (software bill of materials) lists the components in one version of your product. Pharus reads every SBOM you send, matches its components against known and exploited vulnerabilities, checks its quality and its components’ end of life, and keeps the original file. Each SBOM belongs to one product family.

Supported formats

Pharus doesn’t read XML SBOMs (CycloneDX XML, SPDX RDF/XML) or SPDX tag-value. Export JSON instead, for example with syft -o cyclonedx-json or cyclonedx convert --output-format json. An SPDX 2 document that only points to packages in other SPDX documents is refused: send the whole set, as Yocto’s archive does.

Size limits

  • At most 4 MB as sent. Gzip the file to stay under it: the app does this for you, and the pipeline examples do it with gzip.
  • At most 50 MB uncompressed.
  • At most 50 000 components.

How SBOMs arrive

The Connect a pipeline card on the SBOMs page has example snippets with your endpoint filled in, in tabs for GitHub Actions, Azure DevOps, Dependency-Track, sbomify, Yocto, VEX and curl. The VEX tab sends other tools’ verdicts; see VEX from other tools.

Upload an SBOM

1

Open the upload dialog

Go to SBOMs and select Upload SBOM, or Upload SBOM on a family’s card.
2

Choose the family and version

Pick the Product family. Enter the Product version, or leave it empty to use the version in the SBOM. A Yocto image SBOM rarely carries one, so set it here. In a family where only the newest SBOM is in use, the dialog says that the upload retires the family’s other SBOMs.
3

Choose the file

Drop a .json or .spdx.tar.zst file on SBOM file, or select Choose file. Gzipped files (.gz) and plain .tar archives work too. Your browser compresses JSON before it is sent.
4

Upload

Select Upload SBOM. Pharus confirms with the number of components it read, and matching starts. The SBOM’s page updates by itself and then says what it found, with a link to the matches.
If you send a file Pharus already has for that family, it says “This SBOM was already uploaded” and stores nothing new.

Try the sample SBOM

Before your first SBOM, the SBOMs page offers Try a sample SBOM. It uploads a sample firmware SBOM, gateway-g3-fw-4.2.cdx.json (CycloneDX 1.5, 19 components, including log4j-core 2.14.1, which is in CISA KEV), to the family you choose, so you can see matching and an incident end to end.
The sample works like a real SBOM, and the dialog says so: the KEV match opens a real incident, emails owners and admins, and pages whoever is on call if you have a rota. It also counts as your first SBOM on Get started. When you’re done, retire the sample SBOM and close the incident.

SBOMs from a Yocto build

A Yocto build writes an SBOM for each image under tmp/deploy/images/<machine>. Send it as it is:
  • scarthgap and earlier: <image>-<machine>.rootfs.spdx.tar.zst, an archive of SPDX 2.2 documents.
  • styhead and later: <image>-<machine>.rootfs.spdx.json, one SPDX 3.0 document.
Pharus keeps the recipes the image actually ships, with their CPEs and the CVEs Yocto lists as fixed by a patch. Those CVEs count as fixed for that product version; see patches a Yocto build lists. An SPDX 3.0 SBOM’s own not-affected statements show on the matches as evidence. A Yocto image SBOM rarely carries a product version, so give it with the upload. The Yocto tab of Connect a pipeline has a script to run after bitbake <image>. It picks the archive, or the SPDX 3.0 file when there is no archive, gzips it and sends it with X-Pharus-Version. See upload an SBOM.

What happens after an SBOM arrives

1

Pharus stores and reads it

Pharus keeps the original file and reads the components: name, version, purl, CPE and supplier. It leaves out the product itself and, in CycloneDX 1.7, external components. A component listed twice counts once.
2

It settles the product version

The version you gave (in the upload dialog or the API request) wins. Without one, Pharus uses the product version in the SBOM: metadata.component in CycloneDX, or the package the document describes in SPDX. Without either, the SBOM shows as “No version”.
3

It retires the SBOMs it replaces

By default a family has one active SBOM per product version. A new SBOM for version 4.2 retires the previous 4.2 SBOM; SBOMs of other versions stay active, since devices with them can still be in the field. The family’s current version becomes the new version if it is the highest so far.In a family where only the newest SBOM is in use, the new SBOM retires every other active SBOM of the family, whatever its version, and its version becomes the current one.
4

It checks the SBOM

Pharus checks the SBOM’s quality and looks up each component’s end of life upstream. Vulnerabilities inside the SBOM, from Trivy or Grype for example, become its VEX document.
5

It matches the components

Within seconds Pharus matches the family’s components against OSV.dev, CISA KEV and ENISA EUVD. Results appear under Vulnerabilities, and an exploited match can open an incident by itself.
Each SBOM has a status:

Get exact matches

Pharus matches a component exactly when it has a purl of a type that OSV.dev covers: npm, pypi, maven, golang, cargo, nuget, gem, composer, hex, pub, deb, apk, swift, cran or hackage. It ignores purl qualifiers and subpaths, except distro on Debian packages: give it (for example distro=bookworm or distro=debian-12), or every Debian release’s open vulnerabilities match. Components without such a purl (CPE only, generic, conan, rpm, Yocto recipes and others) are only compared by name against the exploited lists, so their version isn’t checked. The Checked by column on the SBOM’s page shows this as “purl · OSV” or “Name only”. See how matching works.

The SBOMs page

SBOMs shows one card per active product family with its Current version, Components, Last SBOM and the number of active and retired versions, followed by “Only the newest SBOM in use” when the family is set that way. The table lists the family’s active SBOMs, newest first: Below it, Retired SBOMs lists the family’s retired SBOMs with when they were Retired and Why: “Replaced by a newer SBOM for the same version”, “Replaced by a newer SBOM, as only the newest is in use”, or retired by hand and by whom. They are kept for the record; their components no longer count towards the family, and Pharus no longer checks them. Each list shows 10 SBOMs at a time, with Previous and Next when there are more. Last on the card, VEX documents lists the verdicts other tools sent for the family. See VEX from other tools.

An SBOM’s page

  • Details: Status, Product family, Product version, Product in SBOM, Format, Serial number, SHA-256 and size, Source, Sent by (the member, or the API token’s name), and when it was Received, Parsed and Matched.
  • Pipeline: Repository, Branch, Commit and a link to the Run, when the pipeline sent them with the X-Pharus-Repo, X-Pharus-Branch, X-Pharus-Commit and X-Pharus-Run-Url headers. For Dependency-Track, the repository is the Dependency-Track project’s name.
  • Components: every component with Name, Version, purl / CPE, Type, Checked by, its Upstream support and, when there are any, Vulnerabilities with the number exploited. Use Filter by name, version or purl to narrow the list; it shows up to 500 rows at a time. A notice above the table names the components that have reached end of life upstream.
  • SBOM quality: the quality check against the CRA, BSI and CISA.
  • VEX in this SBOM, when the SBOM carries vulnerabilities, with a link to its VEX document.

Download the original

Select Download original on an SBOM’s page. You get the file exactly as Pharus received it, uncompressed, named after the family and version, for example gateway-g3-4.2.cdx.json. Every member can download it, also while the workspace is read-only. The original files are also part of the company’s data export.

Only the newest SBOM in use

By default every product version keeps its active SBOM, because devices with older versions can still be in the field. That doesn’t fit a service you run yourselves, or a pipeline that sends an SBOM per build: each build is then its own version, so every build’s SBOM stays active and the same vulnerabilities show once per build. For such a family, turn on Only the newest SBOM is in use. Each new SBOM then retires every older one in the family, whatever its version. Leave it off while devices with older versions are in the field.
1

Open the family

Go to Settings → Product families and open the family. Owners and admins can change it.
2

Turn it on

In Details, turn on Only the newest SBOM is in use.
3

Save

Select Save product family. Pharus retires the family’s older SBOMs at once and keeps the one it received last in use. The confirmation says how many it retired, and matches that only the retired SBOMs held show as “Removed” under Vulnerabilities.
From then on:
  • each new SBOM, by upload, from CI or from Dependency-Track, retires the family’s other active SBOMs. Their Why says “Replaced by a newer SBOM, as only the newest is in use”;
  • the family’s current version is the version of the SBOM in use, also when it is lower than the one before, for example after you roll back a deploy;
  • the upload answer’s retired field counts the SBOMs an upload retired. See the API.
Turning it off retires nothing and brings nothing back. If an older version is still in use, reactivate its SBOM, as below. Both changes are recorded in the audit trail.

Retire an SBOM

Retire an SBOM when that version is no longer on the market or in the field.
1

Open the SBOM

On SBOMs, select the version.
2

Retire it

Select Retire SBOM, then Retire SBOM again to confirm.
Its components stop counting towards the family and new matches aren’t raised for it. The SBOM itself and its history stay in the audit trail, and its page says when it was retired and why.

Reactivate an SBOM

If you retired an SBOM by hand, or it was retired because only the newest SBOM was in use, and that version is still on the market or in the field, put it back in use. Open the SBOM, select Reactivate SBOM, then Reactivate SBOM again to confirm. Its components count towards the family again, and Pharus checks them for vulnerabilities straight away, with alerts as for a new upload. Pharus refuses to reactivate an SBOM when:
  • a newer SBOM for the same version replaced it. Send a regenerated SBOM instead;
  • the product family is archived. Restore it first;
  • only the newest SBOM is in use in the family and another SBOM is active. Turn the setting off first;
  • another SBOM for the same version is active.
Retiring and reactivating are recorded in the audit trail.

Vulnerabilities

SBOM quality

Upload SBOMs with the API

VEX from other tools