How compromised identities turn trusted CI/CD pipelines into attack paths: Based on the Security Congress session by Vatsal Gupta, Senior Architect at Apple, and Alex Olivier, Co-founder and CPO at Cerbos and OpenID AuthZEN Co-chair.
Here's a pattern worth noticing. Whenever a CI/CD breach hits the news, it gets filed under "software supply chain attack." Vatsal Gupta and Alex Olivier think that label could point organizations in the wrong direction. Strip away the malware and the poisoned packages, they argued during their Security Congress session, “Identity as the Control Plane for Software Supply Chain Security,” and the same thing is left standing: an identity that was allowed to do far too much.
Why Software Supply Chain Attacks Are Really Identity Failures
Think about what an attacker actually needs. Not a clever exploit. Just a valid identity with enough authority. As Gupta explained, "No code exploit needed. Just an identity that could do too much." In other words, "They don't need to break in. They need an identity with enough authority.”
Let’s take a closer look at this pattern. Gupta provided strong examples of well-known incidents. For instance, Codecov (2021) looked like a tampered uploader script, but the root cause was a leaked cloud credential. The tj-actions/changed-files compromise (2025) came down to a compromised bot token, and the Shai-Hulud npm worm (2025) spread on stolen publish tokens. Different headlines, same story underneath.
As Gupta explained, a deeper dive of the CircleCI incident revealed that malware on a single engineer's laptop lifted a valid SSO session, after two-factor authentication had already been passed. The attacker simply logged in as that engineer, reached production and took customer secrets, tokens and keys. And what did the identity provider see? An engineer, MFA satisfied, result allowed. Nothing looked wrong, because technically nothing was. But the incident validated Gupta’s and Olivier’s claim that identity is the new software supply chain perimeter, indeed.
Why Pipeline Security Controls Miss the Identity Gap
Most teams already have solid defenses: code review, branch protection, dependency scanning, SBOMs and signing, provenance checks, runtime controls. The speakers emphasized that cybersecurity professionals should keep every one of these controls in place. But notice what these defenses have in common: They all inspect what's moving down the pipeline. None asks who's allowed to move it.
The session outlined the pipeline as six identities (developer, source control, build, artifact, deployment and workload) with five handoffs between them. Consider that every handoff is a trust decision, so it is imperative to audit what crosses each hop.
I/CD Attack Path: How a Compromised Identity Reaches Production
To show how this software supply chain attack scenario plays out, Gupta introduced Alice, an engineer at a fictional company, Acme Payments. Her access is completely ordinary. It would sail through any access review. Then her credential gets compromised, maybe through a leaked token, an infostealer or a phished device-code flow. Here's what happens next.
- The attacker becomes Alice. A push arrives from an unfamiliar network, and it's allowed. Authorization worked exactly as configured.
- Human becomes machine. The push triggers a workflow with a short-lived OIDC token. But the cloud trust policy accepts any Acme repository, not one repository and branch.
- The build identity turns out to be overpowered. It can write repositories, reach cloud storage and modify IAM, none of which it needs. It piled up access one quick fix at a time.
- The attacker grants themselves the keys. One API call attaches a production deploy policy. Every step is permitted.
- Nobody notices. No network boundary is crossed, so a traditional SOC sees nothing.
With one shared identity, a single compromise reaches build, artifacts, production, cloud and secrets.
Non-Human Identities and Standing Privilege: The Governance Gap
Humans get managed through HR and IAM lifecycles. Workflows, runners, service accounts and bots? Often, nobody owns them. The speakers pictured a service account created in 2021, with no known owner, no known access review and 23 permissions. It was last used today. Sound familiar?
Their fix starts with a zero-trust mindset: workload identity, short-lived credentials and authorization that looks at context. Not every action carries the same risk, either. Reading a repository is low risk, and merging code is medium-high. Modifying workflow files, publishing artifacts, deploying to production and changing IAM are all critical. Policy engines such as OPA, Cerbos and Cedar can weigh the environment, change ticket status, source branch and runner attestation, rather than just asking whether someone belongs to a group.
A Five-Step Framework to Secure CI/CD Pipeline Identities
Olivier presented a five-step framework to secure CI/CD pipeline identities:

Run Alice's story back through this framework. An inventory would have flagged build-prod's IAM rights before an attacker found them. A separate deploy identity would keep her stolen token away from production. A context check on branch and approved change would deny the deploy. Better still, an unfamiliar push to a sensitive workflow file becomes a signal you can act on, not silence.
Other signals worth alerting on include tokens minted for unexpected repositories, dormant service accounts waking up and IAM changes made by pipeline identities. And auditors get what they actually want: an owned inventory, policy as code in version control, and every allow and deny decision logged.
How to Balance Least-Privilege Access and Developer Speed
Here's the tension, as Olivier noted. If governance is too strict, engineers route around it. If it's too loose, attackers inherit your velocity. What's the answer? Risk-adaptive access in three lanes:
- Low risk: auto-granted by policy.
- Medium risk: policy decides, and an owner reviews.
- High risk: explicit approval with just-in-time, auto-expiring access.
The overarching lesson Gupta and Olivier urged attendees to take away: Your supply chain is an identity graph, and a valid credential can still be an attack path. Alice's credential wasn't the vulnerability. Instead, what it could reach was. So don't just secure the code. Secure who, or what, is allowed to move it.
