
Executive Summary
In a significant cybersecurity incident, the wfx-loot campaign has targeted GitHub repositories, leveraging stolen credentials to deploy a credential-stealing payload. This attack has affected tens of thousands of repositories since November 10, 2026, with substantial implications for cloud security and developer operations.
What Happened
The wfx-loot campaign was detected by Aikido, which identified that a threat actor had pushed a malicious payload into over 61,000 repositories on GitHub. This was made possible through compromised GitHub credentials, allowing the attacker to execute a credential-stealing script in more than 1,800 repositories. The malware is designed to extract sensitive information, including GitHub Actions secrets and cloud credentials.
Upon gaining access, the attacker opened pull requests with innocuous titles, such as “docs: dependency audit notes,” to validate their access. The malicious script, which is approximately 1,500 lines long, was injected into existing workflows or created in new workflows on temporary branches. This script quickly executed its payload, collecting sensitive data before erasing traces of its activity.
Technical Root Cause
The root cause of the wfx-loot campaign lies in the exploitation of GitHub Actions, which automate workflows in response to code changes. The attacker’s approach involved:
- Opening pull requests to confirm write access to repositories.
- Injecting a shell script into workflows that could access sensitive information.
- Utilizing the extracted credentials to gain access to cloud services such as AWS, GCP, and Azure.
This method of attack highlights the vulnerabilities associated with automated workflows and the importance of securing access tokens and secrets within CI/CD pipelines.
Exposure and Affected Environments
The campaign has impacted a wide array of environments, particularly those utilizing GitHub Actions for CI/CD processes. Aikido reported that:
- 4,837 accounts were compromised, leading to probe pull requests across 61,764 repositories.
- 92% of the probe pull requests remain open, indicating ongoing risk.
- At least 50 users were identified as having published compromised packages across various package managers, including npm and PyPI.
Any machine that interacted with the compromised packages should be treated as potentially compromised, emphasizing the need for thorough investigations and remediation.
Patch and Mitigation Playbook
Organizations must take immediate action to mitigate the risks posed by the wfx-loot campaign. Recommended steps include:
- Audit Repositories: Review all repositories for signs of the wfx-loot payload, specifically looking for branches named “wfx-docs” or pull requests with suspicious titles.
- Rotate Secrets: Immediately rotate any secrets and credentials that may have been exposed during the attack.
- Implement Access Controls: Strengthen access controls for GitHub repositories, ensuring that only authorized personnel have write access.
- Monitor Workflows: Enable logging and monitoring of GitHub Actions workflows to detect unusual activity.
- Educate Developers: Provide training on secure coding practices and the importance of safeguarding credentials.
Organizations should also consider employing automated tools to detect and remediate vulnerabilities in their codebases proactively.
Security Program Lessons Learned
This incident underscores several critical lessons for cybersecurity programs:
- Credential Management: The importance of managing and securing credentials cannot be overstated. Implementing multi-factor authentication (MFA) can significantly reduce the risk of credential theft.
- Continuous Monitoring: Regular monitoring of repositories and workflows is essential to detect and respond to threats quickly.
- Incident Response Planning: Organizations should have a robust incident response plan that includes procedures for handling credential theft and repository compromises.
- Collaboration with Security Teams: Development teams must work closely with security teams to ensure that security measures are integrated into the development lifecycle.
“The wfx-loot campaign highlights the critical need for organizations to prioritize credential security and implement robust monitoring practices.” - Cybersecurity Analyst
Sources
- Help Net Security - wfx-loot GitHub Actions Secret Stealer
- Help Net Security - GitHub Agentic Autofix
- Help Net Security - SANS Industrial Cybersecurity Survey
Executive Context
The wfx-loot campaign has compromised tens of thousands of GitHub repositories, exploiting stolen credentials to extract sensitive information. This article delves into the technical details, affected environments, and mitigation strategies.
repositories. The malware is designed to extract sensitive information, including GitHub Actions secrets and cloud credentials. Upon gaining access, the attacker opened pull requests with innocuous titles, such as “docs: dependency audit notes,” to validate their access. The malicious script, which is approximately 1,500 lines long, was injected into existing workflows or created in new workflows on temporary branches. This script quickly executed its payload, collecting sensitive data before erasing traces of its activity. Technical Root Cause The root cause of the wfx-loot campaign lies in the exploitation of GitHub
This report consolidates available public details and highlights where evidence is still limited, helping teams prioritize immediate defensive action while additional technical indicators are collected.
Adversary Goals and Capabilities
Actions, which automate workflows in response to code changes. The attacker’s approach involved: Opening pull requests to confirm write access to repositories. Injecting a shell script into workflows that could access sensitive information. Utilizing the extracted credentials to gain access to cloud services such as AWS, GCP, and Azure. This method of attack highlights the vulnerabilities associated with automated workflows and the importance of securing access tokens and secrets within CI/CD pipelines. Exposure and Affected Environments The campaign has impacted a wide array of environments, particularly those utilizing GitHub Actions
for CI/CD processes. Aikido reported that: 4,837 accounts were compromised, leading to probe pull requests across 61,764 repositories. 92% of the probe pull requests remain open, indicating ongoing risk. At least 50 users were identified as having published compromised packages across various package managers, including npm and PyPI. Any machine that interacted with the compromised packages should be treated as potentially compromised, emphasizing the need for thorough investigations and remediation. Patch and Mitigation Playbook Organizations must take immediate action to mitigate the risks posed by the wfx-loot campaign. Recommended steps
Based on observed patterns in recent campaigns, the likely attacker objective is to establish durable access, exploit trust relationships, and later pivot toward higher-value systems. Where specific attribution or tooling data is absent, these details are not publicly disclosed and should be treated as unknown.
Observable Indicators and Telemetry
automated tools to detect and remediate vulnerabilities in their codebases proactively. Security Program Lessons Learned This incident underscores several critical lessons for cybersecurity programs: Credential Management: The importance of managing and securing credentials cannot be overstated. Implementing multi-factor authentication (MFA) can significantly reduce the risk of credential theft. Continuous Monitoring: Regular monitoring of repositories and workflows is essential to detect and respond to threats quickly. Incident Response Planning: Organizations should have a robust incident response plan that includes procedures for handling credential theft and repository compromises. Collaboration with Security Teams:
Development teams must work closely with security teams to ensure that security measures are integrated into the development lifecycle. “The wfx-loot campaign highlights the critical need for organizations to prioritize credential security and implement robust monitoring practices.” - Cybersecurity Analyst Sources Help Net Security - wfx-loot GitHub Actions Secret Stealer Help Net Security - GitHub Agentic Autofix Help Net Security - SANS Industrial Cybersecurity Survey A threat actor using stolen GitHub credentials has pushed a credential-stealing payload into tens of thousands of repositories since November 10. In more than 1,800
Security engineering teams should validate exploitability across environments, map exposure by asset criticality, and confirm whether available telemetry can detect pre-compromise reconnaissance, exploitation attempts, and post-exploitation behavior.
Incident Response Priorities
of them, the malware ran and shipped GitHub Actions secrets and cloud credentials to the attacker. Aikido spotted the campaign and named it wfx-loot. The name comes from the attacker’s own labels, “wfx” for the malware and “loot” for what it steals. Aikido counted 4,837 compromised accounts opening probe pull … More → The post Check your GitHub repos: A secret stealer hit tens of thousands of them appeared first on Help Net Security . own, reached through collaborator or organization access, so one stolen token exposes every project its
Organizations with internet-facing systems, third-party integrations, or delayed patch cycles generally carry elevated risk. Internal segmentation gaps can increase blast radius if an attacker obtains initial foothold credentials.
Detection and Monitoring Priorities
- Correlate authentication anomalies with unusual process execution and outbound traffic spikes.
- Alert on privilege escalation events, lateral movement indicators, and unauthorized persistence changes.
- Prioritize monitoring of externally exposed services and high-value identity providers.
- Track integrity changes in scripts, scheduled tasks, startup items, and critical configuration files.
- Hunt for command-and-control beaconing patterns and suspicious use of remote administration tools.
Detection coverage should be validated through tabletop simulation or controlled testing to ensure response teams receive actionable, high-confidence alerts quickly.
Mitigation Checklist
- Patch affected services and validate version levels across all environments.
- Restrict exposed management and service ports to trusted networks only.
- Enable detailed logging and alerting for suspicious process or network activity.
- Harden endpoint controls and isolate high-risk systems until remediation completes.
- Conduct post-remediation validation and document residual risk.
Mitigations should be sequenced by risk: immediately reduce exposed attack surface, then remove persistence opportunities, and finally harden architecture to prevent recurrence.
Incident Response and Recovery Planning
- Establish a clear incident commander and communication cadence across security, IT, and leadership.
- Capture and preserve relevant logs and forensic artifacts before major containment changes.
- Contain compromised accounts and hosts, then execute structured eradication with validation checkpoints.
- Document lessons learned and implement control improvements with owner accountability and timelines.
Recovery should include business continuity planning, legal or regulatory assessment where required, and transparent stakeholder updates based on verified facts.
Strategic Impact for Leadership
owner can write to. Ninety-two percent of the probe pull requests are still open. GitHub Actions runs automated jobs, called workflows, when code changes, and those jobs often hold keys to cloud accounts and package registries. The attacker first opens a pull request titled “docs: dependency audit notes” to confirm the token has write access. It then pushes a shell script of about 1,500 lines, injected into an existing workflow, hooked to npm install, or This report consolidates available public details and highlights where evidence is still limited, helping teams
prioritize immediate defensive action while additional technical indicators are collected. placed in a new workflow on a throwaway branch. Within a minute it reverts the change, then deletes the workflow run and its logs. Often all that’s left behind is a skipped number in the workflow’s run history. The script grabs Actions secrets, cloud and SSH credential files, shell histories, and tokens for AI tools including OpenAI, Anthropic, Cursor and Copilot. It uses what it finds to get into AWS, GCP and Azure, and creates long-lived AWS access keys. It
Security leaders should align technical remediation with stakeholder communication, incident readiness, and continuous monitoring to reduce repeat exposure.