These write-ups are not threat intelligence and are not kept up to date as an incident develops. They are here to show how each attack worked, so you can find and fix the same techniques in your own setup. For the latest on an incident, read its sources.
GhostAction
September 2025, returned 2026 · Ongoing
With maintainers' stolen credentials, the attacker committed a workflow that posted each repository's secrets to their own server: 817 repositories in 2025, and hundreds more when it came back in 2026.
- Way in
- Leaked token
- Access held
- Scale
- 772 repositories of 373 users and organizations in September 2026, then more than 500 accounts committing it from 7 October (Socket)
- Read the rest
- The GhostAction campaign: 3,325 secrets stolen ↗
Full summary
Nothing in the targeted repositories was exploited. The attacker logged in as maintainers whose GitHub credentials they already had, read each repository's own workflow files to learn the names of its secrets, and committed a workflow called "Github Actions Security" that ran on every push and posted those secrets to a server of theirs with curl. In September 2025 GitGuardian found it in 817 repositories of 327 users, with 3,325 secrets sent out, mostly DockerHub, GitHub and npm tokens. How the accounts were taken has never been established. The same workflow came back from 31 August 2026 in 772 public repositories of 373 users and organizations, but most of its runs waited for approval and never ran. In October 2026 a new version also searched the full git history for cloud, AI and GitHub keys, and was pushed from hundreds of further accounts until GitHub started blocking it on 9 October.
How it unfolded
Pick a step to zoom into it. A dashed line is a step the sources do not state. Blue dots are the checklist items that break the step.
Whole path
The whole attack, one row per step. Pick a step on the left, or click a box in its row.
On 2 September 2025 the account of Grommash9, maintainer of the FastUUID PyPI package, pushed a commit titled "Add Github Actions Security workflow". GitGuardian traced the same commit to 327 users. How their credentials were obtained is unknown: GitGuardian and Wiz both say so, and StepSecurity later called a personal access token from infostealer logs or credential dumps the most plausible route.
What breaks this step
- Set an organization-wide maximum PAT lifetime (90 days is a reasonable default)
- Disable classic PATs organization-wide, forcing migration to fine-grained PATs
- Secret scanning and push protection enabled
- Set `persist-credentials: false` on actions/checkout wherever later steps do not push
- Require organization owner approval for fine-grained PATs.
- Never upload the checkout workspace as an artifact.
Before writing anything, the attacker read each repository's existing workflow files for ${{ secrets.NAME }} references. In FastUUID that was PYPI_API_TOKEN. The names were then written into the malicious workflow, so it asked for secrets that really existed.
The file .github/workflows/github_actions_security.yml ran on push and workflow_dispatch on ubuntu-latest. It went into 817 public and private repositories under the owners' own identities, with no pull request in between.
One curl POST sent the named secrets to bold-dhawan.45-139-104-115.plesk.page: 3,325 in total, most often DockerHub credentials, GitHub tokens and npm tokens, plus PyPI tokens, AWS keys, database credentials and Cloudflare tokens. GitGuardian found it on 5 September. PyPI set FastUUID read-only, the endpoint stopped resolving at 16:15 UTC, and 9 npm and 15 PyPI packages were judged at risk of a malicious release, though none was found. Developers told GitGuardian that stolen AWS keys and database credentials were already being used.
What breaks this step
- CODEOWNERS in place, required on sensitive paths
- Rulesets applied: push restriction, tag protection, sensitive file-path protection
- Inventory every Actions secret and its visibility/scope; the results are usually surprising
- Cloud credentials migrated from static keys to OIDC federation, scoped to repo + branch
- Put production secrets in environments with required reviewers
- Limit runners' outbound traffic to an allow-list: each wave posted the secrets to one outside domain or a bare IP.
From 31 August to 30 September 2026 the same file and commit message appeared in 772 public repositories of 373 users and organizations, now posting to the bare IP 193.32.204.199 and naming 2,577 secrets. GitHub held most runs for approval: of 3,669 runs GitGuardian collected across 605 repositories, 499 ran, in 32 repositories, and 336 completed, sending 26 secrets from 13 repositories. Most of those runs were started by the owners' own later pushes. By 5 October only 124 of the 772 repositories (16%) had removed it.
What breaks this step
- CODEOWNERS in place, required on sensitive paths
- Rulesets applied: push restriction, tag protection, sensitive file-path protection
- Inventory every Actions secret and its visibility/scope; the results are usually surprising
- Cloud credentials migrated from static keys to OIDC federation, scoped to repo + branch
- Put production secrets in environments with required reviewers
- Set an organization-wide maximum PAT lifetime (90 days is a reasonable default)
- Disable classic PATs organization-wide, forcing migration to fine-grained PATs
- Secret scanning and push protection enabled
- Set `persist-credentials: false` on actions/checkout wherever later steps do not push
- Require organization owner approval for fine-grained PATs.
- Never upload the checkout workspace as an artifact.
On 8 October 2026 the account of kitao, author of pyxel, pushed security-audit.yml to 27 repositories, and the account of henrywoo pushed it to 318 in 16 minutes, the last being uber/athenadriver, where he kept write access, straight to master. It checked out the full history and searched the tree and git log -p --all for AWS, Anthropic, OpenAI, GitHub, GitLab, Google, Slack and SendGrid keys, alongside the named secrets. The athenadriver run's GITHUB_TOKEN only had contents: read, so anything further depends on what was stolen. In pyxel two runs were started by hand from the compromised session.
What breaks this step
- Branch protection on default/release branches: required reviews of the last push + required status checks
- Rulesets applied: push restriction, tag protection, sensitive file-path protection
- Require the committer to match the pusher on sensitive repos
- CODEOWNERS in place, required on sensitive paths
- Inventory every Actions secret and its visibility/scope; the results are usually surprising
- Cloud credentials migrated from static keys to OIDC federation, scoped to repo + branch
- Put production secrets in environments with required reviewers
- Secret scanning and push protection enabled
- Write and rehearse a credential-rotation runbook before you need it
- Set an organization-wide maximum PAT lifetime (90 days is a reasonable default)
- Disable classic PATs organization-wide, forcing migration to fine-grained PATs
- Set `persist-credentials: false` on actions/checkout wherever later steps do not push
- Require organization owner approval for fine-grained PATs.
- Never upload the checkout workspace as an artifact.
Socket counted more than 500 accounts committing the workflow from 7 October. GitGuardian's later count was about 1,900 compromised accounts and more than 30,000 repositories of about 3,000 users and organizations, aiming at 3,174 secrets. GitHub started preventing the workflow from running on 9 October, and waves on 10 and 12 October took nothing. Socket and StepSecurity saw no malicious package versions as of 9 October.
Frameworks
Part of
Ongoing. First seen September 2025, last seen 9 October 2026. 772 repositories of 373 users and organizations in September 2026, then more than 500 accounts committing it from 7 October (Socket) (as of 9 October 2026, source). Mapping by ghtier, not yet reviewed. Threat landscape
Sources
- researchThe GhostAction campaign: 3,325 secrets stolen
- researchGhostAction returns: GitHub Actions supply chain attack
- trackerGhostAction campaign (Wiz Cloud Threat Landscape)
- researchGhostAction campaign: over 3,000 secrets stolen through malicious GitHub workflows
- trackerGhostAction: cloud credentials targeted across tens of thousands of repositories
- trackerGhostAction returns