Deployment poisoning is the malicious tampering of deployed application, model, or infrastructure artefacts so they run altered code, settings, or dependencies. It usually targets build, release, or orchestration steps, where injected changes can redirect traffic, weaken controls, or expose data while appearing legitimate.
What Deployment Poisoning Changes in the Delivery Chain
Deployment poisoning is dangerous because it shifts trust from the intended build output to whatever actually reaches production. A compromised deployment can preserve a legitimate release trail while changing code, configuration, dependencies, or runtime wiring in ways that are hard to spot during routine checks.
The core security issue is not just tampering, but tampering at a point where systems expect artefacts to be authoritative. That makes deployment poisoning especially effective in environments that automate promotion, reuse templates, or rely on orchestration layers to apply settings consistently across many hosts or clusters.
How Deployment Poisoning Works
Attackers or malicious insiders typically target the release path rather than the source repository itself. They may alter deployment manifests, inject new environment variables, swap container images or packages, or modify infrastructure-as-code so the deployed system behaves differently from what review, testing, or signing previously approved.
Because the poisoned change arrives through a trusted delivery mechanism, defenders can mistake it for normal operational drift or a routine rollout. The more reusable and centralised the deployment process is, the more a single poisoned artefact can influence many instances at once.
Security Consequences and Control Weakening
Deployment poisoning can weaken access controls, redirect traffic, disable logging, expose secrets, or replace protective components with malicious ones. In application and platform environments, that can turn a healthy release process into a propagation path for persistence or data theft.
It also creates a confidence gap: integrity checks may focus on source code or ticket approval, while the real compromise happens after those gates, during packaging, configuration injection, or orchestration. That is why deployment integrity has to cover the full path from artefact creation to runtime activation.
For environments that expose APIs, one practical companion reference is the OWASP API Security Top 10, because poisoned deployments often surface as broken authorisation, unsafe resource exposure, or altered service behaviour at the interface layer.
Where Organisations Should Look
Exposure usually sits in the deployment inventory: which pipelines, release jobs, templates, package feeds, registries, orchestration systems, and configuration sources can alter production state. Organisations should map every place where deployment logic can be changed, especially where one control plane can affect many targets.
Useful review points include vendor release advisories, build and deployment logs, signed artefact verification, configuration drift evidence, and any internet-exposed management interface used in release promotion. The objective is to identify not just what was deployed, but whether the deployed state still matches the approved artefact chain.
For broader delivery-chain resilience, the OWASP SAMM model is useful for thinking about how release governance, security testing, and deployment practices fit together across the software lifecycle.
Detection and Recovery After Suspected Poisoning
Detection should focus on unexpected differences between approved artefacts and live state, such as changed startup commands, modified deployment manifests, new outbound destinations, unusual dependencies, or configuration values that do not match the release record. Post-patch or post-remediation review should treat the deployment channel itself as potentially compromised, not just the application payload.
If deployment poisoning is confirmed, defenders may need to rebuild from known-good artefacts, revalidate orchestration definitions, rotate any credentials or tokens exposed during the compromised deployment, and review whether the attacker used the altered release to establish persistence. The main goal is to restore trust in the delivery path, not simply redeploy the same artefact through the same compromised process.
Risk and Threat Considerations
Deployment poisoning matters because it can turn a trusted release mechanism into an attack delivery system. The risk is highest where changes are promoted automatically, where many services inherit shared templates, or where runtime controls assume the deployment layer is honest.
Failure mechanism: A malicious change is inserted after source review but before or during deployment, allowing altered code, settings, or dependencies to run with production trust.
Impact: The poisoned deployment can weaken controls, expose data, redirect traffic, or create persistence while blending into normal release activity.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
MITRE ATT&CK addresses the attack and risk surface, while SLSA, OWASP ASVS, CIS Controls v8 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| SLSA | Supply Chain Integrity | Deployment poisoning attacks the integrity of build and deployment artefacts across the delivery chain. |
| Recommendation — Require provenance and tamper-evident release paths for artefacts before promotion to production. | ||
| OWASP ASVS | V13 — Configuration | Poisoned deployments often alter application and environment configuration after review. |
| Recommendation — Verify runtime configuration is controlled, reviewed, and resistant to unauthorized change. | ||
| CIS Controls v8 | CIS-4 — Secure Configuration of Enterprise Assets and Software | Deployment poisoning commonly exploits weak configuration control in released systems. |
| Recommendation — Standardize and enforce secure baselines for deployed software and infrastructure. | ||
| NIST SP 800-53 Rev 5 | CM-3 — Configuration Change Control | The term centers on unauthorized changes to deployed artefacts and release state. |
| Recommendation — Approve and track deployment changes so production state cannot diverge silently. | ||
| MITRE ATT&CK | T1195 — Supply Chain Compromise | Deployment poisoning is a supply-chain compromise path that alters trusted artefacts. |
| Recommendation — Map suspicious release activity to supply-chain compromise and hunt for altered artefacts. | ||
Practitioner Guidance
Why practitioners should care: Treat deployment integrity as a distinct control surface, not a side effect of source control or CI testing. A clean repository does not guarantee a clean runtime if the release path can be modified.
What to watch for: Investigate unexpected drift between approved artefacts and live configuration, especially when the same pipeline can touch multiple services or environments. Repeated late-stage changes, unmanaged templates, and opaque orchestration updates deserve the most scrutiny.
Practitioner takeaway: The safest deployment process is one that can prove what was deployed, where it came from, and whether anything changed after approval.
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