Most organisations can tell you who their domain admins are. Far fewer can tell you, without a week's notice, which service principals can deploy into production, which pipelines hold a federated credential, and who can edit a build definition that runs with those rights. That gap is the whole story behind intrusions like the one Microsoft describes for Storm-3068: a compromised identity that doesn't stop at source code but walks through the build system into cloud infrastructure.

Source code was never the prize

There's a long-standing instinct to treat a repository breach as an intellectual property problem — embarrassing, reputationally awkward, but contained. That framing is a decade out of date. A modern repository is not just text. It's the control plane for everything the pipeline is allowed to do: the deployment definitions, the infrastructure-as-code, the workflow files that run on a trusted runner with a trusted identity attached.

An attacker who can modify what runs doesn't need to steal a credential at all in the classic sense. They need to change a build step and wait for the pipeline to authenticate on their behalf. The identity is handed over, legitimately, by your own automation. Nothing in that chain looks like intrusion in a SIEM tuned for interactive logons and impossible travel.

Workload identity is the blind spot

Human identity has had a decade of investment — MFA, conditional access, phishing-resistant credentials, risk-based policy. Workload identity has had a fraction of that, and it carries disproportionate privilege. Service principals and managed identities typically have no MFA by definition, often no conditional access scoping, frequently no credential expiry discipline, and rights granted at subscription or tenant scope because scoping them properly was fiddly on the day someone needed the deployment to work.

The move to federated credentials and OIDC-based trust between a pipeline and a cloud tenant is a genuine improvement — it removes long-lived secrets from variable groups. But it also moves the trust boundary to the subject claim: which repository, which branch, which environment. If that federation is scoped loosely, anyone who can run a pipeline in that repo can mint a token for your production subscription. The secret is gone; the privilege is not.

Treat the build estate as tier zero

My view is that the practical reframing is simple to state and painful to implement: if a system can deploy into production, it is production. Build agents, runner pools, artefact feeds, the identity provider integration, and the people with administrative rights over any of them belong in your highest-trust tier, with the same controls you apply to domain controllers and Entra ID privileged roles.

That has consequences people resist. Self-hosted runners sitting on a general-purpose VM in a shared subscription stop being acceptable. Developers holding standing owner rights over the project that configures service connections stop being acceptable. Personal access tokens with broad scope and a year's lifetime stop being acceptable. None of this is technically difficult — it's organisationally difficult, because it slows down the people who shout loudest when delivery slows.

What to actually check this quarter

If you want to convert this into work rather than anxiety, the inventory comes first. You cannot scope privilege you haven't enumerated.

  • Enumerate every non-human identity with write access to cloud resources. Service principals, managed identities, service connections, deployment credentials. For each, record the owner, the scope, the credential type and the expiry.
  • Check federated credential subject claims. Are they pinned to a specific repository and a specific branch or environment, or will any pipeline in the organisation satisfy them?
  • Review who can edit pipeline definitions and approve changes to them. Branch protection on the main branch means little if the workflow file can be altered on a feature branch that still runs with privilege.
  • Find standing secrets. Long-lived PATs, client secrets in variable groups, credentials in build logs. Rotate and replace with federation or a managed identity where you can.
  • Confirm you are ingesting the right logs. Entra service principal sign-ins and audit, cloud resource activity logs, and the audit stream from your DevOps platform — not just the endpoint and the firewall.

[AUTHOR: add a real example from your own work here — a pipeline privilege review, a service connection clean-up, or a federation scoping exercise.]

Detection has to follow the identity, not the host

The reason these intrusions run long is that each individual step is boring. A service principal authenticating from a cloud provider IP is normal. A pipeline enumerating resources is normal. A deployment creating a role assignment is normal — that's what deployments do. The anomaly is sequence and context: this service principal has never read secrets from that vault before; this pipeline has never touched that subscription; this identity's credential was added three hours ago by someone who isn't its owner.

That means your detection content needs to be written against identity behaviour rather than host telemetry. Credential addition to an existing application object is one of the highest-value alerts available to most tenants and is routinely unconfigured. New owner added to a service principal is another. Role assignment changes outside an approved deployment window is a third. These are cheap to build and they fire on the step attackers cannot skip.

The uncomfortable organisational question

Who owns this? In a lot of organisations the answer is nobody in particular. The security team owns identity governance but has no change authority over build pipelines. The platform team owns pipelines but treats cloud role assignments as a delivery enabler. The development teams own the repositories and reasonably assume someone else is checking the privilege attached to them. Attackers do not respect that boundary, and the whole point of an intrusion like this is that it travels along the seams between those teams.

I'd argue the single most useful thing a CIO or head of security can do after reading a report like this is not to buy anything. It's to name an owner for the question "what can our pipelines do, and who decided that?" — and give them the authority to take rights away. The technical controls exist and are mostly free with licences you already hold. The hard part has always been the decision.

Source: Beyond source code: A path to the keys to the kingdom