Executive Summary
In an ongoing supply-chain campaign first tracked September 15, 2026, a threat actor dubbed 'Gheist' leveraged stolen GitHub personal access tokens—sourced from infostealer malware and prior supply-chain breaches—to create malicious 'ci-sync-' branches across more than 850 compromised GitHub accounts and 13,500 repositories. A weaponized GitHub Actions workflow named 'sync-check' printed repository secrets and environment variables into workflow logs, Base32-encoded the output, exfiltrated it via GitHub's own API, and deleted the run within seconds. Private enterprise repositories were successfully targeted because existing GitHub safeguards only protect public repositories, and within hours of credential theft, attackers enumerated AWS Secrets Manager using harvested cloud credentials.
This campaign highlights a dangerous evolution in supply-chain attacks: stolen developer tokens now serve as master keys into enterprise cloud environments. Because exfiltration travels through GitHub's trusted API—with no attacker-controlled domain—traditional perimeter and egress controls provide little defense, placing credential hygiene, secret rotation, and fine-grained token scoping at the center of cloud security posture.
Why This Matters Now
Developer credential theft via infostealer malware is surging in 2026, and threat actors are increasingly chaining GitHub token abuse into direct cloud-infrastructure compromise. Gheist demonstrates that a single stale personal access token can bypass enterprise controls, silently drain secrets from private repositories, and pivot to AWS—making token lifecycle governance and CI/CD pipeline visibility urgent priorities for any organization with cloud-hosted workloads.
Attack Path Analysis
The Gheist campaign began by harvesting GitHub personal access tokens from infostealer malware infections and prior supply chain compromises, granting attackers write access to thousands of developer repositories including private enterprise ones. Attackers escalated privileges by leveraging stolen tokens with full write authority to inject malicious GitHub Actions workflows, then moved laterally from GitHub into connected cloud environments by cloning private repositories and using discovered cloud credentials to enumerate AWS Secrets Manager. Command and control was conducted entirely through GitHub's own API, allowing secrets to be retrieved and workflow logs deleted within seconds, leaving no attacker-controlled external domain to block. Exfiltration of encoded secrets and cloud credentials completed the operation, with downstream impact including exposure of enterprise cloud secrets at scale across an estimated dozen or more organizations.
Kill Chain Progression
This analysis maps confirmed threat intelligence to the full cloud kill chain to show where defensive gaps would emerge as an attack progresses.
Initial Compromise
Description
Attackers obtained valid GitHub personal access tokens primarily from two sources: infostealer malware infections on developer machines and credentials exposed in prior software supply chain compromises. These tokens granted write access to both public and private repositories, including enterprise environments. The Cloud Native Security Fabric (CNSF) with distributed inline enforcement and real-time inspection could have flagged anomalous token usage patterns at the control plane layer, while Zero Trust Segmentation with identity-based policy could have enforced scoped, short-lived credential requirements that would have limited the blast radius of any single compromised token.
MITRE ATT&CK® Techniques
Valid Accounts: Cloud Accounts
Unsecured Credentials: Credentials In Files
Command and Scripting Interpreter: Cloud API
Account Manipulation: Additional Cloud Credentials
Indicator Removal: File Deletion
Exfiltration Over Web Service: Exfiltration to Code Repository
Supply Chain Compromise: Compromise Software Supply Chain
Data from Cloud Storage
Potential Compliance Exposure
Mapping incident impact across multiple compliance frameworks.
NIST SP 800-53 Rev 5 – Account Management, Authenticator Management, Remote Access
Control ID: AC-2, IA-5, AC-17
PCI DSS 4.0 – User Identification and Authentication, Strong Authentication, Audit Log Management
Control ID: Requirement 8.2, 8.3, 10.2
NYDFS 23 NYCRR 500 – Access Privileges, Multi-Factor Authentication, Training and Monitoring
Control ID: 500.7, 500.12, 500.14
DORA (EU 2022/2554) – ICT Security Controls and Access Management, Detection and Response
Control ID: Article 9, Article 10
NIS2 Directive (EU 2022/2555) – Risk Management, Supply Chain Security, Access Control Policies
Control ID: Article 21(2)(a), 21(2)(e), 21(2)(i)
CISA Zero Trust Maturity Model 2.0 – Identity Lifecycle Management and Least-Privilege Enforcement
Control ID: Identity Pillar: Visibility & Analytics, Automation & Orchestration; Application Workload Pillar: Access
Sector Implications
Industry-specific impact of the vulnerabilities, including operational, regulatory, and cloud security risks.
Computer Software/Engineering
GitHub token theft via Gheist directly targets developer repositories, exposing CI/CD pipelines to supply-chain credential compromise, with egress exfiltration paths bypassing traditional controls through GitHub's own API.
Information Technology/IT
Enterprise IT environments face AWS Secrets Manager enumeration and lateral movement risk after stolen GitHub tokens grant write authority, demanding Zero Trust segmentation and short-lived credential rotation per NIST.800-53.AC-6.
Financial Services
Private repository breaches exposing cloud secrets threaten financial data pipelines, with PCI.4.0 and ZTMM compliance gaps in egress policy enforcement enabling undetected credential exfiltration through legitimate GitHub API channels.
Computer/Network Security
Security tooling vendors using GitHub-hosted infrastructure risk supply-chain compromise of their own signed artifacts, undermining customer trust and triggering NIST.CSF.PR.DS-5 and HIPAA.164.312 audit obligations.
Sources
- 'Gheist' Weaponizes GitHub Tokens to Steal Cloud Secretshttps://www.darkreading.com/cyberattacks-data-breaches/gheist-stolen-github-tokens-cloud-secretsVerified
- Wiz Research: Gheist Supply Chain Campaign Analysishttps://www.wiz.io/blog/gheist-github-token-supply-chain-attackVerified
- GitHub Security: Hardening GitHub Actions and Token Permissionshttps://docs.github.com/en/actions/security-guides/security-hardening-for-github-actionsVerified
- CISA Alert: Securing Software Supply Chains and Developer Credentialshttps://www.cisa.gov/resources-tools/resources/defending-against-software-supply-chain-attacksVerified
- GitHub Blog: Keeping Your Supply Chain Secure with GitHub Actionshttps://github.blog/security/supply-chain-security/keeping-your-github-actions-and-workflows-secure-part-1-preventing-pwn-requests/Verified
Frequently Asked Questions
Cloud Native Security Fabric Mitigations and ControlsCNSF
Based on the attack progression modeled above, these are the defensive controls that would constrain each stage.
Aviatrix Zero Trust CNSF is directly relevant to the Gheist campaign because the attackers relied on unconstrained credential reuse and uncontrolled lateral movement from CI/CD pipelines into live cloud environments. By enforcing identity-scoped access, east-west segmentation, and controlled egress, CNSF would likely have reduced the attacker's ability to pivot from a single compromised GitHub token into enterprise cloud credential stores at scale.
Control: Cloud Native Security Fabric (CNSF)
Mitigation: Distributed inline enforcement and real-time control plane inspection would likely reduce the effective reach of compromised tokens by flagging anomalous authentication patterns and limiting the blast radius of any single stolen credential used across multiple enterprise repositories.
Control: Zero Trust Segmentation
Mitigation: Identity-based policy enforcement with least-privilege scoping would likely constrain token permissions to specific repository operations, reducing the ability to create or modify CI/CD workflows in environments the token was not explicitly authorized to modify.
Control: East-West Traffic Security
Mitigation: East-west enforcement controlling workload-to-workload communication would likely restrict the lateral path between CI/CD pipeline environments and cloud credential stores, reducing the attacker's ability to pivot from a compromised developer token into cloud-wide secret enumeration.
Control: Multicloud Visibility & Control
Mitigation: Centralized traffic observability and behavioral anomaly detection across automated API interactions would likely surface the pattern of rapid workflow creation, immediate log retrieval, and near-instant deletion as suspicious automation activity worth flagging for review.
Control: Egress Security & Policy Enforcement
Mitigation: Outbound traffic controls and behavioral egress policies would likely detect automated, high-frequency API calls matching encoded secret exfiltration patterns leaving through CI/CD pipeline channels, reducing the window during which stolen secrets could be retrieved undetected.
Had prior segmentation and egress controls been effective, the scope of exposed assets would likely be reduced to repositories accessible by individual compromised tokens rather than spanning enterprise-wide cloud credential stores, limiting downstream AWS Secrets Manager enumeration to a narrower blast radius.
Impact at a Glance
Affected Business Functions
- Software Development and CI/CD Pipeline Integrity
- Cloud Secrets and Credentials Management (AWS Secrets Manager)
- Enterprise Repository Access Control and Code Confidentiality
- Developer Identity and Access Management
Estimated downtime: 3 days
Estimated loss: N/A
The campaign resulted in confirmed exfiltration of GitHub repository secrets, environment variables, and cloud credentials from private enterprise repositories across approximately a dozen organizations. Specifically, stolen data includes GitHub personal access tokens, CI/CD pipeline secrets, AWS Secrets Manager credentials, and potentially API keys and other sensitive configuration values stored as GitHub Actions secrets. The attacker-controlled workflow encoded output in Base32 and exfiltrated it via GitHub's own API, leaving no outbound attacker domain to detect. Private repositories previously assumed to be safe were directly targeted. Downstream risk includes unauthorized access to cloud infrastructure, lateral movement into AWS environments, and potential exposure of proprietary source code and build artifacts.
Recommended Actions
Key Takeaways & Next Steps
- • Enforce Zero Trust Segmentation with identity-based, least-privilege policies for all GitHub tokens and CI/CD service accounts — replace long-lived personal access tokens with short-lived, scoped credentials and require mandatory rotation after any incident to eliminate the foundational enabler of the Gheist campaign.
- • Deploy Multicloud Visibility and Control with centralized observability over CI/CD pipeline activity, flagging anomalous automation patterns such as rapid workflow creation, log retrieval, and deletion sequences that match the Gheist 'ci-sync-' branch and 'gheist' user agent signature.
- • Implement Egress Security and Policy Enforcement with FQDN filtering and data loss prevention to monitor and alert on high-frequency, automated outbound API calls to GitHub endpoints carrying encoded payloads, even when those endpoints are legitimate, to detect exfiltration-via-trusted-service patterns.
- • Apply East-West Traffic Security controls to restrict workload-to-cloud-credential-store communication, ensuring that a compromised developer token or CI/CD workflow cannot directly enumerate AWS Secrets Manager or other cloud secret vaults without explicit authorized identity verification at every hop.
- • Leverage Cloud Native Security Fabric (CNSF) with distributed inline enforcement and real-time inspection across the CI/CD-to-cloud boundary to detect unsigned commits authored as token owners combined with workflow injection, providing the earliest-stage control that would have disrupted the Gheist kill chain at Initial Compromise before secrets were ever at risk.



