Join our Newsletter — 33% off our NHI Course
Home› FAQ› Cyber Security› How should teams validate whether a new container…
Cyber Security

How should teams validate whether a new container image actually reduced risk?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated October 22, 2026 Domain: Cyber Security

Compare the new image against the previous release using digests, not tags, and separate findings into fixed, introduced and persisting sets. That gives teams a release-level view of net risk change and avoids mistaking a new scan count for progress. The most useful control question is whether known exposure went down in the build that will actually ship.

Why digests matter more than scan output when comparing container images

A tag tells you what an image is called at a point in time, but a digest tells you exactly what was shipped. If you want to know whether risk actually fell, the comparison has to be release-level and reproducible. That is why the right unit of analysis is the image content that will run, not the label attached to it.

When teams compare by digest, they can distinguish a genuine security improvement from a packaging change, a rebuilt layer, or a tag that has silently moved. That matters because container risk often changes in ways that scan counts alone do not capture. A smaller vulnerability count is useful only if it reflects the specific artifact that will be deployed.

For container images, the most reliable comparison starts with a pinned artifact identity and then measures what changed across layers, packages, and embedded dependencies. The NHIMG Container Image Security Guide is a practical reference for the related controls around image integrity, provenance, scanning, signing, SBOMs, and registry handling.

How to separate fixed, introduced, and persisting risk

Teams should compare the previous release and the candidate release as two explicit sets of findings. Fixed findings are exposures present before but not after the change. Introduced findings are new issues that appear in the new image. Persisting findings are the overlap, which shows what the build did not improve.

This set-based view is better than a raw before-and-after vulnerability count because it shows the direction of change, not just the headline volume. A build can reduce one high-risk issue and add several low-value findings, or vice versa. The real question is whether the build decreased the exposures that matter for the shipped artifact and did not quietly trade one problem for another.

Use the sets to answer three operational questions. First, did the build remove material exposure from the image that will actually ship? Second, did any new packages, layers, or base-image changes introduce fresh risk? Third, are the persisting findings acceptable for this release, or do they require a separate remediation plan?

That approach also helps teams avoid false confidence from scanner noise. The control objective is not to achieve a lower count in the abstract, but to demonstrate a net reduction in meaningful exposure across the actual release artifact.

What “reduced risk” should mean before the image is promoted

Reduced risk should mean that known exposure declined in the exact build candidate, not merely in a local scan, a draft manifest, or a repacked image that never reaches production. The result should be tied to the immutable image digest, the intended deployment target, and the scanner or policy baseline used for the release decision.

That definition is important because image risk can change between build, registry, and runtime. A container image may look improved in one environment while a different tag, pull-through cache, or late-stage rebuild changes what actually ships. The release decision should therefore rely on the digest that the orchestrator will pull and on the same comparison method used for the earlier release.

Where possible, teams should also preserve the comparison evidence alongside the release record. That gives reviewers a defensible answer to the question, “What changed, what was fixed, and what remains?” It also makes exception handling easier when a release must proceed with known residual findings.

Risk and Threat Considerations

Container-image comparisons are easy to misread when teams treat scan output as proof of improvement. A lower count can hide a newly introduced critical issue, while an unchanged count can still mean the build became safer if a more serious exposure was removed. The risk is release-level misunderstanding, not just missed hygiene.

Failure mechanism: Teams compare tags instead of digests, aggregate findings across different artifacts, or measure only raw counts, which obscures whether the shipped image actually changed risk.

Impact: A release can be promoted on the basis of misleading evidence, leaving introduced exposures unreviewed and allowing persisting issues to be carried forward into production.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST SP 800-190, CIS Controls v8 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST SP 800-190Container SecurityContainer image integrity and release risk are central to this subject.
Recommendation — Use container-specific guidance to compare immutable images and assess release risk changes.
CIS Controls v8CIS-5 — Account ManagementImage promotion depends on controlled artifact handling and change discipline.
Recommendation — Apply controlled change and verification before promoting the new image.
NIST SP 800-53 Rev 5SI-7 — Software, Firmware, and Information IntegrityValidating the shipped image against prior release evidence depends on integrity verification.
Recommendation — Verify artifact integrity before release decisions and deployment.

Practitioner Guidance

What to verify: Confirm that the comparison uses the exact previous release digest and the exact candidate digest, then verify that findings are grouped into fixed, introduced, and persisting sets from the same scanner method and policy baseline.

Decision rule: If the new image removed higher-value exposure than it introduced, treat the build as a net improvement; if introduced findings are more severe than the fixed findings, do not call it risk reduction just because the total count fell.

What practitioners underestimate: The most common error is to celebrate a lower scan number without checking whether the change applies to the artifact that will actually be deployed. That mistake turns scanning into reporting, not control.

Practitioner takeaway: The right success criterion is release-level net exposure reduction on the immutable image, not a better-looking vulnerability total on a mutable tag.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 22, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org