wfx-loot: 4,837 hijacked GitHub accounts, and what the numbers actually mean
Stolen tokens let an attacker push a CI secret stealer into thousands of GitHub repositories in November 2026. What each number counts and how to check yours.
The KnowWhyy team · · 9 min read
On November 10, 2026, someone began using thousands of stolen GitHub credentials to push a secret-stealing script into other people's repositories. Researchers call the campaign wfx-loot. The script runs inside GitHub Actions, copies every secret the build can reach and tries to use them to plant backdoors in AWS and Azure. Then the attacker removes the traces.
The headlines quote four different numbers: 4,837 accounts, 60,000 repositories, 8,093 repositories and 1,806 repositories. They are all real and they count four different things. This post explains each one, shows how to check whether your team was hit, and covers what to do about it. Sources are linked throughout, and where the researchers disagree we say so.
One thing first: this was not a bug in GitHub. StepSecurity puts it plainly: "The attacker does not exploit a bug in GitHub Actions." The attacker logged in with credentials that already worked.
Public repositories where the stealer had been committed to the default branch by early November 12. Not proof that it ran
1,806 repositories
Aikido
Repositories with signs that the stealer ran and secrets were taken
So "60,000 repositories attacked" overstates it, and "1,806 affected" may understate it. All four are snapshots from the first two days, taken while the campaign was still running. SafeDep notes that private repositories and non-default branches aren't visible to its search, so the true totals are higher, and GitGuardian's later dataset found payload commits in 17,715 repositories once other branches were included. Aikido's own post gives both 1,806 and 1,835 for the last figure without explaining the difference.
That last row is also disputed. Aikido infers that the stealer ran when a workflow run has been deleted. GitGuardian found that GitHub held the workflow-file versions of the attack for approval, so they never started, in every case it could still observe: seven of seven. The version that hides in an npm install hook was not held. GitGuardian's advice for anything unclear: "In doubt, consider the malicious payload ran."
How the attack works
Step 1: a test. The attacker opens a pull request titled docs: dependency audit notes from a branch named wfx-docs. It adds one small text file. Its only job is to confirm the stolen credential can write to the repository. A probe isn't an infection, but Aikido is clear about what it means: the account that opened it is compromised.
Step 2: the stealer. A shell script of about 1,500 lines gets into the build one of these ways:
pasted into a workflow the repository already runs, in a commit titled ci: refresh build cache
added as a new workflow on a throwaway branch
added as a script that package.json runs, usually on every npm install, in a commit titled chore: add ci helper
appended to a shell script that an existing workflow already runs, also under ci: refresh build cache (reported by StepSecurity and GitGuardian)
The third form matters for developers, because it also runs on a laptop. "npm" in the coverage refers to this hook inside repositories. SafeDep scanned 218 npm, Go and Packagist packages from affected repositories and found no published npm package carrying the payload. It didn't check PyPI or other registries.
Step 3: collect. According to the researchers, the script takes every Actions secret and variable, including ones the workflow never references, reads the build runner's memory, and copies credential files for AWS, Azure, Google Cloud, Docker, Kubernetes, npm, SSH and more. It also looks for AI provider keys.
Step 4: try to stay. This is what makes wfx-loot worse than a plain leak. Aikido reports that the script uses the stolen access to try to open an AWS role to any AWS account, create long-lived AWS access keys, and add new federated credentials named wfx-ci-… to Azure applications. The researchers describe what the code attempts; none has published a count of backdoors that were actually planted. As OX Security says, "Rotating secrets doesn't remove backdoors that were already planted."
Step 5: clean up. The attacker reverts the commit with ci: restore or ci: cleanup and deletes the workflow run and its logs.
Where the stolen credentials came from
Mostly, nobody knows. One slice is explained. Fly.io told its users that its deploy process had left a GitHub access token in a .git/config file that some deployed apps then served publicly. Fly.io says its own systems weren't breached, and that it is revoking the tokens and has changed the process. StepSecurity found that 173 of the test pull requests, from 19 accounts, were made through the Fly.io GitHub App, out of more than 63,000 at the time. Fly.io's own count is more than 250.
GitGuardian found that about 20% of the accounts used had already been compromised in an earlier campaign. Stolen tokens get reused until someone revokes them.
We found no public statement from GitHub about the campaign. heise reported on November 13 that GitHub hadn't commented.
How to check your repositories
Search your organization for activity on or after November 10, 2026. GitGuardian also found a small earlier run, from October 24 to 29, in 12 repositories, so go back to late October if you want to be thorough.
Pull requests titled docs: dependency audit notes, or a branch named wfx-docs.
Commits titled ci: refresh build cache, chore: add ci helper, chore: add dependency audit workflow, ci: restore or ci: cleanup.
Files named .ci- followed by six characters and .sh at the repository root, or docs/wfx-audit.md.
A gap in workflow run numbers right after one of those commits. StepSecurity calls this the most reliable sign the stealer ran, because the attacker deletes the run. GitGuardian cautions that a gap proves a run was created, not that it executed, and advises checking your organization's audit log to see whether the run was approved.
In job logs, a line like > sh ./.ci-xxxxxx.sh.
In AWS, role trust policies that allow any account, and access keys created since November 10. In Azure, federated credentials named wfx-ci-….
Finding nothing in the logs isn't proof of safety, since the logs are what the attacker deletes. The commits and the run-number gap are harder to hide.
What to do if you find it
The researchers' advice, combined:
Treat the account that made the commit as compromised. Revoke its tokens, OAuth app grants, SSH keys and sessions, and turn on two-factor authentication.
Rotate every secret the repository could read, including environment and organization secrets. Don't stop at the ones the workflow names; the memory scan can take the rest.
Look for and remove cloud backdoors. Where the script succeeded, rotation alone leaves them in place.
Treat any machine that ran npm install on an affected commit as compromised.
Pull any release built between the malicious commit and the cleanup commit, and publish again from a clean one.
Find the credential that let the attacker in. Until that original token is revoked, they can come back.
Three habits that would have limited it
Shorten the life of write access. A token that never expires and can write to every repository its owner can is what this attacker needed. Where the type is known, the stolen credentials include personal access tokens, bot-account tokens and user tokens issued to a GitHub App. Prefer fine-grained tokens with an expiry date, and check what the apps connected to your account are allowed to write to.
Give builds less. An organization secret set to "All repositories" is available to every repository's build. Limit each one to the repositories that need it.
Restrict where builds can connect. StepSecurity points out that an allowlist for outbound traffic blocks the upload of stolen data in this campaign, because a normal build has no reason to call a bare IP address or Telegram. It doesn't block the script's calls to GitHub or to your cloud provider.
Where KnowWhyy stands
KnowWhyy connects to GitHub, so it's fair to ask what an attacker would get from us. Here is how the connection works, checked against our own code.
It's a GitHub App, not a personal token. When you install it, GitHub lets you pick all repositories or only selected ones.
It stores no long-lived GitHub token. Each time KnowWhyy syncs, it asks GitHub for an installation token that expires after one hour.
The permissions it requires are read-only: metadata, contents, pull requests and issues. With those it can't push a commit, open a pull request, add a workflow or change a setting, so it couldn't be used to plant something like wfx-loot.
It can't read your Actions secrets. None of those four permissions covers Actions or secrets.
One permission deserves a plain explanation. "Contents: read" is the permission GitHub requires for reading commit history, and it also covers reading files. KnowWhyy uses it to list commits. It doesn't download or index source code files; it reads commits, pull requests, reviews and issues. But the permission itself is broader than what we use, and if KnowWhyy were ever compromised, an attacker could read the repositories the app is installed on. They could not write to them. That's the honest size of the risk, and it's why choosing "only select repositories" at install time is worth the extra click.
No. The researchers agree the attacker used stolen credentials, not a flaw in GitHub or GitHub Actions.
How many repositories were affected by wfx-loot?
It depends what you count. By November 12, 61,764 had received a harmless test pull request (Aikido), at least 8,093 public repositories had the stealer committed to the default branch (SafeDep), and Aikido found signs that it ran in at least 1,806.
Did wfx-loot publish malicious npm packages?
No published npm package with the payload was found. The "npm" part is an install hook added to package.json inside affected repositories. One Packagist package and two Go modules carried the payload, according to SafeDep; Aikido lists one of each. SafeDep says a normal install of them doesn't run it.
How do I know if the stealer ran in my repository?
Look for the commit titles above followed by a gap in workflow run numbers, or a job log line running a .ci-xxxxxx.sh script, and check your audit log to see whether the run was approved. If you can't tell, GitGuardian advises assuming it ran.
Is rotating secrets enough?
No. The stealer tries to create new access keys and trust relationships in AWS and Azure. Where it succeeded, those have to be found and removed separately.
Who is behind it?
Unknown. No source attributes the campaign to a named group.
The short version
wfx-loot used stolen GitHub credentials, not a GitHub vulnerability, starting November 10, 2026.
4,837 accounts and 61,764 repositories count test pull requests. 8,093 counts repositories where the stealer was committed. 1,806 counts where it appears to have run.
The stealer takes every secret a build can reach and tries to plant backdoors in AWS and Azure, so rotation alone isn't enough.
Search for docs: dependency audit notes, ci: refresh build cache and missing workflow run numbers.
Stolen credentials with write access are what made it possible. Prefer short-lived, narrowly scoped access.