Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Hackers hijacked 1,900 GitHub accounts. Then they went after 30,000 repos.

Hackers accessed roughly 1,900 GitHub accounts, then used them to slip credential-stealing workflows into more than 30,000 repositories. The malicious

Hackers hijacked 1,900 GitHub accounts. Then they went after 30,000 repos.

Hackers gained unauthorized access to approximately 1,900 GitHub accounts and subsequently employed these compromised accounts to introduce credential-stealing workflows into over 30,000 repositories. The malicious GitHub Actions jobs targeted critical information such as CI/CD secrets, cloud access keys, and API keys from AI providers.

GitGuardian closely monitored the GhostAction campaign, which escalated on October 8 and 9, when attackers targeted roughly 3,000 users and organizations, attempting to extract 3,174 secrets. The primary breach occurred through a shared Action that was poisoned by the tj-actions/changed-files compromise, while GhostAction followed a distinct approach by utilizing stolen developer credentials to manipulate workflows directly, without exploiting any vulnerabilities in GitHub Actions itself.

The source of these stolen credentials remains uncertain, although StepSecurity's analysis suggests they might have been obtained from credential dumps using personal access tokens. Once the attackers infiltrated the repositories, they clandestinely inserted disguised workflows resembling standard security jobs, employing deceptive names like security-audit.yml or github_actions_security.yml.

By referencing secrets already employed by legitimate builds, these malicious jobs were able to collect the credentials and transmit them to an attacker-controlled server. The October variant of the attack went further than merely targeting explicitly mentioned secrets; it utilized actions/checkout@v4 with fetch-depth set to 0 to scan the entire working tree and Git history for a range of sensitive information, including AWS keys, GitHub and GitLab personal access tokens, Google and Firebase keys, and API tokens from AI providers Anthropic, OpenAI, and OpenRouter.

Subsequent versions of the attack also extracted surrounding lines to establish connections between AWS key IDs and their respective secret access keys. The stolen credentials were then transmitted over HTTP to the IP address 193.32.204.199, encompassing keys that had been removed from the current codebase but were still present in the Git history.

GitHub successfully blocked the malicious workflows, which were deployed in multiple phases. Initially, around 160 previously targeted victims were affected, followed by a significant deployment to 28,000 new repositories on October 8 and 9. While GitGuardian recorded 3,174 secrets targeted for extraction and confirmed some exfiltration during the October campaign, the exact number of distinct credentials that reached the attackers remains unknown.

During the previous August and September campaign, GitGuardian identified malicious workflows in 772 public repositories across 373 users and organizations. Out of the 3,669 workflow runs recorded across 605 repositories, only 499 were executed, with 336 successfully exfiltrating 26 secrets from 13 repositories. Although GitHub's approval controls managed to block most of the malicious workflows, attackers simply repurposed 92 older ones left over from earlier attacks, including infrastructure that had been active since September 2025.

Furthermore, by October 5, GitGuardian found that merely 16% of the affected repositories — 124 out of 772 — had been cleaned up. To mitigate the damage, it is imperative to rotate exposed secrets and tokens. GitHub audit records and PAT activity can aid in identifying which accounts modified .github/workflows/, while Actions run histories can reveal which jobs executed and what secrets they could access.

Any compromised account that still retains write access must have its credentials revoked, even if the malicious workflow has already been eliminated. Additionally, cloud keys, deployment credentials, registry tokens, and API keys from AI providers that were potentially exposed during the attack must also be revoked or rotated, including those that were deleted from the codebase months ago but remain valid when the attackers scanned the Git history.

Rewritten by urgent.news; may contain errors — check the original.

Source: thenewstack.io

Read the original at thenewstack.io →

Report a problem with this story

More in Tech

More from Thursday, 15 October 2026 →