Skip to content

the pull request said “docs: dependency audit notes.” then the CI secrets left the building

wfx-loot Hunt: GitHub Actions Secret Stealer, Probe PRs and npm Hooks

the pull request said “docs: dependency audit notes.” then the CI secrets left the building

starting on November 10, someone used stolen GitHub credentials to walk into tens of thousands of repositories, opened a politely named pull request, and in a lot of those repos followed it with a secret-stealing GitHub Actions payload. then they tried to delete the evidence, including the workflow run. the campaign is being tracked as wfx-loot, after the name the operator used for the malware and for the stolen secrets. if your idea of GitHub hygiene is “we require reviews on the default branch,” congratulations, that is one of the doors. it is not all of them.

Lab-only / defensive use. this post is a hunt for public campaign markers: probe pull-request titles, branch names, commit subjects, leftover files, hook lines, and gaps in workflow run numbers. the downloadable kit only reads a JSON export or a working tree you provide. it makes no GitHub API calls unless you later point something else at an API, it does not contain the stealer, and it will not reconstruct the 1,500-line payload. a clean run means none of these known markers, not “nobody stole anything.”
The short version. Aikido, in a November 12, 2026 write-up, says the wave began around 12:45 UTC on November 10. in the data they had then: 4,837 compromised accounts opened probe pull requests in 61,764 repositories; at least 1,835 repositories ran the payload and had credentials exfiltrated; at least 50 of the compromised users appear to publish packages for npm, Go, Packagist, PyPI, or crates. GitGuardian, covering the same wave and still seeing it run on November 12, counted 66,001 probe pull requests and 28,148 ci: refresh build cache commits in GitHub search, and held its own dataset of 28,500 payload patches from 2,367 accounts across 17,715 repositories. those are two research snapshots, not a single official tally, and we are not averaging them into a fake number. there is no CVE. this is stolen credentials plus CI, not a GitHub platform bug in the usual CVE sense.

what the operator actually did, according to the people who counted it

Aikido’s sequence is the clearest public description. for each repository a stolen GitHub token could write to, the operator:

  1. probed, by opening a pull request titled docs: dependency audit notes from a wfx-docs branch, which confirms write access. Aikido’s GitHub search, as of their post, returned 61,839 such pull requests opened between November 10, 12:45 UTC, and November 11, 15:00 UTC. they also say: if the probe ran, that user is compromised, even if the later workflow stage did not run.
  2. pushed the payload, in one of three forms they documented: a ci: refresh build cache commit that adds a large chunk of script to an existing workflow; a chore: add ci helper commit that drops a .ci-xxxxxx.sh script and a postinstall hook in package.json; or a chore: add dependency audit workflow commit that adds .github/workflows/build-audit-xxxxxx.yml on a short-lived chore/xxxxxxxx branch.
  3. cleaned up, “within at most one minute,” reverting and deleting the workflow run and its logs. “a missing run number in the workflow’s history is often the only trace.”

GitGuardian describes the same shell stealer in four delivery forms, adding a variant that appends to an existing shell script, and follow-up commit titles such as ci: restore and ci: cleanup. they also make a point that matters more than another count: in the November runs they could still observe, the workflow-file forms were held by GitHub with conclusion action_required and never started. the npm hook did not change a workflow file, so the repository’s own unchanged workflows ran npm install (or npm ci, or pnpm install) and executed the hidden script anyway. in a sample of 19 public job logs where the script ran, they say 18 reported a successful exfiltration. they also describe the hook volume rising after the holds, including 1,210 hook commits on the morning of November 12.

we are not going to pretend we independently re-counted GitHub on November 14. the Daily CISO briefing that morning was still telling security leaders to check repositories for this campaign. treat it as ongoing until your own hunt says otherwise.

what the payload collects, and why “we didn’t reference that secret” is not a defense

Aikido describes a single shell script, about 1,500 lines, reused across delivery variants, with feature flags at the top. the collection list, in their words, includes:

  • GitHub Actions secrets and variables, the workflow GITHUB_TOKEN, and the OIDC and Actions runtime tokens.
  • the runtime environment, plus variables whose names look like tokens, secrets, passwords, cloud keys, and a long list of vendor keywords.
  • credential files from well-known paths: AWS, Azure, GCP, Docker, Kubernetes, npm, PyPI, Git, SSH, GPG, Vault, Terraform.
  • credentials for AI providers and AI developer tools, including OpenAI, Anthropic, Gemini, Hugging Face, Cursor, Copilot, and others they name.
  • shell histories, plus .env, key, keystore, and kubeconfig files under $HOME.
  • environment and memory of processes on the runner, with particular interest in Runner.Worker and Runner.Listener.

GitGuardian’s conclusion, which we are repeating because it is the operational one: if a repository ran this payload, treat every secret reachable from that job as leaked, including secrets the workflow never referenced. self-hosted runners make that list worse, because instance metadata and host credential files are suddenly in play.

Aikido says the payload proliferated into at least one Packagist package and one Golang package through automated publishing triggers, but that the operator appears to be after CI secrets rather than a classic supply-chain worm. “at least one” is not “the ecosystem is clean.” it is “this is not the only place to look.”

this is a different shape than the bee-js incident we wrote about on November 10, where a release bot with valid provenance published a bad package. that one was a trusted publishing path doing what it was told. this one is a stolen user token doing what the user could already do, plus CI that will happily export every secret it can see. different door, same room.

step 1: hunt the paper trail they failed to completely delete

you may be affected, per Aikido, if any of these appeared in a repository you can write to on or after November 10:

  • a wfx-docs branch, or a pull request titled docs: dependency audit notes
  • commits titled ci: refresh build cache, chore: add ci helper, or chore: add dependency audit workflow
  • short-lived branches named chore/ followed by eight random characters

add GitGuardian’s extra titles and leftovers: ci: cache, ci: restore, ci: cleanup, a docs/wfx-audit.md probe file, .ci-xxxxxx.sh scripts, throwaway build-audit-xxxxxx.yml workflows, and a gap in run_number. a gap proves a run was created and later removed. GitGuardian is careful, and so are we: it does not by itself prove the run executed.

Kali terminal running wfx-loot-hunt.py in export mode against a lab JSON export, hitting a docs: dependency audit notes pull request from wfx-docs, ci: refresh build cache and ci: cleanup commits, a chore/a1b2c3d4 branch, a missing workflow run number, and a run held at action_required.
Step 1: synthetic export with the public campaign markers planted. the missing run number is a clue, not a conviction. the probe PR is already enough, in Aikido’s guidance, to treat that user as compromised.

step 2: leftover files, npm hooks, and the markers they forgot in the script

force-pushes and branch deletes hide a lot. they do not always hide a postinstall line, a .ci-*.sh file, or strings like WF_CTOKEN, WF_CALLBACK, WF_TG_BOTS, WF_MEMSCAN, and WFXLOG-BEGIN if a copy survived. those marker names are hunt strings, not an invitation to paste a payload into production CI “just to see.”

Kali terminal running wfx-loot-hunt.py in tree mode on a lab working tree, hitting a package.json postinstall hook that points at a .ci- script, the leftover script itself, a WF_CTOKEN marker, and docs/wfx-audit.md.
Step 2: leftover names and markers in a lab tree. the kit does not include the stealer. if you find the real script in a repo you own, you have an incident, not a new lab fixture.

what to do if you get a hit

the boring list is the correct list:

  • treat the GitHub user or token that opened the probe as stolen. revoke it. rotate every credential it could have used, including SSO and PATs, not just the classic “repo secret named AWS_KEY.”
  • if a payload job ran, or even if you only know a hook ran npm install after the package.json change, rotate every secret reachable from that runner: Actions secrets, OIDC roles, cloud accounts, package registries, and AI provider keys.
  • look at GitHub, AWS, Azure, and GCP audit logs for the window starting November 10, and for the October 24 to 29 precursor GitGuardian describes, if you have any reason to think you were in that earlier pass.
  • do not assume a public repo is harmless because GitHub held some workflow-file runs. the hook path is the one researchers saw actually exfiltrate.
  • if you publish packages, assume a stolen account plus an automated release workflow is how this jumps from “our CI” to “everyone’s install.”

the industry part, since we have to

we taught a generation of developers that a green check on a pull request titled like documentation is basically furniture. an operator just used that as a doorbell. then they deleted the run so the furniture looked undisturbed, except for a missing number that most teams never look at.

GitHub holding the workflow-file variants is good, and it is also how we learned that “we blocked the workflow change” is not the same as “npm install cannot run a hook.” CI is a privileged identity with a forgettable name. it has been for years. this campaign is what that sentence looks like when someone has 4,800 of your users’ tokens.

download the Kali defensive kit

wfx-loot-defensive-hunt-kit.zip contains wfx-loot-hunt.py (export and tree modes), a README, and the synthetic lab files from the screenshots. it makes no network connections and contains no stealer. read the README before you point it at a real org export. a clean tree is not a rotated secret.

sources