wfx-loot: 4,837 GitHub Accounts, One CI Secret Stealer

By 13 min read
wfx-loot GitHub Actions secret stealer pushed through 4,837 hijacked GitHub accounts

A stolen token opened a pull request, a 1,500-line script ran for a few seconds, and then the commit reverted itself and the workflow log disappeared. Multiply that by 4,837 hijacked GitHub accounts and you have wfx-loot, the largest CI secret theft campaign of November 2026.

In short: wfx-loot is a campaign that, from 10 November 2026, used stolen GitHub tokens to push a secret stealer into GitHub Actions workflows and npm install hooks, take every credential the CI runner could reach, plant backdoors in AWS and Azure, and erase its own tracks. If you run GitHub Actions with cloud access, you need to check for it, and rotating secrets alone will not finish the job.

What is wfx-loot?

wfx-loot is the name Aikido Security gave to the campaign when it published the first analysis on 12 November 2026. The attacker’s own code labels the malware “wfx” and the stolen data “loot”, which is where the name comes from. StepSecurity calls the same activity “WFX Phantom”, while SafeDep and Endor Labs simply call it wfx.

The payload is a single shell script of about 1,500 lines. Aikido describes it as heavily commented and not obfuscated. A CI secret stealer is malware that runs inside a build pipeline and copies the credentials the pipeline holds: deploy keys, cloud tokens, package registry tokens and API keys.

Four headline figures: 4,837 accounts, 61.7K repositories probed, 8,093 payloads and 1,806 thefts.
A few thousand stolen tokens reached tens of thousands of repositories. Data: Aikido Security, SafeDep, OX Security, Endor Labs.

How big is the wfx-loot campaign?

wfx-loot probed 61,764 repositories through 4,837 accounts, and at least 1,806 lost their secrets.

Measure Figure Source
Hijacked GitHub accounts 4,837 Aikido, OX, Endor (SafeDep: 4,833)
Repositories probed 61,764 Aikido, Endor (SafeDep: 61,734)
Probe PRs opened 61,879 to over 66,000 SafeDep, StepSecurity, OX
Probes into repos the account did not own 10,431 Aikido, OX
Repos that received a malicious commit 8,093 to more than 8,900 SafeDep and OX; Endor
Repos with confirmed secret theft at least 1,806 Aikido, OX, Endor
Accounts with package publishing rights at least 50 Aikido, OX

Each researcher counted at a different moment, so the figures differ slightly.

Aikido’s own post gives both “at least 1,806” and “at least 1,835” for executed payloads, and calls its figure a likely undercount. A teaser for GitGuardian’s own write-up puts the total above 17,000 repositories; we could not verify that figure against the full analysis.

BleepingComputer reports that some hijacked accounts belonged to Fortune 100 companies, the US General Services Administration, the French government, Nextcloud and WebdriverIO. StepSecurity and OX also document the Nextcloud and WebdriverIO cases.

How did the wfx-loot attack work?

The campaign ran in a fixed sequence. Every step used an ordinary GitHub feature with a stolen credential; none of the researchers found a GitHub vulnerability.

Seven-stage wfx-loot chain from a stolen GitHub token to cloud persistence and self-deletion.
The theft takes seconds; the cloud backdoors are what outlive the cleanup. Data: Aikido Security, StepSecurity, Endor Labs.

Step 1: a probe pull request

The attacker first opened a pull request titled “docs: dependency audit notes” from a branch named wfx-docs. StepSecurity says it adds one markdown file, docs/wfx-audit.md, and is byte-identical everywhere. Its job is to confirm the token can write to the repository. Around 90 percent of these probe PRs were still open when the researchers published.

Step 2: the payload push

Where the probe showed write access, the attacker pushed the stealer straight to the default branch in one of three ways. SafeDep’s count of 8,093 affected repositories splits like this:

  • Existing workflow edited (commit “ci: refresh build cache”): stealer steps added to a file such as ci.yml. 7,309 repositories.
  • npm postinstall hook (commit “chore: add ci helper”): a hidden .ci-xxxxxx.sh script at the repo root plus a hook in package.json. A postinstall hook is a script npm runs automatically after installing a package, so it also fires on developer laptops. 771 repositories.
  • New workflow file (commit “chore: add dependency audit workflow”): a build-audit-xxxxxx.yml workflow, often in an empty repository. 16 repositories.
Bar chart of wfx-loot delivery methods: 7,309 edited workflows, 771 npm hooks, 16 new workflows.
Editing a workflow you already trust was by far the most common route. Data: SafeDep.

SafeDep’s workflow sample requested the id-token: write and statuses: write permissions and passed the full secrets and vars contexts to the script. In WebdriverIO’s case, OX and StepSecurity say the push came through a bot account that could bypass branch protection.

Step 3: harvesting the runner

Once running, the script collects far more than the secrets the workflow references. StepSecurity and Endor say it reads the memory of the GitHub Actions Runner.Worker process, where decrypted secrets sit, so it can recover secrets the job never asked for. It also takes the GITHUB_TOKEN, environment variables, credential files for AWS, Azure, GCP, Docker, Kubernetes, npm, PyPI, SSH and Vault, AI provider and coding-assistant keys, shell histories, .env files and a snapshot of the repository and recent commits.

On self-hosted runners it also queries the cloud instance metadata service for the machine’s own credentials, according to Aikido.

Step 4: from CI into the cloud

GitHub OIDC lets a workflow swap a short-lived signed token for a cloud session without storing a cloud password. wfx-loot abuses exactly that. Aikido, StepSecurity and Endor say it mints OIDC tokens for AWS, GCP and Azure, chains into other AWS roles it finds in the repository, impersonates GCP service accounts and replays cached Azure CLI refresh tokens to reach Microsoft Graph, Azure Resource Manager and Key Vault. It also tries the tokens against HashiCorp Vault and Kubernetes API servers.

Step 5: exfiltration

Stolen data is packed into a gzipped archive and sent by HTTP POST to /exfil on port 8080 at one of three IP addresses (194.150.166[.]244, 18.143.168[.]96 and 153.75.82[.]159). OX and Endor list the first two; StepSecurity and SafeDep add the third. From 12 November, newer copies switched to the Telegram Bot API. The code also contains channels through the Actions cache, artifacts named wfx-loot plus the run ID, and the job summary, but every researcher found them switched off.

Step 6: covering tracks

Within seconds to a few minutes, the attacker pushes “ci: restore” or “ci: cleanup” to revert the payload and deletes the workflow run and its logs. Endor describes the payload sitting on the default branch for only seconds. All four technical sources agree on the most reliable trace left behind: a gap in the workflow run numbers. StepSecurity shows one repository where run 1964 is simply missing between 1963 and the attacker’s revert run 1965.

wfx-loot timeline

Timeline of wfx-loot from the first probe pull requests on 10 November to public disclosure on 12 November.
The operator changed exfiltration channels mid-campaign, after victims started noticing. Data: Endor Labs, StepSecurity, OX Security, Aikido Security.
  • 10 November, about 12:45 UTC: the first probe PRs appear (Endor, Aikido). The first payload version reaches 695 repositories between 13:02 and 15:09, according to Endor.
  • 11 November, 06:33 UTC: a developer reports that a leaked GitHub CLI OAuth token was used against them (Endor).
  • 11 November, 12:11 UTC: two “chore: add ci helper” commits land through the WebdriverIO bot account, reverted within about 20 minutes (OX, StepSecurity).
  • 12 November, 01:10 UTC: Telegram first appears in samples as a backup channel (StepSecurity).
  • 12 November, about 05:30 UTC: new copies send only to Telegram, according to OX and StepSecurity. Endor instead describes a version from 02:08 that sends to Telegram on every run while still using HTTP.
  • 12 November: Aikido publishes, followed the same day by OX, StepSecurity, Endor and SafeDep.

Who is affected and how do you check exposure?

Any organisation whose developers or bots had their GitHub tokens stolen is at risk, including through collaborator or organisation access: 10,431 probes hit repositories the account did not own. Developers who ran npm install on an affected commit, or installed a poisoned package version, are also in scope.

Quick exposure checks

  1. Search your organisation for pull requests titled “docs: dependency audit notes” and branches named wfx-docs, chore/ followed by eight random characters, or ci-check- followed by four digits.
  2. Search commits since 10 November for the titles “ci: refresh build cache”, “chore: add ci helper”, “chore: add dependency audit workflow”, “chore: initial commit”, “ci: restore” and “ci: cleanup”.
  3. Look for hidden .ci-*.sh files at repository roots and new postinstall scripts in package.json.
  4. Compare workflow run numbers after any suspicious commit. A missing number means a run was deleted.
  5. Scan git history, not just the current tree.

Packages named by researchers

Package Versions Notes
digitalelvis/neuronai-studio (Packagist) 3.14.3 Named by all sources; OX says 3.14.4 is the fix, StepSecurity advises 3.14.2 or earlier
onuragtas docker-env / redock (Go) v1.0.278, v1.0.280 OX and SafeDep add v1.0.282; payload is in a workflow file only
vkuznet/gocurl (Go) pseudo-version from 11 Nov 2026 Named by OX, StepSecurity and SafeDep

The Go payloads sit in workflow files, which Go builds do not execute. The Packagist hook does not run under Composer but does run if someone runs npm install inside the package, StepSecurity notes. SafeDep scanned 218 npm, Go and Packagist packages tied to affected repositories and found no other published version carrying the payload.

How do you detect wfx-loot?

The attacker deletes run logs, so rely on audit trails it cannot erase.

GitHub

  • The probe PR title, wfx-docs branch and commit titles above, searched across every repository in the organisation.
  • Workflow run number gaps and deleted runs in your organisation audit log.
  • StepSecurity notes the PR record can show performed_via_github_app; 173 probe PRs came through the Fly.io GitHub App (app ID 34557).
  • Pushes to default branches by bot accounts that bypass branch protection.

Cloud logs

  • AWS CloudTrail: AssumeRoleWithWebIdentity from GitHub OIDC, AssumeRole with session names starting wfx-, CreateAccessKey, and UpdateAssumeRolePolicy calls, especially any trust policy with a wildcard principal.
  • Microsoft Entra ID audit logs: additions of federated identity credentials to app registrations, particularly any named wfx-ci-*.
  • Google Cloud audit logs: GenerateAccessToken and SignJwt calls through the GitHub workload identity pool.
  • Vault and Kubernetes: logins using tokens issued by token.actions.githubusercontent.com that you cannot match to a known workflow.

Network and runtime

  • Outbound traffic from CI runners to the three collection IPs on port 8080, or to api.telegram.org.
  • Processes on runners reading Runner.Worker memory, which StepSecurity flags with its Harden-Runner tool.

MITRE ATT&CK mapping

The sources publish no ATT&CK IDs; this mapping is our own: Valid Accounts (T1078), Compromise Software Supply Chain (T1195.002), Credentials In Files (T1552.001), Additional Cloud Credentials (T1098.001), Exfiltration Over Web Service (T1567) and Indicator Removal (T1070).

How do you clean up after wfx-loot?

Treat any repository where the payload ran, or where a run number is missing after an attacker commit, as fully compromised. Work in this order:

  1. Lock the account. Revoke the personal access tokens, OAuth grants, SSH keys and sessions of every account that opened a probe PR or authored a payload commit, then require phishing-resistant MFA.
  2. Remove cloud persistence first. Delete IAM access keys created since 10 November, restore AWS role trust policies that allow any principal, delete Entra ID federated credentials named wfx-ci-*, and review GCP and Vault access from GitHub OIDC. Rotation alone leaves these in place.
  3. Rotate everything the runner could reach. That means repository, environment and organisation secrets, package registry tokens, AI keys and cloud keys, not only the secrets the workflow referenced, because of the memory scan.
  4. Clean the repositories. Close probe PRs, delete wfx-docs and chore/ branches, remove injected steps and hooks, and check that nothing was merged on a status check the attacker could have forged.
  5. Rebuild packages. Re-publish anything released between a malicious commit and its revert from a clean commit, and block the named package versions.
  6. Treat developer machines as exposed if they ran npm install on an affected commit or installed neuronai-studio 3.14.3.
  7. Harden for next time. Endor recommends CODEOWNERS on workflow files, blocking direct pushes to default branches, read-only default GITHUB_TOKEN permissions, OIDC trust scoped to specific repositories, branches and environments, npm ci –ignore-scripts in CI, and an egress allowlist on runners.

wfx-loot vs GhostAction: how does it compare?

wfx-loot was not the first campaign to inject secret stealers through hijacked GitHub accounts. GhostAction, documented by GitGuardian, came before it and the two overlap.

  GhostAction (Sept 2025) GhostAction return (Aug to Oct 2026) wfx-loot (Nov 2026)
Scale 817 repos, 327 users more than 30,000 repos, about 1,900 accounts 61,764 repos probed, 4,837 accounts
Delivery injected workflow injected workflows workflow edits, npm hooks, new workflows
What it took secrets named in workflows (3,325) secrets named in workflows all secrets via memory scan, plus credential files
Cloud persistence none described none described AWS trust policies, IAM keys, Entra federated credentials
Self-cleanup no no revert plus run deletion
Exfiltration HTTP to attacker hosts HTTP to 193.32.204[.]199 HTTP on port 8080, then Telegram

Aikido says accounts hit by GhostAction in October were significantly more likely to be hit by wfx-loot, and in more than 100 repositories wfx-loot was injected into GhostAction’s own leftover workflow files. GitGuardian, quoted by CSO Online, says about a fifth of wfx accounts were already compromised in GhostAction. Aikido still assesses the two as likely different actors, because infrastructure, tooling and tradecraft differ.

The pattern also echoes other recent supply chain cases: in PolinRider, real developer accounts were the delivery channel, and the WPPConnect attack showed a project’s own release pipeline shipping malware. A single stolen GitHub token at 1Password shows how far one credential can reach.

Open questions

  • How were the tokens stolen? No source has an answer for most of the 4,837 accounts. StepSecurity says it has not established how the Fly.io app tokens were obtained; CSO Online reports they leaked through .git/config files left in publicly served build directories, and that Fly.io says it was not breached. CSO also reports GitHub’s bulk token revocation stopped partway.
  • How much was actually stolen? Execution counts range from 1,806 to 1,835 in Aikido’s own post. Because runs were deleted, every count is a floor.
  • Were forged status checks used? The code can post fake passing status checks to get past branch protection. Endor describes this as part of the attack; StepSecurity found it switched off in all 101 copies it examined, and SafeDep found the same in its samples.
  • Was Telegram the only channel at the end? OX and StepSecurity say new copies went Telegram-only; Endor says a later version kept HTTP and sent a Telegram copy every time.
  • What has GitHub said? None of the sources we read reports a public statement from GitHub about the campaign.

The bottom line

wfx-loot shows that a CI pipeline with cloud access is only as safe as the least protected token that can push to it. The theft took seconds and erased its own logs, but the AWS trust policies, IAM keys and Entra federated credentials it planted stay until someone removes them. Search for the indicators, then clean up the cloud before you rotate.

Sources

This article is written for defenders and authorised security testers. Only test systems you own or have written permission to assess.

Frequently asked questions

What is wfx-loot?

wfx-loot is Aikido Security's name for a November 2026 campaign that used hijacked GitHub accounts to push a CI secret stealer into thousands of repositories. The name comes from the attacker's own labels: wfx for the malware and loot for the stolen data.

How do I know if my repository was hit by wfx-loot?

Search your organisation for a branch named wfx-docs, pull requests titled 'docs: dependency audit notes', and commits titled 'ci: refresh build cache', 'chore: add ci helper', 'chore: add dependency audit workflow', 'ci: restore' or 'ci: cleanup' since 10 November 2026. Also look for a skipped run number in your Actions history.

Does a wfx-docs probe pull request mean my secrets were stolen?

Not by itself. StepSecurity says the probe only adds a markdown file. It does prove that the account which opened it is compromised, so revoke that account's tokens and check whether a payload commit followed.

Is rotating GitHub secrets enough after wfx-loot?

No. The stealer can rewrite AWS role trust policies to trust any account, create long-lived IAM access keys and add Entra ID federated credentials named wfx-ci-*. These survive secret rotation and must be found and removed separately.

Which packages were affected by wfx-loot?

Researchers name Packagist digitalelvis/neuronai-studio 3.14.3 and Go modules from onuragtas (docker-env and redock, v1.0.278, v1.0.280 and, per OX and SafeDep, v1.0.282), plus a vkuznet/gocurl pseudo-version. The sources do not agree on the full list, so check each vendor's IOC page.

Who is behind wfx-loot?

Nobody has attributed it. Aikido says accounts hit by the earlier GhostAction campaign were much more likely to be hit again, but assesses the two are likely different actors sharing stolen credentials.

How did the attackers get the GitHub tokens?

No source has established it for most accounts. StepSecurity traced 173 probe PRs to Fly.io GitHub App tokens, and CSO Online reports those leaked through exposed .git/config files in deployed apps. Fly.io says it was not breached.

Keep reading

wfx-lootGitHub Actions securityCI/CD securitysupply chain attacksecret rotationcloud securityincident response