Inside FakeGit: How Trusted-Looking GitHub Repositories Deliver SmartLoader
Blog Post

Inside FakeGit: How Trusted-Looking GitHub Repositories Deliver SmartLoader

Malware
Threat Intelligence
October 20th 2026
Share this Post

Key Takeaway: Cybercriminals are (still) using fake GitHub repositories to spread SmartLoader, a multi-stage malware loader. They’ve been at it since March 2026, at least. The repositories pass as real tools, with believable names, polished READMEs and months of history, and the lures keep shifting to whatever developers are searching for. Every download should be inspected as a whole before anyone runs or shares it. 

Apiiro’s October 2026 report identified 17,610 repositories distributing FakeGit/SmartLoader, putting users downloading privacy software, cybersecurity tools, crypto utilities, and other open-source apps at risk. Many were re-armed through README-only edits that changed where the Download button points, so the page stays identical while the file behind it changes. A user who follows the setup guide ends up with a ZIP of ordinary-looking files that launch the infection chain and slip past file-by-file checks. 

The main lesson: just because you vetted the repository, it doesn’t mean the archive is safe; inspect what it is asking users to download, ideally before execution or redistribution. 

Here’s how FakeGit’s attack flow works, why it works, and where to look to find what’s active and harmful inside the repository. 

 

Figure 1. Public reporting shows how FakeGit turns a trusted-looking repository into a SmartLoader delivery chain. Source: Apiiro. 

 

The Campaign Has Continued to Refine Its Lures since March 2026 

Researchers have now documented the campaign at four separate points. 

Earlier in 2026, Derp published one of the deepest technical analyses of the campaign, showing GitHub repositories that handed out ZIP archives containing a LuaJIT-based loader chain. SmartLoader carried no fixed command-and-control (C2) address. Instead, it looks the address up on the  Polygon Mainnet smart contract every time it runs. The operators could publish a new address that every copy of the loader picks up, with nothing to rebuild and nothing to redistribute. 

By August, Netskope reported a related SmartLoader campaign in cloned AI-themed repositories. Here, SmartLoader was deployed in two stages, each resolving its C2 via blockchain-backed infrastructure. Island had earlier reported hundreds of fake AI skills and MCP server repositories delivering malware the same way, planted where developers now go looking for tools. 

In October, Apiiro counted 17,610 repositories associated with the campaign and found that many had been re-armed through README-only edits. The repository and its history stayed in place, and only the README's Download link was pointed at a different archive. 

Across these reports, the C2 address, the theme of the lure and the file behind the link have all been swapped out while the campaign kept running.  

Block a server and a new address takes its place. Remove a ZIP, and the same README can link to another. A repository that looked clean in March says little about what it serves in October, and even less about what it will serve in December. 

The Repository Is Only Step One 

The repository itself is often only the first layer of deception. The bait, if you will. The real risk begins when the user clicks the download link and retrieves the archive behind it. 

 

 

Figure 2. In FakeGit lures, the repository often looks normal. The real risk sits behind the download link. Source: Apiiro. 

 

A repository can look routine even when the archive behind its download link contains a compact but effective loader chain. Typical FakeGit ZIPs package only a small set of components, each serving a specific role under filenames that vary from sample to sample. 

In one representative sample, the archive contained: 

  • Launcher.cmd 

  • luajit.exe 

  • lua51.dll 

  • Crtd.txt 

 The main point is that none of those names rings any alarms when simply glanced over. It’s when you take a closer look that the malicious nature behind them becomes visible. 

 

Thorough Inspection Exposes the Payload Hidden Across Four Files 

Public research and our own review of a recent sample in MetaDefender™ Cloud reveal the pattern: the malicious chain is spread across the archive instead of sitting in one obviously malicious executable. 

In the sample, luajit.exe appears to be a LuaJIT interpreter or close derivative used as the runtime. The batch file launches it. The DLL supports it. The seemingly harmless .txt file is not a note or log at all, but a heavily obfuscated Lua payload. 

Reputation alone can be misleading: 

  • a runtime binary may appear benign or low-signal in isolation 

  • a DLL may look like a normal dependency 

  • a batch launcher may be too small or too generic to attract attention 

  • a .txt file may not be treated as an obvious executable threat. 

But when the archive is inspected as a set, the picture changes. The launcher hands the .txt file to the LuaJIT runtime, which interprets the obfuscated script and begins the next stage of the infection chain.  

Figure 3. A representative SmartLoader archive contains several low-signal or legitimate-looking components whose combined behavior is far more revealing than any single file alone. Source: MetaDefender Cloud 

 

That is a useful reminder that inspection should happen at the archive level, not just at the level of the single extracted file. 

 

Ordinary Components and RePointing Leave Defenders Little to Trust  

Every stage of the chain is built from innocent-looking components, so it’s easy to be confused as a low-risk download: 

  • a launcher script starts it 

  • a repurposed runtime executes it 

  • a payload posing as a text file carries it 

  • the next stage is resolved at runtime 

 

Apiiro’s “RePointing” shows the repercussions of that mistake.  

  1. Repository appearance is not a stable trust signal. 

A project that looked benign last month may now point to a different archive. 

  1. Takedown pressure does not necessarily break the campaign. 

If one archive is removed, another copy can be linked from the same lure. 

  1. Inspection has to follow the download path. 

The object that matters most is often the ZIP itself, not just the repository hosting the link. 

  1. Redistribution creates secondary risk. 

Even if the original repository disappears later, a downloaded archive may already have been copied elsewhere. 

The FakeGit campaign is relevant beyond GitHub-specific security.  The broader concern is that normal software discovery workflows can steer users toward malicious archives that may be executed, shared, or redistributed without sufficient inspection. 

 

Before You Run It, Inspect It with MetaDefender Cloud 

Trust in a repository is usually inherited and FakeGit/ SmartLoader exploits it at every step.  

The repository can be polished and still link to a harmful archive. The archive can hold files that look innocent one by one, and the payload can sit in a script disguised as a text file, waiting for a runtime interpreter to execute it. Since the download link can be repointed at any time, an inspection of the repository becomes irrelevant almost immediately. The archive is what needs checking, and it needs checking before anyone runs it or passes it on. 

That is what MetaDefender Cloud is built to do. Upload a file or an archive, and several layers examine it together. Available layers depend on account type and license: 

  • Metascan™ Multiscanning scans the archive and the files inside it with 20+ anti-malware engines at once, so a threat that one engine misses is likely to be caught by another. 

  • The Deep CDR™ technology rebuilds supported file types without potentially harmful content, while keeping the file usable. Malicious content never gets a chance to execute. 

  • Predictive ALIN AI analyses file structure and other static attributes to predict whether a file is malicious, without running or detonating it.  

  • MetaDefender™ Aether adds adaptive sandbox analysis for evasive threats, with verdicts and threat scores appearing in the same MetaDefender Cloud dashboard. The full Aether pipeline requires package activation through OPSWAT sales. 

 

Developers, security teams and any organization that routinely pulls software from public repositories need to answer two questions before opening a download:  

  • What exactly is in it? 

  • Has it been inspected before anyone runs it or passes it along? 

Take the archive behind the next Download button to metadefender.com and scan it for free, with no account needed (daily limits apply). 

 

Frequently Asked Questions  

What is FakeGit / SmartLoader? 
FakeGit is a campaign that uses fake GitHub repositories to distribute SmartLoader, a multi-stage malware loader. The repositories look like real software, with believable names, polished READMEs and months of history, and they link to ZIP archives that start the infection chain. SmartLoader is reported to deliver further malware, including the StealC infostealer. 
How does a SmartLoader infection start?
A user finds a repository, follows its setup guide and downloads the ZIP archive behind the Download button. The archive holds a small set of files that launch the chain when run. Because the files look ordinary one by one, they can slip past file-by-file checks.
What is inside a typical SmartLoader ZIP?
In the sample analyzed with MetaDefender Cloud, the archive held four files: Launcher.cmd, luajit.exe, lua51.dll and crtd.txt. The launcher starts the LuaJIT runtime, the DLL supports it, and the .txt file is a heavily obfuscated Lua payload that the runtime executes to begin the next stage.
What is RePointing?
RePointing is Apiiro's term for editing only a repository's README to change where the Download button points. The repository, its history and its setup guide stay the same, while the file behind the link changes. Apiiro found that many of the 17,610 repositories had been re-armed this way.
How does SmartLoader find its command-and-control server?
SmartLoader carries no fixed command-and-control address. Each time it runs, it looks the address up on a Polygon Mainnet smart contract. The operators can publish a new address that every copy of the loader picks up, with nothing to rebuild or redistribute.
Why isn't a clean repository proof that a download is safe?
The page can stay identical while the file behind the Download button changes. A repository that looked benign last month may now point to a different archive, and removing one ZIP doesn't stop the campaign, because another can be linked from the same README.
What kinds of lures does the campaign use?
The lures have shifted over time. Reported themes include privacy software, cybersecurity tools, crypto utilities, browser tools, games, and fake AI skills and MCP server repositories.
Why do file-by-file checks miss SmartLoader?
The malicious behavior is spread across the archive. The runtime, DLL and launcher can each look benign or low-signal alone, and a .txt file is rarely treated as an executable threat. The attack only becomes clear when the files are inspected together as a set.
How can I check a download before running it?
Upload the file or the entire archive to MetaDefender Cloud at metadefender.com. Depending on acccount type and license, it can combine Multiscanning (20+ anti-malware engines), Deep CDR (rebuilds the file without content that shouldn't be there while keeping it usable), predictive AI (predicts whether a file is malicious without running it) and MetaDefender Aether (adaptive sandbox analysis for evasive threats). Free Scanning needs no account and is subject to daily limits.

 

Malware
Threat Intelligence