Dark ReadingElizabeth Montalbano
Stolen GitHub Tokens Expose Cloud Secrets in Gheist Attack
Gheist is a supply-chain style attack that weaponises stolen GitHub tokens to exfiltrate cloud secrets from thousands of developer repositories. Wiz Research says the operation began tracking activity on 15 September and remained active as of 24 October, with more than 13,500 malicious branches across over 850 compromised GitHub accounts.
While public repositories were largely safeguarded by safeguards GitHub introduced in July, Wiz notes the attack also hit private enterprise repositories where those protections do not apply. The campaign relies on a workflow named "sync-check" committed to each repository accessible by a stolen token; the workflow prints environment variables and repository secrets into its log, then the attacker retrieves the log via the GitHub API and deletes the run seconds later. The run’s user agent is reported as "gheist", which lends the campaign its name.
Tokens appear to originate mainly from infostealer malware and earlier supply-chain compromises, enabling attackers to create branches named "ci-sync-" plus six characters and deploy a .github/workflows/sync-check.yml with the commit message "ci: sync config". The process results in a pushed event that exposes secrets through GitHub’s API rather than any attacker domain.
Wiz estimates the impact across private and enterprise environments—where public safeguards do not apply—and notes rapid credential reuse across multiple user and automation tokens, enabling subsequent enumeration of AWS Secrets Manager data.
In response, Wiz recommends hunting for malicious workflows, rotating exposed secrets, and treating compromised self-hosted runners as potential infrastructure breaches; security experts emphasise moving to short-lived or fine-grained tokens and enforcing strict environment access controls.
How the story developed
All 4 articles4 articles from 4 outlets over 1 day. This was the 4th report, 9 hours after the first.
4 articles from 4 outlets since 26 Oct; 4 in the last 7 days.
- Article
- First report
Show as table
| Published (UTC) | Outlet | Headline |
|---|---|---|
| Mon 26 Oct · 19:00 UTC | Dark Reading | Stolen GitHub Tokens Expose Cloud Secrets in Gheist Attack |
| Mon 26 Oct · 15:30 UTC | Infosecurity | Gheist attackers abuse stolen GitHub tokens to steal secrets |
| Mon 26 Oct · 11:30 UTC | SecurityOnline | Gheist campaign steals secrets from hundreds of GitHub accounts |
| Mon 26 Oct · 10:01 UTC | The Hacker News | Gheist steals private GitHub secrets through workflow logs |
Who reported 4 outlets
- The Hacker News1
- SecurityOnline1
- Infosecurity1
- Dark Reading1
- Gheist steals private GitHub secrets through workflow logsThe Hacker News · first report
- Stolen GitHub Tokens Expose Cloud Secrets in Gheist AttackDark Reading · this article · 4 of 4