GitHub Supply Chain Attack Steals CI/CD Secrets with 'wfx' Malware

Massive GitHub Supply Chain Attack Injects 'wfx' Stealer into Repos

CRITICAL
November 12, 2026
5m read
Supply Chain AttackMalwareCloud Security

Related Entities

Products & Tech

Other

wfxwebdriverio

Full Report

Executive Summary

A sophisticated and widespread software supply chain attack is actively targeting the GitHub ecosystem. Since at least November 10, 2026, threat actors have been leveraging compromised developer accounts to inject malicious code into a vast number of repositories. The attack deploys a custom information stealer, which identifies itself as wfx, specifically designed to harvest credentials from Continuous Integration/Continuous Deployment (CI/CD) environments like GitHub Actions. The campaign uses evasive techniques to hide its presence, and has already resulted in the theft of credentials from over 1,800 repositories, creating a significant downstream risk of further attacks.


Threat Overview

The attack leverages stolen GitHub credentials, possibly from prior breaches or malware infections, to gain write access to repositories. The attackers use these compromised accounts (T1078 - Valid Accounts) to push malicious commits. These commits appear legitimate as they originate from trusted developers. The payload, the wfx stealer, is injected into the repository's workflow files. When the CI/CD pipeline runs, the malware executes within the GitHub Actions environment and exfiltrates any secrets it can find. This includes:

  • GitHub repository secrets
  • Cloud provider credentials (AWS, Azure, GCP)
  • Package registry tokens (npm, PyPI, crates.io, etc.)
  • API keys for AI services

The popular open-source project webdriverio was among the victims, though the malicious commit was detected and reverted quickly. The incident highlights the fragility of software supply chains where a single compromised developer account can impact thousands of downstream users and projects.


Technical Analysis

The attack's sophistication lies in its evasion tactics. The threat actors employ a "sandwich-commit" technique:

  1. A commit is made to introduce the malicious wfx payload into a GitHub Actions workflow file.
  2. The CI/CD pipeline is triggered, executing the stealer and exfiltrating secrets.
  3. A second commit is pushed almost immediately, reverting the malicious change.
  4. The attackers then use the GitHub API to delete the logs from the malicious workflow run.

This sequence, a form of T1070.004 - Indicator Removal: File Deletion, makes post-breach analysis extremely difficult as it removes direct evidence of the compromise. The core of the attack is a direct implementation of T1195.001 - Compromise Software Development Tools and T1552.006 - Unsecured Credentials: CI/CD Secrets. The use of a leaked GitHub CLI token as an initial access vector in one case highlights the need to protect all forms of developer credentials.


Impact Assessment

The immediate impact is the theft of highly sensitive credentials, which can lead to further breaches of cloud infrastructure, data exfiltration, and additional supply chain attacks. With at least 50 of the hijacked accounts having publishing rights to package registries, there is a critical risk that attackers will use stolen tokens to publish malicious versions of popular software packages, massively amplifying the attack's reach. The estimated theft of secrets from over 1,806 repositories indicates a widespread and successful campaign. All organizations that use GitHub for development or rely on open-source packages are potentially at risk and must take immediate action to verify the integrity of their code and rotate potentially compromised credentials.


IOCs — Directly from Articles

No specific Indicators of Compromise (IOCs) such as IP addresses, domains, or file hashes were mentioned in the source articles.


Cyber Observables — Hunting Hints

Security teams may want to hunt for the following patterns to detect this activity:

Type
log_source
Value
GitHub Audit Log
Description
Search for a pattern of a commit followed by a quick revert from the same user, paired with a workflow_run.deleted event.
Type
command_line_pattern
Value
curl -X POST ... or wget --post-data ...
Description
Within GitHub Actions logs, look for unexpected curl or wget commands sending data to unknown external domains.
Type
api_endpoint
Value
actions/runs/{run_id}/logs with DELETE method
Description
Monitor for API calls that delete workflow run logs, as this is a key evasion technique used in this attack.
Type
file_name
Value
.github/workflows/*.yml
Description
File integrity monitoring on workflow YAML files for unauthorized or suspicious modifications.

Detection & Response

  • Audit GitHub Logs: Immediately review GitHub audit logs for suspicious commit patterns (e.g., rapid commit/revert sequences) and for any instances of workflow log deletion.
  • Secret Scanning: Implement real-time secret scanning within CI/CD pipelines to detect and block commits containing hardcoded credentials. D3FEND's Credential Analysis can be automated in this way.
  • Monitor Workflow Execution: Monitor GitHub Actions for anomalous behavior, such as unexpected network egress to unknown IPs or the execution of suspicious commands (curl, wget).
  • Incident Response: If a compromise is suspected, immediately rotate all secrets within the affected repository, force-sign-out all users, and require password resets and MFA re-enrollment for all contributors.

Mitigation

  • Enforce MFA: Mandate the use of strong, phishing-resistant Multi-Factor Authentication (MFA) for all GitHub accounts. This is the single most effective control against account takeover and aligns with D3FEND's Multi-factor Authentication.
  • Branch Protection: Implement and enforce strict branch protection rules, requiring signed commits and reviews from multiple trusted developers before code can be merged into main branches.
  • Principle of Least Privilege: Regularly audit developer permissions and CI/CD secrets. Ensure that secrets are narrowly scoped and have the minimum necessary permissions. Use short-lived, dynamically generated credentials where possible.
  • Secret Management: Use a dedicated secrets management solution (e.g., HashiCorp Vault, AWS Secrets Manager) rather than relying solely on GitHub secrets, and implement strict access policies and audit logging.

Timeline of Events

1
November 10, 2026
The supply chain attack is observed to have started on or before this date.
2
November 11, 2026
The open-source project webdriverio was infected with the 'wfx' stealer.
3
November 12, 2026
It is estimated that credentials from at least 1,806 repositories have been stolen.
4
November 12, 2026
This article was published

MITRE ATT&CK Mitigations

Enforcing phishing-resistant MFA on all developer accounts is the most effective defense against account takeovers.

Mapped D3FEND Techniques:

Apply the principle of least privilege to developer accounts and CI/CD service principals, limiting write access and secret scope.

Mapped D3FEND Techniques:

Audit

M1047enterprise

Regularly audit GitHub logs for suspicious activities like rapid commit/revert cycles and log deletion.

Mapped D3FEND Techniques:

D3FEND Defensive Countermeasures

The root cause of the 'wfx' supply chain attack is the takeover of legitimate developer accounts. The most direct and effective countermeasure is mandating phishing-resistant Multi-Factor Authentication (MFA) for every developer with access to organizational repositories. This should not be limited to just username/password/TOTP, but should prioritize stronger methods like FIDO2/WebAuthn security keys or passkeys. GitHub organizations should enforce this policy across the board, preventing any user from contributing code without a registered strong second factor. This single control makes it exponentially harder for attackers to compromise an account even if they manage to steal a developer's password or session token, directly breaking the initial access vector used in this campaign. Security teams must audit for compliance and ensure no exceptions are made.

To detect the malicious activity of the 'wfx' stealer within the CI/CD pipeline, security teams should apply Process Pattern Analysis to their GitHub Actions workflows. This involves establishing a baseline of normal behavior for build and deployment processes. For example, a typical build process might involve cloning a repo, installing dependencies, running tests, and building an artifact. The 'wfx' malware introduces anomalous processes, such as executing curl or wget to exfiltrate data to an unknown external endpoint. By monitoring the command-line arguments and network connections of processes running inside the CI/CD environment, defenders can create high-fidelity alerts for deviations from the baseline. Tools that monitor runtime behavior inside containers or ephemeral runners are essential for this. An alert should be triggered if a build process initiates a network connection to a non-allowlisted domain or executes unexpected data gathering commands (env, cat ~/.aws/credentials), providing an early warning of compromise.

Timeline of Events

1
November 10, 2026

The supply chain attack is observed to have started on or before this date.

2
November 11, 2026

The open-source project webdriverio was infected with the 'wfx' stealer.

3
November 12, 2026

It is estimated that credentials from at least 1,806 repositories have been stolen.

Sources & References

GitHub Actions Supply Chain Attack Targeting CI Secrets at Scale
Endor Labs (endorlabs.com) •November 12, 2026

Article Author

Jason Gomes

Jason Gomes

• Cybersecurity Practitioner

Cybersecurity professional with over 10 years of specialized experience in security operations, threat intelligence, incident response, and security automation. Expertise spans SOAR/XSOAR orchestration, threat intelligence platforms, SIEM/UEBA analytics, and building cyber fusion centers. Background includes technical enablement, solution architecture for enterprise and government clients, and implementing security automation workflows across IR, TIP, and SOC use cases.

Threat Intelligence & AnalysisSecurity Orchestration (SOAR/XSOAR)Incident Response & Digital ForensicsSecurity Operations Center (SOC)SIEM & Security AnalyticsCyber Fusion & Threat SharingSecurity Automation & IntegrationManaged Detection & Response (MDR)

Editorial Standards & Analyst Review

CyberNetSec.io uses automation to assist source monitoring, deduplication, observable extraction, and structured intelligence generation. Published analysis follows human-defined editorial standards and adds defensive context including MITRE ATT&CK, D3FEND, STIX, and Sigma where applicable. Read our editorial policy.

Tags

supply chainGitHubCI/CDwfxinfostealermalwareGitHub Actions

📢 Share This Article

Help others stay informed about cybersecurity threats

🎯 MITRE ATT&CK Mapped

Every tactic, technique, and sub-technique used in this threat has been identified and mapped to the MITRE ATT&CK framework for consistent, actionable threat language.

🧠 Enriched & Analyzed

Observables and indicators of compromise (IOCs) have been extracted and cataloged. Risk has been assessed and correlated with known threat actors and historical campaigns.

🛡️ Actionable Guidance

Detection rules, incident response steps, and D3FEND-aligned mitigation strategies are included so your team can act on this intelligence immediately.

🔗 STIX Visualizer

Structured threat data is packaged as a STIX 2.1 bundle and can be visualized as an interactive graph — relationships between actors, malware, techniques, and indicators.

⚡ Sigma Generator

Sigma detection rules are derived from the threat techniques in this article and can be converted for deployment across any major SIEM or EDR platform.