The Library

GitHub Command and Control: Espionage Operation Sent 80,409 Commands Through Public Repositories, What Is Confirmed and What to Check This Week

Researchers say a Chinese-speaking espionage operation used public GitHub repositories to send commands to compromised computers for about two years. Here is what is confirmed, what is not, and what a business network should check this week.

Elite Performance Exclusive LLC 6 min read

Where United States, Philippines · Africa, Asia, Central Asia, Southeast Asia, North America, United States & Canada

GitHub Command and Control: Espionage Operation Sent 80,409 Commands Through Public Repositories, What Is Confirmed and What to Check This Week
On this page 8 sections

Researchers say a Chinese-speaking espionage operation used public GitHub repositories to send commands to compromised computers for about two years. It matters to any business because traffic to a trusted service like GitHub looks normal on most company networks, and that is exactly why attackers hide in it.

No patch fixes this, because the sources do not describe a software flaw. What helps is knowing which of your machines should be talking to which cloud services, and noticing when one starts behaving differently.

What happened with the GitHub espionage operation

Two separate reports describe attackers using everyday cloud services as their command channel.

The Apiiro findings. According to Cybersecurity News, security firm Apiiro said in a December 2 report that it recovered 80,409 commands linked to organizations in at least 23 countries. The operators posted those commands through public GitHub repositories, and compromised computers picked them up. Apiiro said GitHub had removed all 104 repositories by November 25. We could not read Apiiro's own report for this article, so every Apiiro figure here comes from that news coverage.

The Kaspersky findings. In a press release dated November 17, 2026, Kaspersky described a campaign targeting government organizations in Southeast Asia, Africa, and Central Asia. The attackers launched one of two backdoors that had not been documented before: GitDoor or GraphDoor. Kaspersky says the backdoors collect system information and connect to cloud services such as GitHub, Microsoft SharePoint, and Ably for command and control.

The sources do not say Apiiro and Kaspersky are describing the same operation. Treat them as two reports showing the same idea: hiding attacker instructions inside services that companies already trust.

Who the GitHub command server targeted

As reported from Apiiro's findings:

  • The Philippine Coast Guard drew 3,696 commands over a year, more than any other victim in the report.
  • A major U.S. industrial union: the operators requested staff email archives, including two named for its top officer.
  • A website vendor: in November, the operators told the vendor's server to package 32 folders. The logs show no access to the network of the vendor's client.

Kaspersky's campaign targeted government organizations in Southeast Asia, Africa, and Central Asia.

The website vendor case is the one most businesses should notice. The attackers did not need to break into the client. They went to the company that built and hosted its website.

What is claimed and what is confirmed

Point What the sources say
Command count 80,409 commands recovered, per Apiiro as reported by Cybersecurity News
Did the commands work? Not established. The counts reflect requests, not confirmed theft or execution
Are the machines clean now? Not established. Removing the repositories disrupted the channel but did not show infected machines were clean
Who is behind it Apiiro assessed the operators worked from mainland China, based on their use of Simplified Chinese. Kaspersky found possible links to Chinese-speaking groups including FamousSparrow and CopperTurtle
Attribution certainty The coverage says plainly that those clues do not establish who directed the operation

What is not known from these sources: how the computers were first infected, which software or settings were abused to get in, the full list of affected countries and organizations, and whether any indicators (file names, account names, network addresses) have been published that a business could search for.

Why GitHub command and control is hard to spot

Most attacker command servers live on infrastructure the attacker controls, and security tools learn to flag them. This operation took a different route. The infected computer reached out to GitHub, a service that developers, build servers and many business tools contact every day.

Kaspersky's release puts it this way: "This attack combines several tactics that may appear familiar but may be hard to detect"

On many networks, a server connecting to GitHub, SharePoint or a messaging service raises no alarm at all. Blocking those services outright is often not realistic either, because real work depends on them. The answer is context: knowing which machines have a reason to use each service.

What to do this week

Task How to check
List who needs GitHub Write down which machines and teams have a real reason to reach GitHub. Most office PCs, file servers and point-of-sale machines do not
Review outbound traffic Use your firewall or DNS logs to see which machines connect to GitHub, SharePoint and Ably. Look closely at any machine that is not on your list
Limit server egress Servers should only reach the destinations they need. A web server or database that can reach anywhere on the internet gives a backdoor a free path out
Watch for bulk archiving The reported commands asked for email archives and packaged folders. Unusual compression jobs or large outbound transfers deserve a look
Ask your vendors If an outside company builds or hosts your website, ask how they monitor their servers and how they would tell you about a compromise
Do not treat a takedown as a cleanup If you find a suspect machine, investigate it. A removed command channel does not mean the infection is gone

If you already watch outbound traffic for other threats, the same habit applies here. Our post on Webworm and the NtMonitor VPN bridge covers another case of attackers blending into normal-looking traffic in government networks.

Why it matters for a company network or website

The targets listed here are mostly government bodies and large organizations, but the method works against anyone. A business is exposed in two ways.

First, your own network. If a machine can freely reach any cloud service and nobody reviews those connections, a backdoor using GitHub or SharePoint can run for a long time without notice. About two years, in this case.

Second, your suppliers. The website vendor case shows attackers working through the company that runs a client's systems. If someone else hosts your site or manages your servers, their security is part of yours. Our post on who is patching your servers covers the questions to ask.

GitHub command and control questions people are asking

What is GitHub command and control?

It means attackers use GitHub to deliver instructions to infected computers instead of running their own server. The infected machine checks GitHub, finds the commands, and acts on them.

Was GitHub hacked?

The sources describe the operators using public repositories, not a breach of GitHub itself. GitHub removed all 104 repositories by November 25, according to the coverage of Apiiro's report.

Should my business block GitHub?

Not across the board if your developers or tools need it. Allow it only for the machines that need it, and review connections from everything else.

Who was behind the operation?

Apiiro assessed the operators worked from mainland China based on Simplified Chinese. Kaspersky found possible links to FamousSparrow and CopperTurtle. Those clues do not establish who directed it.

What are GitDoor and GraphDoor?

They are two backdoors Kaspersky says had not been documented before. They collect system information and connect to GitHub, Microsoft SharePoint and Ably for commands.

Is there a patch or fixed version?

The sources name no vulnerability and no fixed version. Defense here means monitoring and restricting outbound traffic.

Does 80,409 commands mean 80,409 thefts?

No. The counts reflect requests sent, not confirmed theft or execution.

The bigger lesson

Trusted services are not the same as trusted traffic. Attackers choose GitHub, SharePoint and similar platforms because companies let them through without a second look. The businesses that catch this kind of activity know which machines should talk to which services, keep server egress tight, and expect the same discipline from the vendors who run their websites and servers.

Want your network's outbound traffic reviewed and locked down? See security hardening or request a quote.

Get security alerts by email, with the free checklist, at /security-alerts.

Sources: Cybersecurity News: Chinese espionage commands exposed; Kaspersky press release.

Share X LinkedIn Facebook

Was this article helpful?

We only keep the note with this article. No name, no email.

Protected by reCAPTCHA - Privacy and Terms.

Have a question about this article?

Ask it here and we will answer you directly by email. Questions are private, never posted.

Protected by reCAPTCHA - Privacy and Terms.

Security alerts by email

Hear about the next one first.

When attackers start using a flaw in software businesses run on, we email what it is, whether it touches you and what to do that week, with a round-up of our latest security writing. Free, one-click unsubscribe. You get the checklist straight away: 12 things to secure this week.

Protected by reCAPTCHA - Privacy and Terms.

Want a result like this?

Security alerts, breaches and the technology a business runs on: what happened, who it affects and what to do.

Get a Tech Quote

Security alerts by email

The next security hole is already out there. Hear about it from us first.

When attackers start using a flaw in software businesses run on, we email what it is, whether it touches you and what to do that week, with a round-up of our latest security writing. Free, one-click unsubscribe. You get the checklist straight away: 12 things to secure this week.

Protected by reCAPTCHA - Privacy and Terms.