Registry poisoning is the compromise of a package, image, or artifact repository so trusted components are replaced with malicious versions. In supply chain environments, poisoned registries can distribute trojanized code to many builds at once. This makes verification of origin, integrity, and signatures a critical control.
How registry poisoning works
Registry poisoning is a supply chain compromise of the place where organisations fetch packages, images, or other build artifacts. Once a registry is trusted, a malicious replacement can look legitimate to every downstream build, deployment, or scanner that consumes it. The core danger is scale: one compromise can contaminate many systems at once.
This is especially severe because registries are part of the trust chain, not just a storage layer. If a package name, tag, or artifact reference resolves to tampered content, the compromise can propagate before anyone notices. In practice, the attack succeeds by abusing trust in origin, naming, and update flow rather than by breaking every individual workload separately.
Why integrity and provenance matter
Registry poisoning is fundamentally an integrity problem. Organisations need to know not only that an artifact exists, but that it came from the expected source and has not been replaced in transit or at rest. Verification of signatures, hashes, and provenance metadata reduces the chance that a malicious artifact is treated as the trusted one.
This is why artifact trust should be treated as part of the release pipeline, not an optional post-download check. For container ecosystems, NIST’s container security guidance describes the registry as a meaningful security boundary, while supply-chain controls such as SLSA focus on build provenance and integrity verification.
How organisations assess exposure
Exposure checks usually start with inventory: which registries are used, which namespaces or repositories are trusted, and which builds pull from them automatically. Teams also need to know whether internal pipelines mirror external registries, whether public registries are referenced directly, and whether any “latest” style references can shift silently to altered content.
The practical question is not only whether a registry has been compromised, but whether your environment would accept poisoned content without a second control. That review should cover dependency resolution, signature enforcement, admission checks, and whether the same artifact is reused across multiple build paths. For container-focused readers, NIST SP 800-190 Container Security is a useful reference for registry and runtime risk.
Detection, containment, and recovery
Detection is difficult because poisoned content often arrives through normal tooling and may appear valid until runtime. That makes layered verification important: compare expected digests, alert on unexpected tag changes, review registry audit logs, and look for unusual publication or replacement activity around high-value packages and images. After suspected exposure, organisations should assume downstream builds and deployed systems may inherit the compromise.
Containment usually means stopping automated pulls from the affected source, revoking trust in the compromised artifact path, and rebuilding from verified inputs. Post-incident review should also check whether any credentials, signing keys, or publish permissions were abused to place the malicious content. Where artifact trust is central, OWASP API Security Top 10 and SLSA both help frame integrity failures and recovery expectations.
Why this often becomes a broader supply chain issue
Registry poisoning rarely stays local to one repository. Modern build systems often reuse the same package sources, base images, and dependencies across many teams, so a single poisoned registry can become a shared compromise path. That is why trust boundaries, registry governance, and artifact verification need to be designed as part of software delivery architecture rather than handled ad hoc.
The broader lesson is that the registry itself becomes a high-value control point. Once an attacker can alter trusted artifacts there, they can influence builds, deployments, and scanning outcomes across an entire environment. If your programme relies on signed or verified artifacts, the registry is where that trust either holds or fails.
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, CIS Controls v8 and CSA Cloud Controls Matrix set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| SLSA | Supply-chain Levels for Software Artifacts | Registry poisoning breaks artifact provenance and integrity in the software supply chain. |
| Recommendation — Require provenance and digest verification before promoting any registry artifact into builds. | ||
| NIST SP 800-53 Rev 5 | SI-7 — Software, Firmware, and Information Integrity | Covers integrity checks for software and artifacts consumed from registries. |
| CM-5 — Access Restrictions for Change | Controls who can modify trusted registry content and related change paths. | |
| Recommendation — Verify artifact integrity before execution and block untrusted registry content from production. Restrict who can publish or replace registry artifacts and review those changes. | ||
| CIS Controls v8 | CIS-16 — Application Software Security | Addresses secure dependency and build integrity practices relevant to poisoned registries. |
| Recommendation — Enforce provenance, approval, and validation checks for software dependencies and artifacts. | ||
| CSA Cloud Controls Matrix | IVS — Infrastructure & Virtualisation Security | Covers registry, image, and runtime trust boundaries in cloud-native delivery. |
| Recommendation — Harden registry and image trust controls across cloud-native build and deployment paths. | ||
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 5, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org