By NHI Mgmt Group Editorial TeamBased on Keyfactor: “Zero Trust in Action: How Code Signing Benefits Container Security” (October 13, 2025)

TL;DR: Unsigned or tampered container images can enter production through poisoned registries, compromised CI/CD systems, stolen signing keys, and inconsistent team practices, according to Keyfactor. Code signing turns identity and integrity into verifiable controls, but trust still depends on key protection, policy enforcement, and lifecycle discipline.


At a glance

What this is: This is a container security analysis showing that code signing turns image trust into a verifiable control across registries, pipelines, keys, and policy enforcement.

Why it matters: It matters because IAM, PAM, DevSecOps, and NHI teams need consistent provenance and signing governance before unsigned workloads reach production.


Context

Container image signing is the practice of attaching a cryptographic signature to an image so downstream systems can verify who created it and whether the content changed. In this article, the governance gap is not container speed or scale on its own, but the lack of trustworthy provenance when images move through registries and pipelines.

That gap matters to NHI governance because build systems, signing keys, and deployment controls all behave like identities with standing authority. If trust is established informally, teams can push unsigned or tampered artifacts into production without a clear control boundary.

The article frames code signing as a zero trust control for container supply chains, which is a typical problem pattern in modern DevSecOps environments.


Key questions

Q: What breaks when container images are deployed without signature verification?

A: Without signature verification, teams lose the ability to confirm that an image is the one that was originally built and approved. That weakens provenance, makes tampering harder to detect, and increases the chance that a compromised or counterfeit image reaches production. In practice, the control gap shows up as blind trust in registry content.

Q: Why do unsigned or tampered container images increase supply chain risk?

A: They increase risk because the deployment path cannot distinguish a trusted artifact from a manipulated one. If a compromised registry, CI/CD server, or leaked signing key is involved, a malicious image can inherit enough legitimacy to reach production. That is why provenance and identity need to be enforced together.

Q: What are the signs that container signing governance is failing?

A: Common warning signs include teams signing inconsistently, unsigned images appearing in production, and no clear record of which identity signed which workload. Another signal is that build-time checks and deployment-time checks do not agree, which usually means the governance model is fragmented rather than enforced.

Q: How should security teams govern signing keys in container pipelines?

A: Security teams should treat signing keys as privileged NHI assets. Restrict who can use them, separate signing from deployment authority, store keys in controlled systems, and rotate or revoke them on a defined schedule. Without key governance, signing only proves that a trusted identity was compromised or misused.


Technical breakdown

How container image signing binds identity to provenance

Code signing uses a private key to create a signature and a public key to verify it. In container workflows, that signature can be attached to the image, chart, or manifest so downstream systems can confirm origin and integrity before deployment. The important detail is that signing is not just a checksum. It is a trust statement tied to an identity and a policy decision about whether the artifact is allowed to move forward.

Practical implication: treat signature verification as a gating control in the release path, not as an optional audit artifact.

Why unsigned images slip past registry and pipeline controls

Unsigned or tampered images become dangerous when teams pull from public registries, reuse artifacts from compromised CI/CD systems, or rely on inconsistent team practices. Once a bad image is accepted, it can propagate into production before anyone spots the change. This is fundamentally a provenance problem: the environment is accepting software without a reliable way to prove where it came from or whether it was altered after build.

Practical implication: enforce signature checks at the registry and deployment layers so unverified images cannot be admitted downstream.

Why signing keys become the real trust boundary

A signing scheme is only as trustworthy as the key that controls it. If a key sits on a local laptop or in another weak storage location, an attacker can create rogue images that appear authentic and inherit the signer’s identity. Hardware security modules and vaults shift the protection point to a managed trust boundary, which is why key custody is inseparable from image provenance.

Practical implication: move signing keys into hardened storage and review who can use them, not just who can see the images.


Threat narrative

Attacker objective: The attacker wants to place malicious or altered container workloads into trusted delivery paths while preserving the appearance of legitimacy.

  1. Entry occurs when an attacker gets into a CI/CD server or reaches a signing environment that can influence image outputs.
  2. Credential access or trust abuse follows when the attacker steals or uses the signing key, or manipulates unsigned artifacts that downstream systems will accept.
  3. Impact occurs when rogue or tampered container images reach production and spread through services before detection and containment.

Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

Container trust collapses when provenance is treated as optional: The core problem is not that containers are portable, but that portability weakens assumptions about where trust begins and ends. When teams accept images without cryptographic provenance, they are relying on informal confidence instead of a verifiable identity chain. The practitioner conclusion is that image admission must be tied to proof, not packaging convenience.

Signing keys are the control plane for container integrity: If the key is exposed, the trust model is exposed with it. This is why key custody, not just signing policy, becomes the decisive governance issue for supply chain integrity. Practitioners should treat signing authority as privileged identity rather than a build-time convenience.

Patchwork signing policies create governance debt: The article’s team-level example shows that inconsistent adoption makes it impossible to know which workloads are trustworthy. That is not just an operational nuisance, it is a lifecycle governance failure because unsigned artifacts can persist inside release processes until someone forces standardization. The practical conclusion is that policy consistency matters as much as cryptography.

Identity and integrity must converge at release time: Code signing is effective here because it makes identity, provenance, and deployment authorization part of the same decision. That aligns with zero trust supply chain thinking and with the broader shift toward verified software rather than assumed software. Practitioners should evaluate container governance as an admission problem, not only a detection problem.

Verifiable software provenance is becoming a board-level control expectation: The article connects signing to regulator and customer trust, which signals that provenance is moving from engineering hygiene to governance requirement. The named concept is identity-bound artifact provenance, meaning the artifact cannot be separated from the signing identity that attests to it. The practitioner conclusion is that container security programmes need policy-backed provenance, not just scanning.

From our research library:

What this signals

Identity-bound artifact provenance: Container programmes now need to prove not only that an image exists, but that it came from the right identity and stayed unchanged through delivery. That shifts governance from scanning after admission to verifying before trust is granted, which is the correct model for zero trust supply chains.

Teams should expect release governance to converge with key governance. If signing authority is weak, scattered, or hard to audit, container security will keep failing at the boundary where build integrity becomes deployment trust.

The operational question is no longer whether containers can be signed, but whether every release path enforces the same admission rule. Consistency is what turns code signing from a local control into a programme control.


For practitioners

  • Enforce image signature verification at admission Require registries and deployment controllers to reject unsigned or tampered container images before they can reach production.
  • Move signing keys into hardened storage Store signing keys in hardware security modules or vaults so they are not exposed on developer laptops or general-purpose endpoints.
  • Standardise signing policy across DevOps teams Apply one signing policy, one audit expectation, and one approval standard so unsigned images cannot slip through teams with different practices.
  • Bind signature checks to build and release gates Make the build pipeline fail closed when an artifact lacks a valid signature or when the signature does not match the expected identity.
  • Review container provenance as part of supply chain governance Track which signing identities are authorised for which image streams, and revoke access when teams, pipelines, or ownership change.

Key takeaways

  • Container security fails when trust is implied instead of verified, because unsigned or tampered images can move through registries and pipelines as if they were legitimate.
  • The key control point is not just the image itself but the signing identity behind it, which means key custody and provenance governance are inseparable.
  • Container signing only closes the zero trust gap when enforcement is consistent at build, registry, and deployment stages.

Standards & Framework Alignment

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

OWASP Non-Human Identity Top 10 and MITRE ATT&CK address the attack and risk surface, while NIST CSF 2.0 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-02 — Secret LeakageLeaked signing keys and exposed artifacts create the compromise path this article describes.
NHI-07 — Long-Lived SecretsSigning keys kept on laptops or in weak storage create durable trust exposure.
Recommendation — Scan for exposed signing secrets and remove any key material found in developer or pipeline environments. Move signing credentials into managed storage and reduce the lifetime of any locally accessible key.
NIST CSF 2.0PR.DS-08 — Integrity MechanismsImage signing is an integrity control for software artifacts moving through the supply chain.
Recommendation — Apply integrity checks to container artifacts before they are admitted into release or deployment paths.
MITRE ATT&CKTA0006;TA0008 — Credential Access; Lateral MovementStolen keys and compromised pipelines enable credential abuse and downstream workload propagation.
Recommendation — Map compromised signing keys and pipeline tampering to credential access and lateral movement detection.
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementSigning keys are authenticators whose lifecycle must be controlled, protected, and rotated.
Recommendation — Apply authenticator management to signing keys and enforce storage, rotation, and revocation discipline.

Key terms

  • Code signing: Code signing is the process of attaching cryptographic proof to software so recipients can verify origin and integrity. In CI/CD, it turns release trust into an enforceable control instead of a human promise, and it only works when the signing step is mandatory and protected.
  • Action Provenance: Action provenance is the record of who initiated a task, which identity executed it, what tool was used, and what decision was made at runtime. It is essential when delegated work crosses systems because it preserves accountability even when the original request and the final action are separated by many steps.
  • Private Key Custody: Private key custody describes where a certificate’s secret key is stored and who can access it. Strong custody keeps keys non-exportable, limits access to the smallest necessary service account set, and avoids storage in code, shared filesystems, or other exposed locations.
  • Image Admission Control: Image admission control is the gate that decides whether a container image may enter a cluster or deployment environment. In this context it should verify signatures and provenance so that unsigned or altered images are rejected before they become operational risk.

Deepen your knowledge

NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building or maturing an IAM programme, it is worth exploring.
NHIMG Editorial Note
Published by the NHIMG editorial team on June 25, 2026.
Updated on October 11, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org