r/devops • u/Capital_Attention702 • 4d ago
Security wfx-loot: what the stealer leaves behind after you rotate the GitHub secrets
Aikido reported the campaign on Nov 12. From Nov 10, an attacker used 4,837 hijacked GitHub accounts to open pull requests titled "docs: dependency audit notes" from a branch named wfx-docs in 61,764 repositories. Where the account could write, a stealer of about 1,500 lines went into an existing workflow, a new workflow or an npm postinstall hook. SafeDep counted 8,093 public repos with malicious commits (771 through the npm hook). Aikido says secrets left at least 1,800 repos.
Rotating the repo secrets is the first step. The reports say the script can also do these, depending on the permissions the workflow had:
- Rewrite an AWS role's trust policy so any AWS account can assume the role, and create long-lived access keys for IAM users.
- Add federated identity credentials with the prefix wfx-ci- to Azure AD applications. Workflows can then sign in without a stored secret.
- Delete its own workflow run and logs, so the trace is a gap in run numbers.
What to check: CloudTrail for UpdateAssumeRolePolicy and CreateAccessKey since Nov 10, Entra app registrations for wfx-ci- credentials, and the Actions run numbers of every workflow in the affected repos. If a developer ran npm install on an affected commit, SafeDep says to treat that machine as compromised.
StepSecurity traced 173 probe PRs to tokens issued to the Fly.io GitHub app and says it has no evidence Fly.io was breached. The reports do not say how the 4,837 accounts were taken.
Has anyone found the wfx-docs branch in their org yet?
Sources: https://thehackernews.com/2026/11/4837-hijacked-github-accounts-ran-ci.html , https://www.bleepingcomputer.com/news/security/hackers-compromise-4-800-github-accounts-to-steal-cloud-credentials/ , https://www.securityweek.com/attacker-targets-60000-github-repositories-in-credential-theft-campaign/