GhostAction is a software supply-chain credential-theft campaign that uses malicious GitHub Actions workflows to harvest secrets from CI/CD environments. Disclosed in September 2025, its initial wave compromised at least 817 public repositories and exposed more than 3,300 secrets. It targets repositories belonging to individual developers and organizations, including projects associated with npm and PyPI packages.
Attackers use compromised GitHub accounts with repository write access to inject workflows disguised as legitimate security automation. The workflows execute following ordinary repository pushes, read selected repository secrets, and transmit them to attacker-controlled infrastructure through HTTP POST requests. The operation inspects existing workflow and configuration history to identify referenced secret names. Targets include SSH private keys, deployment credentials, database passwords, cloud access keys, package-registry credentials, GitHub tokens, and other service API tokens.
A subsequent wave between August and September 2026 affected 772 public repositories and targeted 2,577 secrets. Although GitHub approval controls prevented many workflow executions, successful runs enabled confirmed credential theft. Malicious workflows can persist in repositories and execute again after legitimate developer activity; attackers have also updated previously planted workflows to change collection infrastructure. GhostAction has no established attribution to a named threat actor.
32 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.