No. 08 · Oct 28, 2026 · Security & Privacy Watch
Gheist campaign uses stolen GitHub tokens to print repository secrets
Wiz found more than 13,500 planted branches across 850 accounts. A variant added Oct 19 searches self-hosted runners for keys and uses Docker to reach host files.
By the Local Intelligence Wire desk · Wimberley, Texas ·
Wiz Research described a campaign it calls Gheist that takes stolen GitHub tokens, finds every repository a token can reach, and pushes a branch named ci-sync- plus six random characters with a workflow that prints the repository's secrets into the run log. The secrets are encoded in base32, which slips past GitHub's log masking, and the attacker downloads the log through GitHub's own API and deletes the run seconds later, so there is no outside server to block. Wiz recovered more than 13,500 planted branches from over 850 compromised accounts.
A variant added on Oct 19 targets self-hosted runners: it searches the host for tokens and keys and uses Docker to reach host files. GitHub's July safeguard that holds suspicious workflow runs for approval applies only to public repositories, not to private ones or GitHub Enterprise Server, where the attack was seen. In one organization, cloud credentials from the same company were later used to list AWS Secrets Manager; how they were obtained is unknown. GitHub's response was not included in the coverage reviewed.
Why it mattersInstallers who keep client configuration, deployment scripts or model-serving code in GitHub, or who run build jobs on a client's own machine, are exposed to exactly this path.
For consultantsSearch GitHub logs for the gheist user agent and ci-sync- branches, rotate every secret a touched repository could see, and keep self-hosted runners off machines that also run client AI workloads.