# GhostAction returns: fake security workflows pushed to 30,000+ repos to steal Actions secrets

Source: https://botpassword.com/incidents/2026-10-ghostaction-github-actions-wave
Disclosed: 2026-10-07 · Type: Token theft · Status: Contained · Updated: 2026-10-25

GitGuardian reported on 7 October 2026 that the GhostAction campaign, first seen in 2025, was back: from 31 August 2026 attackers used compromised GitHub accounts to push workflows named like `github_actions_security.yml` or `security-audit.yml` that sent repository secrets to an attacker server. An 8 to 9 October burst hit about 28,000 more repositories from about 1,900 accounts, and a new payload also searched git history for cloud and AI keys. GitHub began blocking the workflow on 9 October; repository owners should remove it and rotate every secret it could read.

## What was exposed

GitHub Actions secrets of each repository where the workflow ran, sent over plain HTTP to attacker endpoints. In the September wave GitGuardian counted 2,577 targeted secret names, led by SSH and deployment server credentials, Azure credentials, container registry logins, database credentials and AWS access keys, along with Google Cloud and Firebase, GitHub, Telegram, Slack, Discord, Cloudflare, npm, PyPI and AI provider keys. The October payload also scanned the working tree and complete git history for committed cloud and AI credentials, targeting 3,174 secrets, so keys deleted from the current code but never rotated were also at risk. GitGuardian observed that of the runs it could see, 336 succeeded and exfiltrated 26 secrets from 13 repositories, and that only 16% of hit repositories had been cleaned by 5 October.

## Who is affected

You are affected if a commit you did not make added or changed a workflow in one of your repositories, especially `github_actions_security.yml`, `security-check.yml` or `security-audit.yml`, or carried a commit message such as `Add Github Actions Security workflow` or `Update Github Actions Security workflow`. Check workflow run history from 31 August 2026 onward for those files. If a token or account of yours pushed the commit, that credential is compromised as well.

## What to do

1. Delete the malicious or modified workflows from every affected repository and confirm the removal in history.
2. Rotate every secret the workflow could read, and every credential ever committed to the repository's git history.
3. Find and revoke the GitHub token or session used to push the commit, and enable phishing-resistant 2FA on the account.
4. Block 193.32.204.199 and 170.39.218.2 from runners, and check for unexpected Docker images or mining workflows pushed by the same accounts.

## Keys to rotate

- [GitHub](https://botpassword.com/keys/github)
- [AWS (IAM access keys)](https://botpassword.com/keys/aws)
- [Azure (Microsoft Entra app client secrets)](https://botpassword.com/keys/azure)
- [Google Cloud (service account keys and API keys)](https://botpassword.com/keys/google-cloud)
- [Firebase](https://botpassword.com/keys/firebase)
- [Docker Hub](https://botpassword.com/keys/docker-hub)
- [Cloudflare (API tokens and Global API Key)](https://botpassword.com/keys/cloudflare)
- [Slack](https://botpassword.com/keys/slack)
- [Discord](https://botpassword.com/keys/discord)
- [Telegram](https://botpassword.com/keys/telegram)
- [npm](https://botpassword.com/keys/npm)
- [PyPI](https://botpassword.com/keys/pypi)

## Timeline

- 2026-08-31: A new wave begins with the malicious workflow pushed to 143 repositories, followed by about 400 more from 2 to 5 September and 103 on 15 September. ([source](https://blog.gitguardian.com/ghostaction-github-actions-supply-chain-attack-returns/))
- 2026-10-07: GitGuardian publishes its analysis of the 2026 waves. ([source](https://blog.gitguardian.com/ghostaction-github-actions-supply-chain-attack-returns/))
- 2026-10-08: Compromised maintainer accounts push `security-audit.yml` to every repository they can write to; GitGuardian counts about 28,000 new repositories across the 8 to 9 October spike. ([source](https://blog.gitguardian.com/ghostaction-github-actions-supply-chain-attack-returns/))
- 2026-10-09: GitHub begins preventing the malicious workflow from running; later waves on 10 and 12 October extract no secrets, per GitGuardian. ([source](https://blog.gitguardian.com/ghostaction-github-actions-supply-chain-attack-returns/))

## Indicators

- Workflow files `github_actions_security.yml`, `security-check.yml`, `security-audit.yml`.
- Exfiltration to 193.32.204.199 (including `:3000/api/workflow/receive`) and earlier 170.39.218.2.
- Commit messages `Add Github Actions Security workflow`, `Add security check workflow`, `Update Github Actions Security workflow`.

## Sources

- https://blog.gitguardian.com/ghostaction-github-actions-supply-chain-attack-returns/
