Who verifies the verifier: why ZTGIT uses two scanning engines
The problem
A security pipeline usually has a blind spot: the very tool that decides whether something is safe. If the vulnerability scanner has a bug, an outdated database, a matching rule that does not recognize a certain type of package or, in the worst case, has been compromised, every conclusion that depends on it is wrong and no one notices.
In zero trust, the question “who verifies the verifier?” needs an answer.
ZTGIT’s answer
Each image is assessed by two engines from different vendors, each with its own vulnerability database:
- ZTGIT-SBOMscan is the pipeline gate. The build is blocked if there is a critical vulnerability that already has a fix.
- Grype is the independent cross-check. It analyzes the image’s public SBOM, and its result is published alongside.
This also applies to the image of ZTGIT-SBOMscan itself: the scanner is not exempt from verification.
Why the numbers sometimes differ
Differences between the two engines are expected and do not, on their own, indicate an error:
- each one queries different databases and advisory sources;
- each one has its own rules for matching a package to a vulnerability;
- the databases are updated at different times.
What matters is that the differences are visible. Each component page shows both results, the dates of the databases used and the pipeline rule. Discrepancies are reviewed at every weekly rebuild.
How to check for yourself
Every image’s SBOM is public. Anyone can run a third engine, or the same two, and compare. The step-by-step guide is in How to verify a ZTGIT image.
Summary
- A single scanner is a single point of failure.
- ZTGIT uses two independent engines and publishes both results.
- The scanner itself is also verified.
- Public SBOMs let anyone run their own cross-check.
See also: transparency and the term vulnerability scanning in the glossary.