Skip to content
    ← All news

    4,837 hijacked GitHub accounts probed 61,764 repos. How to check if wfx-loot hit yours

    · Zero Agency

    Share

    There may be a pull request in your repo called "docs: dependency audit notes". It adds one small Markdown file. It looks like the kind of chore a bot opens and nobody reads.

    Nobody reading it is exactly the problem. Since November 10, that pull request has been the calling card of a campaign that steals every secret your GitHub Actions workflows can reach, then deletes the evidence.

    TL;DR

    • Starting around 12:45 UTC on November 10, an attacker used stolen credentials for 4,837 GitHub accounts to open probe pull requests in 61,764 repositories, according to Aikido Security, which calls the campaign wfx-loot.
    • Aikido says the stealer ran and sent credentials out in at least 1,835 repositories. The same research also gives a more cautious at least 1,806. The numbers are still moving.
    • If an account opened the probe pull request in your repo, that account is compromised, even if nothing else happened.
    • The best sign that the stealer ran is a missing run number in your Actions history right after the attacker's commit.
    • Rotating secrets is not enough. The stealer tries to plant cloud backdoors that survive rotation.

    What is wfx-loot, in plain words?

    It is not a bug in GitHub. The attacker has valid tokens for real developer and bot accounts and uses them the way a developer would, says StepSecurity, which tracks the same campaign as WFX Phantom.

    For every repository a stolen token can write to, it does three things. First, it opens the harmless probe pull request from a branch named wfx-docs, just to confirm it has write access. Second, it pushes a shell script of about 1,500 lines, per Aikido, that collects secrets. Third, it reverts the change and deletes the workflow run and its logs.

    StepSecurity says the cleanup usually happens within a minute. By the time you open the repo, the code looks normal.

    What does the stealer take?

    Everything the CI job can touch. BleepingComputer's summary of Aikido's research lists GitHub Actions secrets and variables, the workflow's own tokens, AWS, Azure and Google Cloud credentials, npm, PyPI, Docker, Kubernetes and SSH credentials, and keys for OpenAI, Anthropic, Gemini, Hugging Face, Cursor and GitHub Copilot.

    That last group matters if you build with AI agents. Your model provider key and your coding agent token are now on the same shopping list as your AWS keys.

    It also reads the memory of the runner process, which holds every secret the job can use in decrypted form, StepSecurity found. So "my workflow only uses one secret" is not a defense. If the job can see a secret, assume it is gone.

    How do I check if my repository was hit?

    Do this for every repository you can write to, including the ones you forgot about. The indicators below come from Aikido, StepSecurity and The Hacker News.

    1. Search for the probe. On GitHub, search pull requests in your account or organization for "docs: dependency audit notes". With the GitHub CLI: gh search prs "docs: dependency audit notes" --owner YOUR_ORG. Also look for a wfx-docs branch.
    2. Search for the payload commits since November 10. The messages are ci: refresh build cache, chore: add ci helper, chore: add dependency audit workflow, followed by ci: restore or ci: cleanup. Example: gh search commits "ci: refresh build cache" --owner YOUR_ORG. GitHub's commit search only covers default branches, so it will miss commits on the attacker's throwaway branches. Check the Actions history too. To search the exact phrase, quote it twice: gh search prs '"docs: dependency audit notes"' --owner YOUR_ORG.
    3. Look for short-lived branches named chore/ plus eight random characters or ci-check- plus four digits, a chore: initial commit in an empty repo, and new files like .github/workflows/build-audit-xxxxxx.yml or a hidden .ci-xxxxxx.sh at the root. StepSecurity also found the stealer pasted into shell scripts your CI already runs, so diff those too.
    4. Open the Actions tab and check the run numbers right after any of those commits. If run #41 is followed by run #43, the stealer most likely ran and the attacker deleted the evidence.
    5. Check package.json. One variant adds a postinstall hook that runs the script on any npm install. That means it can run on a developer laptop, not only in CI.
    6. Write down which account pushed the commits. That account's tokens are stolen.

    One warning from The Hacker News report: a repository can show none of the obvious artifacts and still have lost data. The gap in run numbers is the more reliable sign.

    What do I rotate first, and what else do I clean?

    If the stealer ran, rotate before you tidy up. Deleting the branch feels productive. It does not invalidate a single key. We made the same argument about leaked GitHub secrets: removing a credential from the repo does nothing to the copy the attacker already has.

    1. Lock the compromised account. Revoke its personal access tokens, OAuth app grants and SSH keys, sign out its sessions, and turn on two-factor authentication. StepSecurity also says to ask whether bot accounts need to bypass branch protection at all. If the account belongs to an outside collaborator, you cannot revoke its tokens. Remove its access to your repositories and tell the owner.
    2. Rotate every secret the job could reach. Repository, environment and organization secrets, not only the ones the workflow names. For each one, create the new key, deploy it, then revoke the old one. Keys the attacker created are different: delete them, do not rotate them. Include npm and PyPI publishing tokens, and check for package versions published after the bad commit.
    3. Hunt for backdoors, because rotation alone does not remove them. On AWS, look in CloudTrail for sessions named wfx-* followed by CreateAccessKey or UpdateAssumeRolePolicy, and for role trust policies opened to any AWS account. On Azure, look for federated credentials named wfx-ci-* on your app registrations. On Google Cloud, review GenerateAccessToken and SignJwt calls from your GitHub workload identity pool. If you use HashiCorp Vault, review logins made with GitHub's workflow sign-in tokens. On AWS, delete access keys you did not create and restore any trust policy that allows "AWS": "*".
    4. Clean the developer machines. Anyone who ran npm install on an affected commit should treat that machine as compromised and rotate its keys, The Hacker News reports, citing SafeDep.
    5. Then clean GitHub. First record the commit SHAs, authors and times, since the attacker already deleted the run logs. Then close the probe pull requests and delete the wfx-docs branch and any chore/ branch with eight random characters that the compromised account created after November 10.

    This order is different from the npm worm cleanup in October, where revoking the token first could wipe a machine. None of the reports on wfx-loot describe a trap like that, so here you can lock the account first. Then rotate, hunt for persistence, and clean up last.

    Why did 92% of the probes in other people's repos stay open?

    This is the number that matters most for teams. Aikido says 10,431 of the probe pull requests landed in repositories the account does not own, through collaborator or organization access, and 92% of them were still open when it checked.

    The attacker did not need to be clever. Most owners did not read those pull requests.

    Most teams have a pile of open pull requests from bots and old collaborators that nobody triages. We treat it as noise. wfx-loot treats it as cover. A strange chore PR from a known account does not trigger anyone, because strange chore PRs from known accounts are normal.

    The second lesson is about old breaches. The Hacker News reports that Aikido found accounts hit in October's GhostAction wave were about 1,000 times more likely than other active accounts to be used this week. In more than 100 repositories, the new stealer sat inside October's workflow files. Aikido assesses that the two waves are distinct campaigns, likely run by different actors. But if you rotated after October and never revoked the account's access, you left the door unlocked.

    What should a team that runs AI agents change?

    Teams that let AI agents open pull requests should read this campaign closely.

    Every agent and bot that can push code is an account with write access. That makes it a target exactly like a human developer, and WebdriverIO's bot account, wdio-bot, was used to reach 28 of its repositories, per The Hacker News.

    Three rules we think are worth adopting now. Give each bot the smallest token that does its job, scoped to the repos it needs. Turn on branch protection so no account, bot or human, can push straight to the default branch. That stops the workflow edit, but not the variant that runs from a new branch. So keep deploy secrets in environments that only the default branch can use, and let cloud logins from GitHub work only from that environment. And keep model provider keys out of CI secrets unless a workflow truly needs them, because wfx-loot specifically collects them.

    FAQ

    I found the probe pull request but no other commits. Am I safe? Your repo may be, but the account that opened it is compromised, according to Aikido. Revoke that account's tokens and sessions today.

    Does blocking the attacker's IP addresses stop it? Not reliably. Older copies send data to the published addresses, but StepSecurity saw new copies switch to sending stolen data only to a Telegram chat on November 12.

    Is there a CVE or a GitHub patch to install? No. There is no bug to patch. The attacker uses valid stolen tokens, so the fix is revoking access and rotating secrets.

    Are packages affected? Some. Aikido lists Packagist digitalelvis/neuronai-studio 3.14.3: block it, pin 3.14.2 or earlier, and treat any machine that installed or opened it as compromised. The Go module github.com/onuragtas/docker-env v1.0.278 and v1.0.280 carry the stealer only in a workflow file, and Go builds do not run it, but remove them anyway. The Hacker News also lists github.com/vkuznet/gocurl pseudo-version v0.0.0-20261111095532-8d5aad0cb0da.

    Share this post