Fake GitHub Repositories Deliver Lua-Based Malware to Developers
Malware Intelligence · 4 sources · Updated 4mo ago · First seen Apr 14, 2026

Security researchers reported a FakeGit campaign using counterfeit GitHub repositories to trick developers into downloading trojanized tools, with Magento developers among the primary targets. The repositories copied code, commit history, and project structure from legitimate open-source deployment, Docker, and configuration projects so that authentic contributor names appeared alongside the fake repos, increasing credibility. Victims were directed to download ZIP archives that contained a LuaJIT runtime, a batch launcher, and obfuscated Lua payloads that installed Windows malware, including a remote access trojan and keylogger; Sansec also published malicious GitHub accounts, repository names, and SHA1 hashes tied to the operation.
A related lure expanded the campaign beyond Magento by impersonating a security automation project named n8n-CyberSecurity-Workflows, targeting red team, blue team, and AppSec users with GitHub stars, an MIT license, and a README download button. Analysis of the downloaded archive found a Lua-based trojan loader using DLL sideloading through a renamed Lua 5.1 interpreter to execute obfuscated bytecode, with VirusTotal detections labeling the payload as trojan.fakegit/runner. The malware was also observed contacting a Polygon blockchain RPC endpoint, behavior researchers said aligns with crypto-clipper or wallet-drainer activity, indicating the FakeGit operation is using trusted developer platforms to distribute credential theft and broader financially motivated malware.
Why it matters
Impact assessment
This campaign targets developers who download tools from GitHub, with Magento developers specifically targeted and broader lures aimed at red team, blue team, and AppSec users. Impact is high for affected endpoints because the delivered malware includes a loader, remote access trojan, keylogger, and information stealer functionality, creating risk of credential theft, wallet theft, host compromise, and follow-on intrusion.
Exposure is broad rather than narrowly targeted: researchers identified 109 fake repositories across 103 GitHub accounts, with active expansion and partial automation indicating sustained distribution at scale. There are confirmed malicious repositories and observed malware execution chains in the wild, but the reporting does not quantify victim counts.
Affected populations
- Developers downloading tools, deployment packages, Docker-related projects, and configuration utilities from GitHub
- Magento developers and Magento-adjacent engineering teams
- Security practitioners searching for n8n security workflows, including red team, blue team, and AppSec users
- Windows endpoints used for development, testing, or administrative work
Severity and business risk
- Credential theft from developer workstations can lead to source code, CI/CD, cloud, and production access compromise
- Remote access and keylogging enable persistent endpoint compromise and lateral movement opportunities
- Screenshot and host-data exfiltration increase exposure of secrets, tokens, and sensitive internal information
- Financially motivated payload behavior suggests risk of wallet theft, clipboard hijacking, or broader fraud
- Reputational and operational impact is elevated if compromised developer systems are used to tamper with software releases or infrastructure
Scope and exploitation status
- 109 fake repositories across 103 GitHub accounts were identified
- Campaign activity persisted for at least seven weeks and was still expanding as of 2026-04-12
- Repository creation, batch updates, and link rotation indicate centralized operator control and repeatable tradecraft
- Malicious repositories impersonated legitimate open-source projects by copying code, structure, and commit history to increase trust


