An attacker spent this week running stolen GitHub credentials for 4,837 accounts through a campaign that planted a secret-stealing script in CI workflows across more than 1,800 repositories, according to security software company Aikido Security. A second firm, SafeDep, found an even wider blast radius when it broadened the search: more than 8,000 repositories received malicious commits in less than 16 hours.
How the campaign worked
Aikido says the attacker began testing stolen accounts starting Tuesday by opening a pull request titled “docs: dependency audit notes” from a branch named wfx-docs, a low-risk way to check whether a hijacked account could write to a given repository. These test pull requests appeared in 61,764 repositories in total, though the actual secret-stealing script only followed in some of them.
SafeDep’s own analysis, which covered only the default branches of public repositories, counted 8,093 repositories that received malicious commits between 12:46 UTC on Tuesday and 04:36 UTC two days later, a figure the researchers say almost certainly understates the true scope since it excludes non-default branches and private repositories. In 7,309 of those cases, the malicious code was added to an existing GitHub Actions workflow file. In 771 more, it arrived disguised as an npm postinstall hook, meaning the script could also run on a developer’s own machine the moment they typed npm install, not just inside GitHub’s servers.
After pushing the payload, the attacker typically reverted the change within minutes and deleted the workflow run’s logs, making the intrusion harder to spot after the fact. Aikido and SafeDep both say that any account that merely opened one of the attacker’s test pull requests should be considered compromised, even if the stealer itself never ran in that repository.
What the stealer actually takes
According to SafeDep, the malicious script is built to vacuum up essentially every credential available to a GitHub Actions runner: the workflow’s own GITHUB_TOKEN, OIDC and Actions runtime tokens, stored secrets and variables, and saved credentials for AWS, Azure, Google Cloud, Kubernetes, npm, PyPI and SSH pulled straight from their usual file locations on disk. On self-hosted runners, it goes further, also grabbing cloud credentials from instance metadata along with Docker and systemd state.
The stealer doesn’t stop at simply exfiltrating what it finds. SafeDep says it is designed to exchange stolen GitHub OIDC tokens for live AWS, Google Cloud and Azure sessions, and on AWS it can mint new, long-lived IAM access keys. Some of its moves are built to survive a cleanup: it can rewrite the trust policy on an AWS role so that any AWS account can assume it, and it can plant new federated-identity credentials on Azure AD applications under names prefixed wfx-ci-, letting workflows sign in to Azure without any stored secret even after every other token has been rotated. Stolen data is sent out over HTTP to a small number of attacker-controlled servers or, in roughly a fifth of sampled cases, to a Telegram channel instead.
SafeDep traced at least one tainted release each to a Packagist PHP package and a Go module, and found the stealer embedded in a third open-source Go module as well, though in that case inside a workflow file that had apparently never actually run. The researchers also found malicious commits authored under the identity of a legitimate WebdriverIO bot account, meaning that account’s token should be treated as stolen even though no package release from the project itself was affected.
A possible connection to October’s GhostAction campaign
Aikido found that the accounts hijacked this week overlapped heavily with those compromised in a separate campaign called GhostAction last month, which also used stolen GitHub accounts to push secret-stealing workflows; accounts hit in October turned out to be roughly 1,000 times more likely than other active accounts to be hit again this week. In more than 100 repositories, the new stealer was simply layered on top of October’s leftover malicious workflow files rather than replacing them. Even so, Aikido stopped short of blaming the same group for both waves, noting that the infrastructure, tooling and methods differ enough that stolen credentials have likely ended up in more than one attacker’s hands.
What repository owners should do
SafeDep is urging owners of any affected repository to revoke the compromised account’s tokens, OAuth app grants, SSH keys and active sessions, turn on two-factor authentication, and rotate every secret and variable the repository’s workflows could read. Anyone who ran npm install against one of the affected commits should treat that machine as compromised as well and rotate its keys. To check for less obvious backdoors left behind, the researchers recommend searching AWS CloudTrail for AssumeRoleWithWebIdentity or AssumeRole sessions named wfx-*, especially any followed by a CreateAccessKey or UpdateAssumeRolePolicy call, and checking Entra ID for any federated credential named wfx-ci-* that an organization didn’t create itself.
Sources: The Hacker News, citing research from Aikido Security and SafeDep.

