GhostAction Attack Compromises 500+ GitHub Accounts to Steal Cloud and AI Credentials

A new GhostAction campaign has compromised more than 500 GitHub accounts and, since October 7, 2026, has spread malicious workflows across tens of thousands of repositories.

Socket researchers reported that the operation combines GitHub Actions secret theft with searches for cloud and artificial intelligence credentials embedded in source code and Git history.

The expanded scope emerged after researchers investigated an October 8 burst involving compromised maintainer accounts henrywoo and kitao.

GhostAction Attack Compromises 500+ GitHub Accounts

Those accounts injected malicious workflows into 346 repositories, including Uber’s uber/athenadriver and kitao/pyxel. Socket identified 318 affected repositories under henrywoo, 27 under kitao, and the Uber project reached through henrywoo’s existing write permissions.

Attackers committed .github/workflows/security-audit.yml directly to repository default branches using messages such as “Add security audit workflow” and “Update security audit workflow.”

Despite its legitimate appearance, the workflow performs credential collection rather than security checks. Socket did not establish how the attackers initially obtained maintainer credentials.

The workflow runs on pushes without branch or path restrictions and supports manual execution through workflow_dispatch.

Its first collection mechanism references GitHub Actions secrets whose names were apparently extracted from existing repository workflows before injection, allowing the payload to target repository-specific credentials.

In Pyxel, the targeted secrets included CARGO_REGISTRY_TOKEN, PERSONAL_ACCESS_TOKEN, PYPI_PASSWORD, and PYPI_USERNAME. These credentials could enable unauthorized package publishing or further repository access, creating a potential downstream supply-chain compromise.

Socket observed successful malicious workflow execution but had not identified malicious PyPI or crates.io releases as of October 9. The new harvesting component configures actions/checkout@v4 with fetch-depth: 0, retrieving history across branches and tags.

It searches checked-out files and patch output from git log -p --all, potentially exposing credentials removed from current files but retained in reachable commits. The history buffer is capped at 200,000 lines.

Thirteen credential patterns cover AWS, Anthropic, OpenAI, OpenRouter, GitHub, GitLab, Google APIs, Slack, and SendGrid. For AWS identifiers beginning with AKIA or ASIA, the payload also captures two surrounding lines on either side, seeking adjacent secret access keys rather than collecting identifiers alone.

Both harvesting paths feed a single cleartext HTTP POST to hxxp://193.32.204[.]199/?c=monami. Request markers include REPO=, AKIA_CTX_START, and AKIA_CTX_END.

Even runs that find no credentials transmit the repository identifier, giving the operator visibility into accessible execution environments.

Socket recommends removing injected workflows, reviewing Actions execution records, rotating exposed credentials, and revoking compromised account sessions, tokens, OAuth grants, and SSH keys.

Investigators should scan repository history, inspect package releases, review AWS CloudTrail activity, and block the exfiltration address. Rotating Actions secrets alone leaves historical cloud and AI credentials exposed; checking only current files likewise misses the campaign’s historical harvesting mechanism.

CategoryIndicatorDescription
Workflow file path.github/workflows/security-audit.ymlMalicious workflow file masquerading as a security audit.
Workflow file path.github/workflows/github_actions_security.ymlAlternative malicious workflow file path.
Commit messageAdd security audit workflowCommit message associated with malicious workflow injection.
Commit messageUpdate security audit workflowCommit message associated with malicious workflow updates.
Commit messageAdd Github Actions Security workflowAlternative commit message associated with workflow injection.
Request body markerREPO=Identifies the repository in the exfiltration request body.
Request body markerAKIA_CTX_STARTMarks the beginning of collected AWS credential context.
Request body markerAKIA_CTX_ENDMarks the end of collected AWS credential context.
Network — C2 IP address193.32.204[.]199Attacker-controlled destination used for credential exfiltration.

Note: IP addresses and domains are intentionally defanged (e.g., [.]) to prevent accidental resolution or hyperlinking. Re-fang only within controlled threat intelligence platforms such as MISP, VirusTotal, or your SIEM.

Join 16,000+ SOC teams using ANY.RUN to streamline threat investigations and reduce manual effort. Explore for your team 

Tamilselvan
Tamilselvanhttps://cyberpress.org/
Tamilselvan is an Investigative cybersecurity journalist dedicated to breaking stories on ransomware cartels, data breaches, and state-sponsored espionage.

Trending News

Related Stories