Skip to main content
Mallory
← Back to News
command-and-control-methodthreat-infrastructure-trackinggovernment-diplomatic-threatremote-access-implant

Public GitHub History Exposes 80,409 Commands From China-Linked Espionage Campaign

Attack Tradecraft · 4 sources · Updated 4h ago · First seen Dec 3, 2026

Public GitHub History Exposes 80,409 Commands From China-Linked Espionage Campaign

Apiiro researchers decoded 80,409 commands preserved in public GitHub commit histories, exposing two years of espionage tasking against organizations in at least 23 countries across five continents. The Chinese-speaking operation, known as Operation ShadowCloud and tracked by Sophos as Bronze Sandcastle, targeted government, political, military-linked and commercial organizations. Researchers identified 92 GitHub command-and-control repositories associated with the activity. Apiiro cautioned that recorded commands do not establish that they executed successfully.

The operators used GitDoor and GraphDoor backdoors and abused GitHub, Microsoft SharePoint and Ably to conceal command-and-control traffic within legitimate services. Targeting of Taiwanese and Philippine organizations continued after Kaspersky disclosed the campaign in November 2026. Apiiro assessed that the operators were located in mainland China based on working hours and holiday observance; those indicators do not independently establish state sponsorship. Defenders should review traffic to these services for anomalous implant communications rather than treating trusted cloud destinations as inherently safe.

Why it matters

Government, political, military-linked, and commercial organizations faced espionage targeting, with potential intelligence loss and persistent access; recorded commands do not establish successful execution.

Apiiro recovered 80,409 commands spanning approximately two years and targeting organizations in at least 23 countries across five continents. It identified 104 associated repositories, including 92 connected to victim machines. Implant responses were stored in private repositories unavailable to researchers, limiting conclusions about execution, data theft, and the number of successfully compromised organizations. Activity against Taiwanese and Philippine targets continued after public disclosure in November 2026. Sources: Apiiro findings summary, campaign details

Industry-specific impact: Supported targeting includes Information Technology, through a website development company and an accounting database/software vendor; Government & Public Sector, through ministries and national infrastructure entities; Civil Society & Non-Profit, through Taiwanese political parties and a U.S. industrial union; and Military & Defense, through Taiwan's military suppliers and a help-desk account at Peru's Ministry of Defense. These are targeting observations, not proof that every target suffered data loss. Customers of targeted suppliers should not automatically be treated as compromised. Source

Geography-specific impact: Reported targets included U.S. commercial organizations and a union; Taiwanese political parties and military suppliers; the Philippine Coast Guard and government entities; an Italian foreign-policy think tank; Argentina's foreign ministry; Eswatini's national data center; Peru's Ministry of Defense; Mexico's economy ministry; India's national electronic toll collection system; and organizations in Brazil. The reporting also describes broader targeting across Asia, Africa, Latin America, and the Caribbean, without identifying every affected country. These observations do not establish successful compromise in each location. Source

Who uses this technique?Get the actors, campaigns, and ATT&CK mapping behind it.
Get the tradecraft
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

7 events · Nov 17, 2026 – Nov 23, 2026
  1. Reported Dec 3, 202610h ago

    Apiiro reveals 80,409 espionage commands preserved in GitHub history

    Apiiro decoded 80,409 commands preserved in public GitHub commit histories and identified 104 associated repositories, including 92 connected to victim machines, exposing approximately two years of tasking against targets in 23 countries. Researchers assessed that the operators worked from mainland China but cautioned that command records alone did not establish successful execution and that implant responses were stored in inaccessible private repositories.

    GitHub History Exposes Two Years of Chinese Espionage Orders - SecurityWeek
  2. Reported Dec 3, 202610h ago

    Attackers continue KMT operations after the campaign is exposed

    After Kaspersky's disclosure, the attackers continued activity against Taiwan's Kuomintang, planting loaders and drivers through Group Policy tasks and deploying a proxy on a machine.

    GitHub History Exposes Two Years of Chinese Espionage Orders - SecurityWeek
  3. Reported Dec 3, 202610h ago

    Bronze Sandcastle conducts a two-year international espionage campaign

    The Chinese-speaking actor tracked by Sophos as Bronze Sandcastle allegedly targeted organizations across 23 countries, including Taiwanese political parties, the Philippine Coast Guard, and government and commercial entities. The operation used GitDoor and GraphDoor backdoors and abused GitHub, Microsoft SharePoint, and Ably to conceal command-and-control traffic.

    GitHub History Exposes Two Years of Chinese Espionage Orders - SecurityWeek
  4. Nov 23, 202611d ago

    Attackers open a session on a KMT machine containing website folders

    The attackers opened a session on a Kuomintang machine containing folders for the party's website and payment site.

    GitHub History Exposes Two Years of Chinese Espionage Orders - SecurityWeek
  5. Nov 20, 202614d ago

    Attackers target another Philippine government entity

    The operators targeted another Philippine government entity after the public disclosure of Operation ShadowCloud.

    GitHub History Exposes Two Years of Chinese Espionage Orders - SecurityWeek
  6. Nov 17, 202617d ago

    Kaspersky exposes Operation ShadowCloud

    Kaspersky published its report exposing Operation ShadowCloud, identifying operational overlaps with the Chinese-speaking groups FamousSparrow and CopperTurtle.

    GitHub History Exposes Two Years of Chinese Espionage Orders - SecurityWeek
  7. Nov 17, 202617d ago

    Attackers upload a Windows kernel exploit shortly before public disclosure

    The attackers uploaded a Windows kernel exploit to a repository minutes before Kaspersky published its Operation ShadowCloud report.

    GitHub History Exposes Two Years of Chinese Espionage Orders - SecurityWeek
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Threat actors

1 linked

Malware

2 linked

Organizations

10 linked
Democratic Progressive PartyKuomintangPhilippine Coast GuardArgentina Ministry of Foreign AffairsEswatini National Data CenterTaiwan People’s PartyPhilippine Department of JusticePeru Ministry of DefenseMexico Secretariat of EconomyOffice of Cybercrime, Philippine Department of Justice
Do you run this?Get the adversaries, campaigns, and ATT&CK mapping behind this technique, with detections ready to deploy.
See Who Uses This Technique
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.