On Tuesday, 10 November 2026, at around 12:45 (UTC), someone using stolen GitHub credentials began pushing secret-stealing code (a secret stealer) into the repositories to which the tokens they had obtained gave write access. According to Aikido Security's analysis of 12 November, in the campaign referred to as wfx-loot, 4,837 compromised accounts opened test pull requests in 61,764 repositories, and in at least 1,806 repositories the code actually ran.
- Compromised GitHub accounts
- 4837
- Repositories with a test pull request
- 61 764
- Repositories where the secret stealer ran
- at least 1,806
How a hit unfolds
According to Aikido's description, the attacker first uses a pull request titled docs: dependency audit notes to check whether the stolen token can really write to the repository. In StepSecurity's analysis, the most common variant is that an existing workflow gets two new steps with the commit message ci: refresh build cache; less often, the script ends up in an npm lifecycle hook or in a new workflow created on a throwaway branch. The roughly 1,500-line shell script is not obfuscated. The Hacker News, citing SafeDep's count, mentions 8,093 repositories that received a malicious commit.
The attacker typically reverts the change within a minute and deletes the run and its log. Often all that remains of the run is a missing run number.
- Stolen token
Write access to the repository. The origin of the tokens has not been confirmed.
- Test
A pull request from the wfx-docs branch: does the write succeed?
- Injection
Two new steps in an existing workflow, an npm hook or a throwaway branch.
- Collection
Actions secrets and variables; cloud, SSH and Kubernetes credential files.
- Cloud
The job's OIDC token exchanged for AWS, GCP and Azure sessions, then persistent access established.
- Covering tracks
Reverted typically within a minute; the run and the log deleted.
Even the short-lived token was no obstacle
Many teams switched to OpenID Connect (OIDC) precisely so that there would be no long-lived cloud keys in CI. The wfx script exploits this mechanism too: it requests an OIDC token on behalf of the running job and exchanges it for AWS, GCP and Azure sessions. In AWS, it tries to create an access key and opens up the role's trust policy to any AWS account; in Azure, it adds a federated credential whose name begins with wfx-ci-.
Rotating secrets is therefore not enough. Based on Help Net Security's summary, the modified trust policies and the new credentials must be found and removed in every cloud account belonging to the affected workflows.
GitHub's security guide states that anyone with write access to a repository can read all of that repository's secrets. Our conclusion from this is that the pipeline's security boundary is write access; the secrets store only protects within that boundary.
What is a narrowed trust policy worth?
GitHub's OIDC documentation describes how the token's sub field shows where the job started from: a branch (repo:szervezet/repo:ref:refs/heads/main) or an environment (repo:szervezet/repo:environment:Production); for repositories created after 15 July 2026, the format also includes the IDs of the organisation and the repository. If the cloud role only accepts tokens from one environment, that alone is not enough, because a workflow on a throwaway branch can reference the environment too.
Such code is left without a session if deployments to the environment are possible only from a protected branch, the account that triggers the run cannot approve its own deployment, and administrators cannot bypass the protection rules. GitHub allows the last of these by default. And if the attacker rewrites the workflow on the main branch and nothing stops this, the token will be legitimate.
This is our own conclusion based on the documentation. According to GitGuardian's analysis of 13 November, GitHub made the running of the malicious workflows subject to approval, but the npm-hook variant got around this because it does not modify a workflow file. The origin of the tokens has not been confirmed. Aikido found an overlap with those affected by October's GhostAction wave, yet it sees separate actors as probably being behind the two campaigns.
Five checks for this week
- Traces in the repositories.
A branch named
wfx-docs, a pull request with the title above, a commit with the messageci: refresh build cache,chore: add ci helperorchore: add dependency audit workflow, a missing run number. - Traces in the cloud.
A trust policy that accepts any AWS account, an unknown access key, an Azure credential beginning with
wfx-ci-. In CloudTrail, based on The Hacker News's summary, look for a session name beginning withwfx-that is followed by aCreateAccessKeyorUpdateAssumeRolePolicycall. - Who can write what CI runs?
According to GitHub's guide, the
.github/workflowsdirectory can be added to the CODEOWNERS file, so that a change requires the approval of a designated reviewer. Because of the npm-hook variant, thepackage.jsonfile and the build and deployment scripts should get the same protection. You also need to review which bot accounts can bypass branch protection. - What can a job access?
The cloud role's trust policy should be scoped to an environment, and the environment should be protected by a required reviewer and the three settings above.
- What can the role do in the cloud?
A deployment role rarely needs to create keys or modify trust policies. It is worth taking these permissions away from it.
Tightening comes at a price. Mandatory review slows down releases, and bot accounts were often exempted from branch protection precisely for the sake of automation. Chainguard's analysis also points out that pinning the versions of third-party actions and reviewing pull requests would not have stopped the first push, since the attacker held a valid token with write access. The open question, then, is the origin of the tokens. Until there is an answer, the token of every developer and bot account must be treated as though it were on the next list.
Our recommendation: the pipeline is just as much a production system as what it deploys, and must be protected in the same way. In DevSecOps practice, this means protecting the files that CI runs and narrowing the roles; when designing the CI/CD pipeline, it means that a production deployment can start only from an approved environment. Watching for the cloud-side traces is the job of managed security monitoring.
Sources
- Aikido Security: analysis of the wfx-loot campaign (12 November 2026)
- StepSecurity: WFX Phantom (12 November 2026)
- Help Net Security: summary of the campaign (12 November 2026)
- The Hacker News: report with SafeDep's figures (12 November 2026)
- Chainguard: wfx-loot (12 November 2026)
- GitGuardian: wfx-loot (13 November 2026)
- GitHub Docs: OpenID Connect reference
- GitHub Docs: Secure use reference
- GitHub Docs: Deployments and environments
Who can write to your pipelines today?
We review the protection of your workflow files, the trust policies of your cloud roles and the permissions of your bot accounts.