Public GitHub History Exposes 80,409 Commands From China-Linked Espionage Campaign
Attack Tradecraft · 4 sources · Updated 4h ago · First seen Dec 3, 2026

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


