Executive Summary

Beginning September 15, 2026, an automated threat campaign tracked as Gheist began exploiting stolen GitHub personal access tokens to plant malicious GitHub Actions workflows inside private repositories and GitHub Enterprise environments. The attacker tool created ci-sync- branches, committed a workflow that printed all accessible secrets encoded in base32 to bypass GitHub's masking, downloaded the logs via API, and deleted the run within seconds—leaving no outbound connection to block. Wiz researchers recovered over 13,500 planted branches across more than 850 compromised accounts, ranging from personal projects to enterprise organizations, with post-compromise activity including AWS Secrets Manager enumeration and lateral credential reuse.

Gheist exemplifies an accelerating class of CI/CD supply-chain attacks where the pipeline itself becomes the exfiltration channel. With tokens sourced from infostealer markets and prior supply-chain breaches, attackers require no vulnerability—only write access. As enterprises expand GitHub Actions usage for cloud deployments, the blast radius of a single stolen token now reaches production cloud credentials, making pipeline identity governance a board-level concern.

Why This Matters Now

GitHub Actions is now a primary deployment pathway for cloud workloads, meaning a single stolen write-access token can silently harvest every production secret an organization has stored—without triggering traditional perimeter controls. Gheist remained active and evolving through late October 2026, GitHub's protective hold does not cover private repos or Enterprise Server, and token sources include active infostealer markets, making exposure ongoing and widespread.

Attack Path Analysis

MITRE ATT&CK® Techniques

Potential Compliance Exposure

Sector Implications

Sources

Frequently Asked Questions

The Gheist workflow encoded secrets in base32 before printing them to the Actions log, causing GitHub's masking mechanism to fail since the encoded value no longer matched the original secret string. Attackers then downloaded the full log via the GitHub API before deleting the run.

Cloud Native Security Fabric Mitigations and ControlsCNSF

Based on the attack progression modeled above, these are the defensive controls that would constrain each stage.

The Gheist campaign exploited trusted GitHub tokens to move laterally from CI/CD pipelines into cloud environments, a pattern where Aviatrix Zero Trust CNSF's segmentation and east-west enforcement would likely reduce the attacker's ability to pivot from compromised workflow identities into production cloud infrastructure. By constraining reachability between CI/CD execution contexts and sensitive cloud workloads, the blast radius of a stolen token reaching AWS Secrets Manager would likely be significantly narrowed.

Initial Compromise

Control: Cloud Native Security Fabric (CNSF)

Mitigation: Workloads and cloud resources reachable from CI/CD execution contexts would likely be constrained by fabric-enforced identity-aware segmentation, reducing the set of cloud assets an authenticated but unverified workflow identity could reach after initial token use.

Privilege Escalation

Control: Zero Trust Segmentation

Mitigation: Zero Trust segmentation would likely constrain the reachability of cloud workloads and IAM-accessible resources from workflow execution contexts, reducing how far a token-bearing identity could expand its privilege scope across cloud segments even after OIDC role assumption succeeds.

Lateral Movement

Control: East-West Traffic Security

Mitigation: East-west enforcement policies would likely reduce the attacker's ability to traverse freely from CI/CD execution segments into production cloud environments, constraining lateral paths between the pipeline context and sensitive cloud services like AWS Secrets Manager.

Command & Control

Control: Multicloud Visibility & Control

Mitigation: Multicloud visibility across cloud workload traffic flows would likely surface anomalous API call patterns and unusual inter-service communication volumes originating from workflow execution contexts, even when those calls travel over trusted SaaS channels, helping reduce the window of undetected attacker activity.

Exfiltration

Control: Egress Security & Policy Enforcement

Mitigation: Egress policy enforcement applied to cloud workload execution contexts would likely constrain which external SaaS endpoints workflow identities are permitted to reach, reducing the set of outbound paths available for data to leave the cloud environment through non-approved API channels.

Impact (Mitigations)

Had segmentation and east-west enforcement been applied earlier in the kill chain, the range of cloud assets reachable from the compromised workflow identities would likely have been narrower, meaning that exposed AWS credentials would have had reduced scope to enumerate production secret stores and the blast radius of any single stolen token reaching cloud infrastructure would likely have been more contained.

Impact at a Glance

Affected Business Functions

  • CI/CD Pipeline Integrity and Software Delivery
  • Cloud Infrastructure Access Control (AWS IAM, Secrets Manager)
  • Source Code Repository Management (GitHub Enterprise)
  • DevSecOps and Secrets Management
Operational Disruption

Estimated downtime: N/A

Financial Impact

Estimated loss: N/A

Data Exposure

Confirmed and potential exposure of GitHub repository secrets including cloud provider credentials (AWS access keys, IAM role tokens), deployment environment secrets (often production credentials), Kubernetes service account tokens, private SSH keys, process environment variables, and self-hosted runner credential files across more than 850 compromised GitHub accounts spanning personal projects and enterprise organizations. AWS CloudTrail evidence confirms that GitHub Actions workflows executed on malicious branches and assumed AWS IAM roles in at least some enterprise environments, indicating active cloud credential abuse. Secrets from GitHub Actions deployment environments, which frequently contain production-tier credentials, were also targeted. No confirmed count of organizations with successfully exfiltrated secrets has been published by Wiz as of the reporting date.

Recommended Actions

  • • Apply Zero Trust Segmentation (CNSF) to OIDC trust policies by scoping IAM role assumption conditions strictly to protected branches and named deployment environments, preventing a planted ci-sync- branch from ever successfully exchanging a GitHub OIDC token for cloud credentials.
  • • Enforce Egress Security & Policy Enforcement controls to monitor and alert on anomalous cloud API call patterns, specifically bulk enumeration of AWS Secrets Manager following an OIDC token exchange from a non-standard branch subject, closing the post-exfiltration cloud pivot window.
  • • Leverage Multicloud Visibility & Control capabilities to baseline normal GitHub Actions OIDC subjects and AWS CloudTrail role assumption patterns, enabling detection of workflow runs originating from ci-sync- branches and automated flagging of runs deleted within minutes of completion.
  • • Deploy East-West Traffic Security monitoring across cloud workload interactions to detect lateral credential use, specifically when credentials sourced from a GitHub Actions context are subsequently used to access Secrets Manager or other internal services from an unexpected identity or region.
  • • Implement Encrypted Traffic and audit log integrity controls to ensure GitHub audit log streams and AWS CloudTrail are forwarded to an immutable, centralized platform in real time, preventing post-compromise log deletion from eliminating forensic evidence of planted workflow runs and secret access events.

Secure the Paths Between Cloud Workloads

A cloud-native security fabric that enforces Zero Trust across workload communication—reducing attack paths, compliance risk, and operational complexity.

Cta pattren Image