A reported campaign built around GitHub stolen tokens and the WFX stealer is putting roughly 66,000 repositories at risk, according to coverage from Cybernews. The attackers allegedly used stolen access tokens to plant malicious workflow files, turning a development pipeline into a way to collect secrets. The available reporting is brief, so this post sticks to what has been stated and focuses on practical steps developers can take now.

How stolen tokens enabled the GitHub workflow attack

According to the report, the campaign used stolen tokens to add "WFX stealer" workflows to about 66,000 GitHub repositories. A token is a credential that lets a person or an application act on an account without typing a password. If an attacker holds a valid token with enough permissions, GitHub treats their actions as legitimate.

That is what makes workflows an attractive target. GitHub Actions workflows are files stored in a repository that run automatically, often with access to the secrets a project uses for building, testing and deploying code. A malicious workflow does not need to exploit a software bug. It only needs to be committed by someone GitHub believes is authorized, and then it runs inside the pipeline.

The source summary does not detail how the tokens were originally stolen, and we are not going to guess. What matters for readers is the pattern: the pipeline itself becomes the delivery mechanism, and the credentials that unlock it are the real prize.

What the WFX stealer can expose from developer accounts

The reporting describes the workflows as secret-stealing, and the suggested angle notes that CI/CD pipelines can become a path to developers' secrets and personal accounts. In practical terms, a stealer running in a pipeline may be positioned to reach whatever that pipeline can reach. Typical examples of such material include:

  • API keys and cloud credentials stored as repository secrets
  • Deployment tokens and package registry credentials
  • Other GitHub tokens available to the workflow

The exact data the WFX stealer collects has not been confirmed in the information we have, so treat the list above as categories of risk common to pipeline secrets, not as verified findings about this campaign. The wider concern is that one stolen token can lead to more stolen tokens. Secrets harvested from one repository may unlock other services, which is how a repository compromise can spread into personal and organizational accounts.

This fits a broader theme we have covered before: systems people are supposed to trust being turned against them. Our look at how a Pixel zero-click flaw and ScreenConnect attacks on MSPs shared that same uncomfortable thread shows how often the trusted tool is the weak point.

How to check whether your repositories were affected

We cannot tell you whether a specific repository is on the affected list, and the reporting available does not publish one. You can still look for signs of tampering yourself:

  1. Review workflow files. Open the .github/workflows folder in each repository and look for files you do not recognize, or edits you did not make.
  2. Check commit and pull request history. Look for recent commits or branches touching workflows, especially from unfamiliar accounts or at odd times.
  3. Inspect Actions run logs. Unexpected runs, new triggers, or steps that make outbound network requests deserve a closer look.
  4. Review your security log and authorized apps. In GitHub settings, check which personal access tokens, OAuth apps and GitHub Apps have access, and remove anything you do not use.
  5. Assume exposure if you find anything. Treat every secret that workflow could read as compromised and replace it.

Hardening GitHub: tokens, MFA and third-party Actions

None of these steps is exotic, but together they reduce what a stolen token can do.

Rotate and shrink tokens. Revoke old personal access tokens and issue new ones with the narrowest scope and shortest expiry that works. Fine-grained tokens limited to specific repositories are safer than broad ones.

Turn on multi-factor authentication. MFA protects your account login, though it is worth remembering that a stolen token may bypass the login step entirely. That is why token hygiene matters just as much.

Limit workflow permissions. Set the default workflow token to read-only and grant write access only where a job truly needs it. Require review before changes to workflow files are merged, for example through branch protection and code owners.

Vet third-party Actions. Pin Actions to a specific commit instead of a movable tag, and prefer ones from maintainers you trust. Keep secrets out of jobs that do not need them.

What This Means For You

If you maintain even a small project on GitHub, your workflow files are part of your attack surface. A stolen token can let someone add a workflow that quietly reads your secrets, and you may never see an alert. Individual developers, open source maintainers and companies with automated deployments are all in scope.

The good news is that the defenses are within your control and cost little time. This is also part of a recurring pattern in which attackers go after the accounts and tools people already trust. Our coverage of Incransom claiming an attack on TrRAC Inc. is a different type of incident, but it underlines how quickly stolen access can turn into real damage.

Actionable takeaways

  • Rotate your GitHub tokens today and delete any you no longer use.
  • Enable MFA on every account with repository access.
  • Audit your .github/workflows files for changes you did not make.
  • Set workflow permissions to read-only by default and pin third-party Actions.
  • If you find anything suspicious, replace every secret that workflow could access.

The GitHub stolen tokens WFX stealer reports are still developing, and details may change. Do not wait for confirmation to tidy your own setup: rotate tokens, enable MFA and audit your workflows today.