An image digest is a fixed cryptographic fingerprint for a specific container image. It changes if the image content changes, which makes it useful for binding a signature to an exact build and for detecting tampering or accidental drift across registries and pipelines.
What an image digest does
An image digest is the immutable reference point for a container image. Because the digest is derived from the exact image content, it gives operators a stable way to pin deployments, compare artifacts across environments, and know when two images that share a tag are not actually the same build.
That makes the digest more than a label. It is the content-addressed identifier that lets teams distinguish a trusted image from a modified one, even when registries, release pipelines, or deployment manifests are using human-friendly tags.
Why image digests matter for integrity
Image digests matter because container tags are convenient but not reliably fixed. Tags can be moved, overwritten, or reused, while the digest changes whenever the underlying image layers or configuration change. In practice, the digest is what makes image provenance checkable at the artifact level rather than at the name level.
This is especially important in build and release pipelines, where the digest can be used to bind signatures, SBOMs, attestations, and allow-lists to one exact artifact. That reduces ambiguity when a platform needs to prove that the image it runs is the one that was reviewed, tested, and approved.
Container Image Security Guide covers the related controls around image provenance, signing, scanning, and registry access that make digest pinning effective.
How digests are used across registries and pipelines
In healthy container workflows, the digest becomes the deployment contract. Teams can record it in manifests, admission policies, release metadata, or promotion records so that a later pull resolves to the intended artifact rather than whichever image currently owns a tag.
That same property also helps with drift detection. If a registry copy, mirrored artifact, or runtime deployment does not match the expected digest, the mismatch is a strong signal that the image has changed, been replaced, or was never the approved artifact in the first place.
Hardened and Minimal Base Images Guide is useful here because digest pinning is often paired with base-image selection, rebuild discipline, and controlled change management.
Image digest versus tag
A tag answers the question “what should people call this image?”, while a digest answers “what exact bytes are in this image?”. The distinction matters because tags are mutable metadata and digests are content identifiers. A deployment that relies on tags alone may be easy to read, but it is weaker for repeatability and tamper resistance.
For that reason, security-conscious teams often use both together: tags for human workflow and digests for enforcement. The tag provides release context, while the digest preserves the exact build identity that tooling can verify at pull time, promotion time, or admission time.
MITRE ATT&CK T1525 Implant Internal Image shows why this distinction matters when an attacker attempts to alter an internal image or persistence path without changing the expected operational workflow.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
NIST SP 800-53 Rev 5, CIS Controls v8 and SLSA set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST SP 800-53 Rev 5 | SI-7 — Software, Firmware, and Information Integrity | Image digests support integrity verification for container artifacts. |
| CM-5 — Access Restrictions for Change | Digest pinning helps control approved artifact change and replacement. | |
| IA-5 — Authenticator Management | Image digests often anchor signed artifact workflows that depend on secret and key handling. | |
| Recommendation — Use SI-7 to verify image integrity against the expected digest before deployment and execution. Apply CM-5 to restrict unauthorized replacement of approved container images and tags. Use IA-5 to protect the keys and credentials used to sign and validate container images. | ||
| CIS Controls v8 | CIS-4 — Secure Configuration of Enterprise Assets and Software | Digest pinning is part of secure software configuration and controlled deployment. |
| Recommendation — Enforce secure configuration by pinning approved container images to immutable digests. | ||
| SLSA | Supply-chain Levels for Software Artifacts | Digests are central to artifact integrity and provenance in software supply chains. |
| Recommendation — Require immutable digests in provenance checks so release artifacts can be verified exactly. | ||
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 October 30, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org