Compromised GitHub accounts push CI secret stealer to 61,764 repos

A campaign tracked as wfx-loot used 4,837 hijacked GitHub accounts to plant a CI secret stealer, with at least 1,835 repositories losing credentials.

A row of wooden crates with rolled cylinders on top stands on a grey surface
AI illustration

A threat actor is using stolen GitHub credentials to plant a secret-stealing payload in CI pipelines at scale. Security firm Aikido, which tracks the campaign as wfx-loot, says 4,837 compromised accounts opened probe pull requests in 61,764 repositories starting on November 10. At least 1,835 repositories ran the payload and had credentials exfiltrated.

The name comes from the attacker’s own label for the malware and the term it uses for stolen secrets. According to Aikido, the goal appears to be CI secrets rather than spreading through the software supply chain, although the payload has already reached at least one Packagist package and one Go module through automated publishing triggers.

How the attack works

For each repository a stolen token can write to, the attacker follows three steps:

  • Probe. It opens a pull request titled “docs: dependency audit notes” from a branch named wfx-docs. This confirms write access.
  • Push the payload. It uses one of three variants: a commit titled “ci: refresh build cache” that adds about 1,500 lines to an existing workflow; a commit titled “chore: add ci helper” that adds a hidden shell script and an npm postinstall hook; or a commit titled “chore: add dependency audit workflow” that adds a new workflow file on a short-lived chore/ branch.
  • Clean up. Within at most one minute, the attacker reverts the change and deletes the workflow run and its logs. A missing run number in the workflow history is often the only trace left.

Aikido found 10,431 of the probe pull requests in repositories the account does not own, reached through collaborator or organisation access. 92% are still open, which suggests most owners have not noticed.

What the payload steals

The payload is a single shell script of about 1,500 lines, unobfuscated and heavily commented. It collects GitHub Actions secrets and variables, the workflow GITHUB_TOKEN, OIDC and runtime tokens, environment variables, and credential files for AWS, Azure, GCP, Docker, Kubernetes, npm, PyPI, Git, SSH, GPG, Vault and Terraform. It also targets AI provider and developer tool credentials, including OpenAI, Anthropic, Gemini, Hugging Face, Cursor, Copilot and others, plus shell histories and the memory of runner processes.

The script then tries to escalate. It exchanges GitHub OIDC tokens for AWS, GCP and Azure sessions, creates long-lived AWS access keys, impersonates GCP service accounts and pivots through cached Azure CLI refresh tokens.

Persistence beyond rotation

Three features are designed to survive credential rotation. The payload posts forged success status checks using the names of a repository’s required checks, which clears branch protection gates. It rewrites the trust policy of a chained AWS role to allow any AWS account. With a Microsoft Graph token, it adds federated identity credentials named wfx-ci- to Azure AD applications, letting workflows in the compromised repository authenticate to Azure without a stored secret.

In this campaign, data was sent by HTTP POST to 194.150.166[.]244:8080/exfil or 18.143.168[.]96:8080/exfil. Other exfiltration channels in the script were turned off.

Affected packages

Aikido lists Packagist package digitalelvis/neuronai-studio version 3.14.3 and Go module github.com/onuragtas/docker-env versions v1.0.278 and v1.0.280. In the Go module, the payload sits only in a workflow file and the Go source is unchanged, but Aikido still recommends removing these versions.

Accounts hit by the October GhostAction wave were significantly more likely to be hit by wfx-loot, and in more than 100 repositories the new payload was injected into GhostAction workflow files. Aikido nonetheless assesses these as distinct campaigns, likely run by different actors, citing differences in infrastructure, tooling and tradecraft.

What to check

Look for any of the following in repositories 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
  • Gaps in workflow run numbers

If the probe appears, the account that opened it is compromised. If the payload ran, treat every secret and cloud role available to the workflows as stolen and rotate it. Missing artifacts or cache entries do not prove data was not taken.

Key takeaways

  • 4,837 hijacked GitHub accounts targeted 61,764 repositories, and at least 1,835 lost secrets.
  • The attacker deletes workflow runs within a minute, so a missing run number is often the only clue.
  • The payload adds persistence in AWS and Azure that can outlast token rotation.
  • Search for wfx-docs branches and “docs: dependency audit notes” pull requests, and rotate all exposed secrets if found.