rotateit

All incidents

GhostAction returns, stolen GitHub accounts pushing secret-stealing workflows to tens of thousands of repositories

Disclosed Oct 7, 2026 · updated Oct 30, 2026 · high · Active

Hijacked GitHub accounts pushed workflows that steal CI secrets again.

Are you affected?

The free scanner that answers this opens soon. Until then, the steps below work by hand.

What happened

GhostAction is back, pushing secret-stealing workflows. GitGuardian says the campaign returned on 2026-08-31: by 2026-09-30 a malicious workflow had reached 772 public repositories of 373 users and organizations, targeting 2,577 secrets. On 2026-10-08 StepSecurity saw the accounts kitao and henrywoo push a "Security Audit" workflow to 345 repositories; it sends named Actions secrets and credentials found anywhere in the git history to an attacker server over plain HTTP. GitGuardian counts more than 30,000 repositories of about 3,000 owners, pushed from about 1,900 compromised accounts, in the 2026-10-08 to 2026-10-12 wave, and 72,026 more commits to 22,964 repositories between 2026-10-13 and 2026-10-21. The later payloads also target developer machines (a .vscode task that runs when a folder is opened), self-hosted runners and AWS roles reachable through GitHub OIDC, and three of them install a cron job that fetches a script from the attacker every five minutes. GitHub began blocking the workflow from running on 2026-10-09. Commits were made under the victims' own identities with what GitGuardian calls apparently stolen credentials.

Exposure starts
2026-08-31
Exposure ends
Not known yet (GitGuardian's last observed commit was 2026-10-21 04:37 UTC; the cron persistence keeps running until removed)
Confidence
medium
Scope
every GitHub Actions secret, wiki credential and credential committed to any branch of a repository that received a GhostAction workflow, plus local credentials on machines and self-hosted runners that ran the later payloads

What to do, in this order

  1. On machines that opened an affected repository and on self-hosted runners, remove any crontab entry tagged ghc2 before rotating anything

    GitGuardian says three payload families install it and it fetches and runs an attacker script every five minutes, so it would see credentials created afterwards.

  2. Revoke the GitHub token, SSH key or OAuth app that pushed the malicious commit

    GitGuardian and StepSecurity say this is the access the attacker reuses; rotating repository secrets alone leaves it open.

  3. Delete security-audit.yml, github_actions_security.yml, security-check.yml and injected .vscode/tasks.json files on every branch, and look for "build cache" gists

    GitGuardian says to delete the files on every branch and not to revert "Update" commits; a failed upload falls back to a private gist named "build cache".

  4. Every Actions secret, wiki credential and credential ever committed to the repository

    StepSecurity says the workflow sweeps the whole git history, so secrets deleted in old commits are reached too.

    anything else stored there

  5. Review CloudTrail for unexpected AssumeRoleWithWebIdentity calls and restrict OIDC trust policies; require approval for workflow runs and protect .github/workflows

    GitGuardian says one payload tries to assume every AWS role ARN found in the environment through GitHub OIDC; StepSecurity's hardening steps.

Notes

  • Run counts differ by wave. GitGuardian says that of 3,669 runs it collected for the September wave only 499 executed, in 32 repositories, exfiltrating 26 secrets from 13; StepSecurity saw exfiltration succeed in the 2026-10-08 sweep. GitGuardian found no successful run of the 2026-10-13 to 2026-10-21 payloads in CI and no confirmed run of the developer-machine stealer.
  • Rotating secrets alone is not enough: GitGuardian and StepSecurity both say to revoke the GitHub credential that pushed the workflow. StepSecurity says to audit workflow runs since 2026-08-31 and treat publishing credentials as exposed.
  • Some October victims were also hit in the 2025 and 2026 September waves, which GitGuardian reads as reuse of tokens that were never rotated.
  • The window ends TODO. GitGuardian's last observed commit was 2026-10-21; the cron job planted by three payload families survives repository cleanup.

How to tell if you’re affected

  • A workflow security-audit.yml ("Security Audit", job audit), github_actions_security.yml or security-check.yml
  • Commits titled "Add security audit workflow", "Trigger security scan" or "Add Github Actions Security workflow"
  • Outbound HTTP from a runner to 193.32.204.199 (ports 80, 3000 or 8080)
  • A crontab line tagged ghc2
  • A .vscode/tasks.json that runs on folder open, or public/fonts/fa-solid-400.woff2 added to a repository
  • A private gist named "build cache" holding c.dat

Sources

Rotating the keys

Pro, $49 a year when it opens, plans the rotation of each affected key for this incident, in this order. Automatic rotation is in testing and included.

One email when it opens. Stored: your email, whether you confirmed, and when you signed up. We send a confirmation link first.

By hand, free: the steps above.