Verify container image integrity by signing images, checking signatures before deployment, and pinning images by digest rather than by mutable tags. Use an admission controller or policy engine to reject unsigned or tampered images, and verify provenance so the running workload matches the approved build output.
What container image integrity actually requires
Container image integrity is about proving that the image you run is the same artifact you approved. In practice, that means verifying a cryptographic signature, checking the digest that uniquely identifies the image, and rejecting anything that cannot be tied back to a trusted build and release process. If a tag can be moved, it is not enough on its own.
That is why teams should treat tags as human-friendly labels, not security anchors. The security decision belongs to the digest, the signature, and the provenance record that shows how the image was produced. A solid policy should fail closed when any of those checks are missing or inconsistent.
Where to enforce image verification
Verification should not depend on manual review at deploy time. The strongest control point is admission, where a cluster policy engine or admission controller can block unsigned, untrusted, or tampered images before they start. This gives you a consistent gate regardless of who deploys, which pipeline built the image, or which registry supplied it.
For defense in depth, teams should also verify earlier in the delivery chain. CI can check signatures and provenance before promotion, while the registry and deployment platform can enforce digest pinning so a mutable tag cannot silently point to a different build. Container Image Security Guide is the broadest internal starting point for that end-to-end model, while How to sign and verify container images with cosign gives a concrete signing and verification workflow.
When teams want to understand how to make enforcement real at cluster admission, D3-CIA Container Image Analysis is the most direct internal map for image checks at admission and in the pipeline.
How to know the image is still trustworthy at runtime
Integrity is not only a build-time question. The image you approved can still become risky if the registry is compromised, if an attacker overwrites a tag, or if a deployment reuses stale metadata instead of the current digest. Provenance helps here because it lets teams compare the runtime artifact against the approved build output and detect drift between source, build, registry, and deployment.
If image trust is broken or uncertain, the response should shift quickly from verification to containment. That means freezing promotion, checking whether the registry or artifact store was altered, and rebuilding from a trusted source rather than trying to rescue a suspicious image. The internal incident playbook If your artefact and container registry is compromised is the most practical guide for that scenario.
Risk and Threat Considerations
Unsigned images, mutable tags, and weak registry controls create a straightforward supply-chain attack path. An attacker who can replace or poison an image does not need to break the workload directly, they only need to make the platform trust the wrong artifact. That is why image integrity controls are as much about preventing silent substitution as they are about stopping known malware.
Failure mechanism: The deployment path trusts a label or registry record that can be changed after approval, or it accepts an image without enforcing signature and provenance checks, so a tampered artifact reaches production.
Impact: The cluster can run code that was never reviewed, which can expose secrets, add persistence, or create a trusted foothold for lateral movement and further compromise.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
SLSA, NIST SP 800-53 Rev 5, OWASP ASVS and CIS Controls v8 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| SLSA | Supply-chain Levels for Software Artifacts | Container image provenance and build integrity are central to the question. |
| Recommendation — Adopt provenance controls so only verifiable build outputs reach deployment. | ||
| NIST SP 800-53 Rev 5 | SI-7 — Software, Firmware, and Information Integrity | Image integrity depends on verifying code and blocking tampered artifacts before use. |
| CM-5 — Access Restrictions for Change | Mutable tags and registry writes are change-control risks that can alter deployed images. | |
| Recommendation — Verify artifact integrity before execution and reject altered images. Restrict who can publish or retag images and log every change. | ||
| OWASP ASVS | V15 — Secure Coding and Architecture | Signed, pinned images and provenance checks are architecture controls for trustworthy deployments. |
| Recommendation — Require trust verification and immutable references in deployment architecture. | ||
| CIS Controls v8 | CIS-16 — Application Software Security | Image signing, admission enforcement, and provenance checks are prescriptive software supply-chain safeguards. |
| Recommendation — Enforce signed artifacts and immutable deployment references across delivery. | ||
Practitioner Guidance
What to verify: Make the digest, signature, and provenance check part of the deploy decision, not a separate audit step. If any one of those is missing, treat the image as untrusted until it is rebuilt or revalidated.
Common mistake: Teams often pin tags in documentation but still deploy by tag in automation. The safe pattern is to pin by digest everywhere the runtime consumes the image, then use admission policy to block anything that arrives by mutable reference.
Practitioner takeaway: Integrity is only real when the platform can prove the exact artifact it runs matches the approved build, and can refuse anything that cannot prove that relationship.
Related resources from NHI Mgmt Group
Deepen Your Knowledge
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.
Reviewed and updated by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org