- Last verified
- 4 Nov 2026
- Status
- Last operator commit seen on 21 Oct 2026. Stolen tokens keep working until they are revoked. Counts are lower bounds.
What happened
GhostAction is a credential theft campaign first reported in September 2025. It came back in October 2026. The pattern is the same each time. The operator takes over a developer’s GitHub access with a token that was stolen earlier, then commits a workflow file under the victim’s own name. The workflow reads the repository’s secrets, searches the working tree and the full git history for keys, and sends them to a server the attacker controls.
These are the numbers from GitGuardian, who counted what its own feed saw, so treat them as lower bounds:
- 8 to 12 October: about 30,000 repositories received a workflow named
security-audit.yml. GitHub began blocking runs of the malicious workflows around 9 October. - 13 to 21 October: the operator pushed 72,026 commits to 22,964 public repositories, from 1,792 accounts. 7,989 of the repositories were new victims. 1,382 of the 1,792 accounts had already been used on 8 October, which shows that the stolen tokens were never revoked.
The campaign then changed to avoid GitHub’s block. The new payloads include:
- Seven look-alike workflows named
audit.yml,build-check.yml,repo-health.yml,lint.yml,ci-check.yml,test-suite.ymlandcode-review.yml. - Self-hosted runner workflows that ask the cloud metadata service for role credentials and read credential files, which can be a way into the network of the victim.
- An OIDC variant that asks GitHub for an OIDC token and tries to assume every AWS IAM role it finds in the environment.
- A fake font file with a hidden VS Code task.
public/fonts/fa-solid-400.woff2is a Node.js script, and.vscode/tasks.jsonruns it when a developer opens the folder in VS Code and trusts the workspace. It reads files such as~/.aws/credentials,.npmrc,.pypirc,.git-credentials,.kube/configand SSH keys. No CI run is involved, so GitHub’s block does not stop it. GitGuardian found it in 17,667 repositories.
Three of the payload families install a cron job that fetches and runs a script from the attacker’s server every five minutes. Cleaning the repository does not remove it.
GitGuardian found no successful run of the malicious workflows in GitHub Actions. The risk that remains is on developer machines that opened an infected repository, on self-hosted runners, and in the tokens that were already stolen.
OpenSourceMalware, quoted by The Hacker News, also describes a phishing page that imitates a GitHub security alert, proxies the real login, collects the password and the 2FA code, and authorizes an OAuth device flow with repo, workflow and read:org scopes.
Who is affected
- Anyone whose GitHub account, personal access token or OAuth grant was exposed, even months ago.
- Any repository that got an unexpected workflow,
.vscode/tasks.jsonorpublic/fonts/*.woff2commit. - Any laptop that opened such a repository in VS Code, and any self-hosted runner that ran one of these workflows.
- Any AWS role that trusts GitHub’s OIDC provider with a broad condition.
What to do now
1. Look for the files and commits. In each important repository, on all branches:
git log --all --oneline -- .github/workflows .vscode/tasks.json
git log --all --oneline -- 'public/fonts/*.woff2'
git log --all --oneline -S"193.32.204"
grep -rn "folderOpen" .vscode/tasks.json
The first two commands list every change to workflow files, the VS Code task and font files. Look for names you do not know, especially the ones above and commit messages like “Add build check workflow”, “Add font assets” and “Add editor task”. The IP address 193.32.204[.]199 is the one constant indicator in the reports.
2. Check machines. On laptops that opened a repository with that task and on self-hosted runners:
crontab -l | grep ghc2
Any line with #ghc2 means the machine was taken over. Remove it and rotate all local credentials: cloud, registries, AI tools, SSH and Kubernetes.
3. Revoke before you clean. From a clean device, revoke the account’s personal access tokens, OAuth apps and SSH keys, and change the password. GitGuardian saw re-infection after clean-up when tokens were kept. Delete the malicious files on every branch. Do not revert “Update” commits, because a revert restores the previous malicious version.
4. Rotate secrets. Every Actions secret, every credential committed in the repository or its history, and every credential in the wiki. Also look for private gists called “build cache” with a c.dat file on the account, because the payload uses them as a fallback.
5. Check AWS. Search CloudTrail for calls from GitHub’s OIDC provider that you do not expect:
aws cloudtrail lookup-events \
--lookup-attributes AttributeKey=EventName,AttributeValue=AssumeRoleWithWebIdentity
Look for repositories and branches you do not recognise.
6. Close the door for next time.
- Restrict the trust policy of every IAM role that GitHub can assume to specific repositories and branches.
- Require review for changes under
.github/workflowswith a CODEOWNERS rule and branch protection. - Use short lived, fine grained tokens and remove the old classic ones.
- Use passkeys or security keys on GitHub accounts. The phishing page collected 2FA codes, and codes can be relayed.
- Run self-hosted runners as short lived machines with no standing cloud credentials.
- Treat
.vscode/tasks.jsonwithrunOn: folderOpenas a code review item, and open unknown repositories in a sandbox.
How we can help
We audit your repositories, runners and cloud trust policies for exactly these gaps, rotate what was exposed and move your pipelines to short lived credentials. Book a call from the button below.
Sources
- GitGuardian: GhostAction crosses paths with PolinRider, inside the October escalation
- GitGuardian: GhostAction GitHub Actions supply chain attack returns
- OpenSourceMalware: GhostAction attack escalates
- StepSecurity: GhostAction returns
- The Hacker News: GhostAction attackers target nearly 23,000 GitHub repos with credential-stealing malware
- GitHub Docs: Security hardening for GitHub Actions