Gheist campaign abuses stolen GitHub tokens to plant secret-dumping workflows
Wiz Research tracks a campaign that commits a workflow to repositories to print secrets into logs, with public runs blocked but private repositories affected.
Reported by Wiz
First reported Summary updated
- Public PoC
- Not known
- Exploited
- Yes
- Severity
- Not rated
What happened
Since 15 September 2026, Wiz Research has tracked Gheist, a campaign that mass-abuses compromised GitHub tokens to commit a workflow named sync-check to every repository the token can access.1
The workflow prints repository secrets into its own log, which the tool then downloads through the GitHub API before deleting the run seconds later.1
Wiz recovered more than 13,500 planted branches from over 850 compromised accounts, spanning personal projects to enterprise private repositories.1
A GitHub control has blocked exploitation in public repositories, but successful exploitation and follow-on activity were observed in private repositories and GitHub enterprise environments.1
Who is affected
- GitHub repositories accessible with compromised tokens1
Is there a public exploit?
Not known None of the sources mentions public exploit code yet.
Exploited in the wild?
Yes Successful exploitation and follow-on activity were observed in private repositories and GitHub enterprise environments.1
For bug hunters
This event involves abuse of stolen credentials to plant CI workflows that exfiltrate secrets, a class of access-control and secrets-exposure issue. In bug bounty programmes, look at CI/CD integrations, repository automation and token scopes where a low-privileged token can create branches or workflows. Test whether workflow runs in private repositories require approval and whether secrets are masked when transformed. Check for unexpected branches or workflow files and review audit logs for workflow runs that are created and deleted quickly.
What to test
- Create a branch and commit a workflow that prints secrets, then check if it runs without approval.
- Verify whether encoded or transformed secret values are masked in workflow logs.
- Review token permissions for repository workflow creation and branch push.
- Check audit logs for workflow runs that are created and deleted within seconds.
Written by bugbounty.wiki with AI from its source. Every statement above comes with a quote we checked against the source it cites (the numbers link to it); anything we could not check was left out. It can still be wrong, so read the coverage before relying on a detail.
Coverage
The article this story is based on. Each headline opens the outlet's own article.
-
1
Wiz
Gheist: Attempted Scaled Abuse of Stolen GitHub Tokens Stumbles“Since September 15, 2026, Wiz Research has been tracking Gheist: a new campaign performing mass abuse of compromised GitHub tokens.”