Massive GitHub Supply Chain Attack Targets CI/CD Secrets
A large-scale supply chain campaign dubbed wfx-loot has compromised 4,837 GitHub accounts to infiltrate tens of thousands of repositories and exfiltrate sensitive continuous integration and deployment (CI/CD) secrets, cloud credentials, and developer access tokens. Researchers at application security firm Aikido disclosed the operation on November 12, 2026, revealing that the threat actor successfully stole secrets from at least 1,835 distinct targets.
The campaign began around 12:45 UTC on November 10, 2026, when the attacker leveraged stolen GitHub credentials to probe 61,764 repositories for write permissions. The compromised accounts included those belonging to Fortune 100 organizations, the U.S. General Services Administration, the French government, Nextcloud, and WebdriverIO. Approximately 50 of these accounts also held publishing rights on major open-source package registries including npm, PyPI, Go, crates.io, and Packagist.
Attack Methodology: Malicious Pull Requests and Workflow Injection
Reconnaissance via Deceptive Pull Requests
The threat actor opened pull requests titled 'docs: dependency audit notes' against repositories accessible by the compromised accounts. These pull requests were designed to test whether the accounts possessed sufficient write permissions to inject malicious code into GitHub Actions workflows. Aikido reports that 92% of these probe pull requests remain open, indicating that legitimate repository owners largely failed to detect the reconnaissance activity.
Credential-Stealing Payload Delivery
Once write access was confirmed, the attacker deployed a 1,500-line shell script through one of three methods: modifying an existing GitHub Actions workflow, adding a new workflow on a short-lived branch, or planting an npm install hook. The script was engineered to harvest a broad spectrum of sensitive data:
- GitHub Actions secrets and variables, including the workflow's
GITHUB_TOKEN, OIDC tokens, and Actions runtime tokens - Cloud credentials for AWS, Azure, and Google Cloud Platform (GCP), including credentials exposed via instance metadata on self-hosted runners
- Developer and infrastructure credentials from Git, SSH, GPG, Docker, Kubernetes, npm, PyPI, HashiCorp Vault, and Terraform
- AI service and developer-tool credentials for OpenAI, Anthropic, Gemini, Hugging Face, Cursor, and GitHub Copilot
- Additional secret sources: environment variables,
.envfiles, private keys, keystores, shell histories, process memory, repository files, recent commits, and workflow artifacts
Cloud Privilege Escalation and Persistence Capabilities
The malicious script incorporates advanced post-exploitation functionality. It can exchange GitHub OIDC tokens for temporary cloud sessions across AWS, Azure, and GCP. In AWS environments, the script chains into additional IAM (Identity and Access Management) roles present in the repository to create long-lived credentials for IAM users. For GCP, it uses collected service-account credentials to impersonate identities. Aikido notes that the script can establish persistent access by creating long-lived credentials or modifying cloud identity and trust policies where permissions allow.
Rapid Exfiltration and Cover-Up
Collected data was compressed into tarballs and exfiltrated via HTTP POST to one of two attacker-controlled endpoints. In the final stage, the attacker reverted changes and deleted workflow runs and logs in under a minute, minimizing forensic evidence.
Supply Chain Impact: Automated Package Publishing
The campaign's reach extended into public package registries through automated publishing pipelines. The payload was carried into Packagist's digitalelvis/neuronai-studio version 3.14.3 and two versions of the Go module github.com/onuragtas/docker-env (v1.0.278 and v1.0.280). Researchers assess that the threat actor's primary objective was stealing CI/CD secrets, while the malicious package releases were an unintended byproduct of automated publishing workflows.
Connections to Prior Campaigns
Aikido identified certain overlaps with the 2025 GhostAction campaign, suggesting possible shared infrastructure, tooling, or threat actor affiliation. However, the wfx-loot operation demonstrates significantly broader targeting and more sophisticated cloud privilege escalation capabilities.
Detection and Remediation Guidance
Repository owners are advised to investigate the following indicators of compromise:
- Presence of a
wfx-docsbranch - Pull requests titled 'docs: dependency audit notes'
- Gaps in workflow run numbers suggesting deleted executions
Where payload execution is confirmed, Aikido recommends treating all secrets and cloud roles available to the affected workflows as compromised and rotating them immediately. Organizations should also audit cloud identity policies for unauthorized modifications and review publishing permissions on package registries.
Source: BleepingComputer