CI/CD pipeline poisoning is the compromise of build, test, or deployment automation so malicious code, secrets, or configuration changes are introduced into software delivery. It targets the trusted path between source and production, often by altering scripts, dependencies, runners, credentials, or approvals, turning automation into a supply chain attack vector.
What CI/CD Pipeline Poisoning Is
CI/CD pipeline poisoning is not just a broken build process, it is a trust compromise of the delivery path itself. Once attackers influence pipeline steps, the pipeline can become a vehicle for code injection, secret theft, dependency tampering, or unauthorized configuration changes that reach production with legitimate automation.
That makes the term broader than a single exploit technique. It covers attacks on scripts, runners, permissions, secrets, approvals, and build artifacts, because each of those elements can be turned into a control bypass when the delivery pipeline is trusted too much.
How Poisoning Happens in Practice
Poisoning often starts with a weak point that looks operational rather than security-focused: a compromised developer token, a malicious dependency, an altered build script, a tampered GitHub Action, or an exposed secret in the pipeline environment. From there, the attacker tries to shift from code influence to delivery influence.
The important pattern is that the pipeline itself becomes the target. If a runner can read secrets, if approvals are too permissive, or if external actions and dependencies are not pinned and verified, the attacker does not need to subvert production directly. They only need to contaminate the trusted path that feeds it.
This is why delivery integrity matters as much as code quality. A pipeline can pass tests and still produce compromised output if the test environment, build inputs, or release automation has been manipulated upstream.
Security Implications for Software Delivery
CI/CD poisoning can undermine both confidentiality and integrity at once. Secrets may be exfiltrated during builds, while malicious code or altered configuration is packaged as a normal release, giving the attacker an unusually reliable route into downstream systems.
It also weakens detection. Poisoned automation often looks like normal deployment activity, which means defenders may see successful builds and signed-off releases while missing the fact that the trust boundary was already breached earlier in the process.
For delivery teams, the real issue is that pipeline security is not only about preventing outages. It is about ensuring that every automated step still reflects authorised intent, because a trusted pipeline can amplify a small compromise into a fleet-wide incident.
Why This Term Matters in Supply Chain Risk
Pipeline poisoning sits squarely in software supply chain risk because it attacks the mechanism that transforms source into deployable software. Once build provenance, runner trust, or dependency integrity is lost, every artifact produced by that path inherits the compromise.
That is why supply chain controls such as reproducibility, provenance, dependency verification, and strong separation between build inputs and deployment approvals are central to the concept. The goal is not just to detect malware after release, but to prevent the delivery process from becoming the malware delivery mechanism.
Supply chain attacks against CI/CD are especially damaging because they scale. One poisoned pipeline can affect many repositories, environments, or customers at once, which makes the blast radius much larger than a single endpoint compromise.
Risk and Threat Considerations
CI/CD pipeline poisoning creates a high-value compromise path because the attacker is not trying to break one system at a time, but to inherit the pipeline’s trust. If build credentials, actions, or runners are abused, malicious changes can be promoted through normal automation and appear legitimate.
Failure mechanism: The pipeline’s trusted inputs, execution environment, or approval flow is altered so that malicious code, secrets, or configuration changes are introduced during build or release.
Impact: A single compromise can propagate across many deployments, expose sensitive credentials, and create persistent supply chain exposure that is difficult to detect retrospectively.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
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 Levels for Software Artifacts | Defines provenance and integrity controls for build and release paths. |
| Recommendation — Adopt SLSA to verify build provenance and integrity before promoting artifacts. | ||
| OWASP ASVS | V15 — Secure Coding and Architecture | Pipeline poisoning often exploits insecure software delivery architecture and build trust assumptions. |
| Recommendation — Apply V15 to harden delivery architecture and reduce trusted-path abuse. | ||
| CIS Controls v8 | CIS-16 — Application Software Security | Covers secure software development and pipeline protections that reduce delivery compromise. |
| Recommendation — Implement CIS-16 to secure CI/CD workflows and software release practices. | ||
| NIST SP 800-53 Rev 5 | CM-3 — Configuration Change Control | Pipeline poisoning frequently abuses unauthorized configuration and release changes. |
| IA-5 — Authenticator Management | Secrets and pipeline credentials are often the compromise mechanism in delivery attacks. | |
| Recommendation — Enforce CM-3 to authorize and track configuration changes in delivery systems. Apply IA-5 to manage pipeline secrets, rotation, and revocation tightly. | ||
Practitioner Guidance
Why practitioners should care: Treat the pipeline as a production trust boundary, not just a developer convenience layer. If automation can read secrets, modify release artifacts, or approve deployments, it needs explicit ownership and continuous scrutiny.
Common misunderstanding: A green build is not evidence of a clean release. A poisoned pipeline can test successfully while still carrying tampered code, injected dependencies, or leaked secrets into production.
Practitioner takeaway: Focus on delivery integrity, not only code review, because the highest-risk failure is often the one that uses your own automation to bypass your own controls.