Gheist abuses stolen GitHub tokens to implant workflows and steal secrets
Start here
Wiz Research has tracked an attack campaign codenamed Gheist since September 15, 2026: attackers use stolen GitHub tokens to implant a sync-check workflow into repositories the tokens can access, print repository secrets base32-encoded into Actions logs, then retrieve them via the GitHub API and delete the run records within seconds. Wiz said it has recovered more than 13,500 implanted ci-sync- branches from more than 850 compromised accounts, involving personal projects, corporate private repositories and GitHub Enterprise environments, and estimates about a dozen companies are affected; the campaign was still active as of October 24. GitHub's protections added since July 28 cover only public repositories; private enterprise repositories remain affected.
Generated by AI from reports · Updated 2026-10-29
Progress timeline
- CSA Labs ResearchGheist campaign: stolen GitHub Tokens turn Actions logs into a channel for exfiltrating secrets
The Gheist campaign tracked by Wiz Research is still ongoing; attackers use stolen GitHub Tokens to turn Actions logs into a channel for exfiltrating secrets. Attackers plant a sync-check workflow in newly created ci-sync- branches, print the job environment and the full secrets context into the logs in base32 encoding, then retrieve them via the GitHub API and delete the run within seconds. Wiz reports more than 850 accounts compromised and more than 13,500 branches implanted; base32 encoding defeats GitHub's log masking, which only matches verbatim values, and the exfiltration goes through GitHub's own API, with no outbound connection available to intercept. GitHub's approval gate launched on July 28, 2026 blocked all public repository runs checked by Wiz, but does not yet cover private repositories and GitHub Enterprise Server; confirmed impact is concentrated in private repositories.
- Dark Reading"Gheist" weaponizes GitHub tokens to steal cloud keys
The "Gheist" attack disclosed by Wiz used stolen GitHub tokens to plant more than 13,500 malicious branches across more than 850 compromised accounts, stealing repository secrets and cloud credentials. The attackers committed a workflow named sync-check to repositories, printing secrets into logs, Base32-encoding them, retrieving them via the GitHub API, and deleting the run records. The campaign was still active as of October 24; Wiz estimates it affected about a dozen companies. GitHub's protections added in July cover only public repositories, and the attacks in private enterprise repositories succeeded.
- The Hacker NewsSelectedThe Gheist attack campaign uses stolen GitHub tokens to steal private repository secrets via Actions logs
According to analysis by cloud security company Wiz, an automated attack campaign named Gheist uses stolen GitHub tokens to plant workflows into repositories, printing repository secrets in base32 encoding into GitHub Actions logs, deleting the run records within seconds after download; the attack has succeeded in private repositories and GitHub Enterprise environments. Wiz has tracked the campaign since September 15 and has recovered more than 13,500 planted ci-sync- branches from more than 850 compromised accounts; since July 28, GitHub has suspended suspicious workflow runs pending approval as a protection, which blocked all public repository runs Wiz examined, but it does not cover private repositories and GitHub Enterprise Server. Sources of the stolen tokens include infostealer logs and tokens exposed by supply chain attacks such as the March compromise of the Trivy vulnerability scanner.
- Hacker NewsHacker News· DiscussionGheist campaign plants secret-dumping workflows using stolen GitHub tokens(opens the original post in a new tab)
- Wiz ResearchGheist: Large-scale attempt to abuse stolen GitHub tokens meets resistance
Wiz Research has tracked an activity codenamed Gheist since September 15, 2026; the activity uses stolen GitHub tokens to implant a sync-check workflow into every repository the token can access, prints repository secrets into the workflow logs, then downloads the logs via the GitHub API and deletes the run records seconds later. Wiz says it has recovered more than 13,500 implanted branches from more than 850 affected accounts, involving personal projects and enterprise private repositories; since July 28, 2026, GitHub has suspended suspicious workflow runs in public repositories pending collaborator approval, and the public repository runs Wiz checked all remained at action_required, but this restriction does not apply to private repositories and GitHub Enterprise Server, and CloudTrail shows that workflows on these branches had assumed AWS roles.
Related discussion
- Older than 72 hours · Not included in the 72-hour figures
- XX @AikidoSecurity🚨 Massive GitHub Actions CI Secret Stealer 4,800+ compromised accounts attempted to push malicious workflows to 61k+ r…(opens the original post in a new tab)
201 likes·Nov 12 17:42Collect
- X@lnxsec · LinuxSecurityThe dangerous part of CI/CD secret theft is that the exfiltration path may look like normal platform activity. GHEIST…(opens the original post in a new tab)
2 likes · 2 comments·Oct 30 17:41Collect
- X@ernesttheaiguy · Ernest ProvoThe Gheist campaign is a reminder that a leaked GitHub token isn't just a repo problem. It's a credential that can reac…(opens the original post in a new tab)
- X@pwnsydotcom · pwnsy.comPSA: check your github repos for branches named ci-sync-xxxxxx and commits titled "ci: sync config" that's gheist: 13,…(opens the original post in a new tab)
- X@endurasecurity · Endura SecurityGheist planted 13,500+ malicious branches across 850+ compromised GitHub accounts. It used GitHub Actions logs to extra…(opens the original post in a new tab)
- X@SandeepPadam1 · Sandeep Padam6/6 A token is an identity. If nobody owns it and nothing expires it, it's a standing invitation. Sources: Wiz: https:…(opens the original post in a new tab)
- X@SandeepPadam1 · Sandeep Padam3/6 Gheist (per Wiz): plants a "sync-check" workflow in every repo a stolen token can reach. 13,500+ branches from 850+…(opens the original post in a new tab)
1 comments·Oct 31 05:41Collect
- X@modularciso · modularcisoGheist GitHub token campaign A stolen GitHub token can make your CI print its own secrets in base32, then delete the r…(opens the original post in a new tab)
2 likes·Oct 30 22:41Collect
- X@dan_0xff · Dan TechCheck your private repos for branches named ci-sync- plus six characters. Per Wiz, the Gheist campaign uses stolen GitH…(opens the original post in a new tab)
- X@MoBuiltIt · MoSources: Wiz's research (Oct 25): https://www.wiz.io/blog/gheist-attempted-scaled-abuse-of-stolen-github-tokens-stumbl…(opens the original post in a new tab)
- X@MoBuiltIt · MoGitHub tries to hide your secrets in Actions logs by spotting their exact text and masking it. An attack campaign Wiz i…(opens the original post in a new tab)
1 likes · 1 comments·Oct 31 16:41Collect
- X@__swarmagent · SwarmStolen GitHub tokens planted a workflow called sync-check in 13,500+ branches. Its one job: print the repo's secrets.…(opens the original post in a new tab)