Join our Newsletter — 33% off our NHI Course
Home› Glossary› Cyber Security› Codefresh Pipeline
Cyber Security

Codefresh Pipeline

← Back to Glossary
By NHI Mgmt Group Updated November 3, 2026 Domain: Cyber Security

A Codefresh Pipeline is a CI/CD pipeline defined and run in the Codefresh platform for building, testing, and deploying software. It typically links source control, build steps, container image creation, and deployment stages, with access to repositories, registries, and deployment targets controlled by pipeline permissions and secrets.

What the pipeline is

A Codefresh Pipeline is more than a sequence of build steps, it is an executable delivery path that connects source control, build jobs, image creation, and deployment actions. In practice, the pipeline becomes the control plane for how software moves from commit to runtime, so its definition shapes both delivery speed and the security boundaries around that movement.

Why pipeline design matters

The security significance of a pipeline comes from the trust it is given. A pipeline that can read repositories, push images, or deploy to environments can also become a high-value path for code tampering, secret exposure, or environment abuse if those permissions are broader than necessary. That makes pipeline design a governance issue as much as an engineering one.

When teams treat the pipeline as a convenience layer rather than a protected production system, they often miss how much authority it accumulates across build, test, package, and deploy stages.

Permissions, secrets, and execution context

Pipeline behaviour is shaped by the credentials and secret material it can access. Repository tokens, registry credentials, cloud keys, and deployment secrets determine what the pipeline can fetch, publish, or change. If those values are long-lived, shared across jobs, or exposed to too many steps, compromise of one stage can quickly affect the rest of the delivery chain.

That is why pipeline scope should match the exact task being performed, not the broadest possible delivery workflow. The security model should distinguish between reading source, building artifacts, and deploying them, because each step creates a different blast radius.

Supply chain and deployment integrity

A CI/CD pipeline is part of the software supply chain, so its integrity matters for the trustworthiness of the artifacts it produces. If an attacker can alter the pipeline definition, inject build logic, or substitute a malicious dependency, the resulting image or release may still look legitimate even though it has been influenced upstream. For that reason, artifact provenance and pipeline isolation are central concerns, not optional hardening.

Practitioners should also treat the pipeline as a boundary between development and production, because the same automation that improves speed can also accelerate the spread of a bad change.

Operational visibility and review

Pipeline security depends on being able to see what changed, who changed it, and what the run actually did. Logs, approvals, configuration review, and post-run analysis help identify unexpected credential use, altered deployment targets, or unusual build behaviour. Without that visibility, compromise can persist inside normal delivery activity and be mistaken for routine automation.

For teams that rely on automated delivery, the practical goal is not to remove automation, but to make the pipeline observable enough that trust is earned at each stage.

Risk and Threat Considerations

Codefresh Pipelines concentrate powerful access in one place, which makes them attractive targets for supply-chain abuse and secret theft. A compromised pipeline can be used to plant backdoors, exfiltrate credentials, or push tainted artifacts into downstream environments.

Failure mechanism: An attacker who alters pipeline configuration, steals pipeline-bound secrets, or compromises a build step can influence software before it reaches deployment, often while blending into normal CI/CD activity.

Impact: The result can be unauthorized code release, exposed credentials, compromised registries or environments, and a delivery chain that continues to propagate trusted-looking but malicious changes.

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 and CIS Controls v8 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
SLSASupply-chain Levels for Software ArtifactsCodefresh pipelines produce and move build artifacts, which SLSA directly governs.
Recommendation — Adopt SLSA-aligned build provenance controls for pipeline-produced artifacts.
NIST SP 800-53 Rev 5AC-6 — Least PrivilegePipeline permissions and secrets should be limited to the minimum required access.
Recommendation — Apply AC-6 to narrow pipeline access to only the repositories, registries, and targets it needs.
CIS Controls v8CIS-5 — Account ManagementPipelines depend on controlled accounts, tokens, and secret-bearing access paths.
Recommendation — Inventory and govern pipeline accounts, tokens, and credentials as privileged access paths.

Practitioner Guidance

Why practitioners should care: Treat the pipeline definition, its secrets, and its execution permissions as production assets. The security question is not just whether the code builds, but whether the pipeline can only do the minimum work needed for each stage.

Governance implication: Separate build, package, and deploy authority, and review pipeline permissions as part of change control. If the pipeline can reach repositories, registries, and targets, it should be governed like a privileged automation path rather than a simple developer convenience.

Practitioner takeaway: The safest pipeline is one that is narrowly scoped, observable, and difficult to reuse outside the exact delivery task it was created to perform.

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.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 3, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org