Cybersecurity
Attackers compromised 1,900 GitHub accounts to inject credential-stealing workflows into 30,000 repos
A coordinated campaign dubbed GhostAction used stolen developer credentials to inject malicious CI/CD workflows, targeting cloud keys, GitHub tokens, and AI API credentials across thousands of repositories.
1/2
The New Stack
Security researchers tracking the GhostAction campaign have uncovered a large-scale supply chain attack in which malicious actors used compromised GitHub accounts to plant credential-harvesting workflows across more than 30,000 repositories. The assault peaked on October 8 and 9, when attackers targeted roughly 3,000 users and organizations and attempted to siphon 3,174 secrets from their systems.
Unlike earlier GitHub Actions compromises that exploited vulnerabilities in shared workflow components, this attack relied on stolen developer credentials—likely personal access tokens acquired from leaked credential databases—to gain direct write access to repositories and modify their CI/CD pipelines.
Deployment and Concealment#
Attackers disguised malicious workflows using legitimate-sounding names such as security-audit.yml or github_actions_security.yml, allowing them to blend in with standard security jobs. By embedding these workflows within repositories, they could reference secrets already used by legitimate builds, granting the malicious jobs immediate access to extract those credentials when executed. The harvested data was then transmitted to an attacker-controlled server at 193.32.204.99.
The campaign unfolded in phases: an initial wave targeting roughly 160 previously victimized accounts, followed by a massive deployment into 28,000 fresh repositories within hours.
Wide-Reaching Data Extraction#
The October variant of the attack went beyond stealing only explicitly referenced secrets. By using actions/checkout@v4 with fetch-depth: 0, the workflow scanned the full Git history for AWS keys, GitHub and GitLab personal access tokens, Google and Firebase credentials, and API keys from AI providers including Anthropic, OpenAI, and OpenRouter. Advanced iterations of the malware captured surrounding code lines to pair AWS key IDs with their corresponding secret keys, creating usable credential pairs.
Critically, the attackers harvested credentials deleted from the current codebase but still valid in Git history—exposing secrets that developers believed they had already removed.
Slow Response and Recurring Risk#
GitHub's workflow approval controls blocked most malicious jobs from running. However, attackers circumvented these defenses by recycling 92 dormant workflows planted during earlier attacks, some dating back to September 2025.

