The GitHub Actions campaign stole build credentials and then rewrote what the cloud trusts, so an incident declared closed at rotation can leave the attacker’s way back in place.
—
Starting on 10 November 2026, an attacker used stolen GitHub credentials to push a credential-stealing payload into the build workflows of tens of thousands of repositories. BleepingComputer reported the campaign on 12 November, citing the application security company Aikido, which tracks it as wfx-loot; some of the compromised accounts belonged to large enterprises and public bodies. By Aikido’s count, 4,837 compromised accounts opened probe pull requests in 61,764 repositories, and 92% of those pull requests were still open when it published, which it reads as a sign that most owners had not noticed.
The advice that follows a campaign like this is familiar: assume every secret the affected workflows could reach is compromised, and rotate it. That advice is right, and Aikido gives it. It is also where many organisations will stop, and wfx-loot was built for exactly that. Its persistence did not live in the secrets it stole. It lived in trust configuration, the settings that decide which identities a cloud accepts and which results a code platform believes. Rotation does not touch those.
That matters far beyond the repositories hit, because the mechanisms it abused are the ones organisations adopted to get rid of stored secrets.
What the payload changed, not just what it took
Aikido’s technical write-up sets out the sequence. A pull request titled “docs: dependency audit notes” only confirms that the stolen account can write to the repository. The payload follows in commits, as an injected step in an existing workflow, an install hook, or a new workflow on a throwaway branch. It is a single shell script of about 1,500 lines that collects, escalates, persists and exfiltrates.
The collection is what most coverage describes: Actions secrets, workflow and OIDC tokens, cloud and developer-tool credentials, AI service keys, and secrets lifted from the memory of processes on the build runner. Escalation turns those into cloud sessions. The script mints GitHub OIDC tokens and exchanges them for AWS, Google Cloud and Azure access, chains into further AWS roles and creates long-lived access keys for IAM users, and impersonates Google Cloud service accounts.
The persistence stage is the part Aikido describes as “three actions designed to outlast credential rotation”. First, the payload posts forged success results under the names of the repository’s required status checks; in Aikido’s words, “Branch protection matches on the context name, not on the app that posted it, so the forged checks clear merge gates while the payload is still running.” Second, it rewrites the trust policy on an AWS role it has reached so that the role is open to any AWS account. Third, it adds new federated identity credentials to Azure applications, pointing back at the compromised repository, after which, Aikido writes, “Any workflow in that repository can then authenticate to Azure without a stored secret, even after every token has been rotated.”
Then it cleans up. The actor reverts its change within at most a minute and deletes the workflow run and its logs. “A missing run number in the workflow’s history is often the only trace,” Aikido notes. It warns that its own count of repositories where the payload ran may understate the impact for that reason, and that settings written for private repositories suggest those were targeted as well as the public ones it can see.
Federation moved the credential
None of this is an argument against federation. GitHub’s OpenID Connect documentation explains why workflows should request short-lived tokens from the cloud provider instead of holding long-lived cloud secrets: the customer configures a trust relationship on a cloud role, and the provider checks each token’s claims against that role’s conditions before issuing access that expires with the job. That is sound practice: there is no long-lived cloud key left sitting in the repository to leak.
It also moves the credential. In a federated estate, what grants cloud access is no longer a stored key. It is the trust definition, together with whoever can write to the repository it names. wfx-loot treated both as targets. Opening a role’s trust policy or adding a federated credential is not the theft of a secret, so replacing secrets does not undo it.
This is why the signal reaches past the repositories that were hit. Most organisations that ship software now deploy from a code platform into their cloud, and write access to those repositories is commonly held by agencies, contractors and open-source maintainers as well as staff. Aikido found that 10,431 of the probe pull requests went into repositories the account did not own, reached through collaborator or organisation access. The cloud’s trust extends, through repositories, to accounts the organisation does not manage. Access reviews usually list who can sign in to the cloud console. They rarely list which repositories, branches and environments the cloud has been told to trust, or who can write to them.
The exposure has four parts. Trust configuration is an asset few organisations inventory. Incident playbooks tend to end at rotation. The evidence that would show a change sits on a platform the attacker can write to, so the surviving trace is an absence. And a merge gate that checks a name rather than who posted it looks like a control without behaving like one. The same pattern showed in the seven-minute cloud wipe, where the only protections that held were those the compromised identity’s own permissions could not remove. Logs and known-good baselines need that property too.
The campaign still needed a compromised account with write access, and how those accounts were first compromised has not been established. Trust scoped tightly to specific branches and environments, and review before workflows run on changes from outside contributors, narrow what a probe like this can reach. Those controls only prove their worth when someone has checked what the trust conditions actually permit.
Who should act, and on what
Consider two companies that each learn a contractor’s account opened a pull request in one of their repositories. The first rotates every secret the repository’s workflows could see, closes the pull request and records the incident as contained. It does not check whether a cloud role’s trust policy changed, whether an identity application gained a federated credential, whether new long-lived keys appeared on existing users, or whether the workflow history has a gap. Its incident record says closed; nothing in it shows the attacker’s way back in was removed.
The second keeps a register of every trust relationship between its code platform and its clouds: which repository, which branch or environment, which role. It streams cloud identity changes and code platform audit logs to a store the build pipeline cannot write to. Its playbook does not declare containment until trust configuration has been compared with a known-good baseline. Same contractor, same payload; the second company can show, with evidence, that the door is closed.
The audience is wider than the security team. Boards and audit and risk committees should know that containment claims for build-pipeline incidents rest on more than rotation. Chief information security officers, cloud identity owners and incident response leads own the playbook change. Heads of engineering and platform teams own the trust definitions and the merge gates. Procurement and third-party risk teams grant contractors repository access, often without seeing it as cloud access. Internal audit can test whether any of it is written down.
For senior management, the questions are specific. Does anyone own an inventory of trust relationships between code platforms and clouds, and is it reviewed with the same rigour as privileged access? Does incident response require a comparison of trust configuration against a baseline before an incident is declared contained? Are the logs that would prove what changed held outside the reach of the identities that could change it? When contractors and collaborators are given write access, is that decision made in the knowledge that it can amount to cloud access? And do merge gates verify who posted a check, or only what it is called?
None of these can be answered from one seat. Reading a trust policy for what it actually allows needs the cloud identity owner, the engineering lead who knows which workflows deploy where, and the incident responders who know what an attacker would change, in the same review. Each sees part of the chain; wfx-loot used the whole of it.
