Skip to main content
Mallory
← Back to News
credential-stealer-activityloader-delivery-mechanismpackage-repository-poisoningpayload-delivery-evasion

Fake GitHub Repositories Deliver Lua-Based Malware to Developers

Malware Intelligence · 4 sources · Updated 4mo ago · First seen Apr 14, 2026

Fake GitHub Repositories Deliver Lua-Based Malware to Developers

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
Hunt this familyPull IOCs and campaign context straight into your stack.
Get the IOCs
Event timeline

How this story unfolded

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

5 events · Feb 11, 2026 – Apr 22, 2026
  1. Apr 22, 20267mo ago

    Analysis links n8n lure to Lua loader using DLL sideloading and blockchain RPC

    Researchers reported that the downloaded archive from the fake n8n repository contained a Lua-based trojan loader detected by VirusTotal, with the inner archive flagged by 41 of 67 engines. The execution chain used DLL sideloading through a renamed Lua 5.1 interpreter to run obfuscated bytecode and then contacted a Polygon blockchain RPC endpoint, behavior assessed as consistent with crypto-clipper or wallet-drainer activity.

  2. Apr 22, 20267mo ago

    Malicious FakeGit repo targets n8n cybersecurity workflow users

    A repository named "n8n-CyberSecurity-Workflows" was identified as a malicious lure masquerading as security automation workflows on GitHub. The repo used trust signals such as stars, tags, an MIT license, and a README download button to attract red team, blue team, and AppSec users.

  3. Apr 12, 20268mo ago

    Hexastrike links 109 fake GitHub repos to SmartLoader and StealC campaign

    Researchers reported a large GitHub malware campaign using 109 fake repositories across 103 accounts to impersonate legitimate open-source projects and distribute SmartLoader, which then fetched StealC and other encrypted payloads from attacker-controlled GitHub infrastructure. Hexastrike said the operation had been active for at least seven weeks and was still expanding as of 2026-04-12, with centralized tradecraft including LuaJIT-based loading, Polygon RPC dead-drop resolution, and in-memory payload execution.

    109 Fake GitHub Repositories Used to Deliver SmartLoader and StealC Malware - Cyber Security News
  4. Feb 11, 202610mo ago

    Sansec publishes malicious GitHub accounts, repositories, and SHA1 indicators

    Alongside its report, Sansec identified multiple GitHub accounts and repositories involved in the campaign and released SHA1 hashes for shared LuaJIT components and repository-specific payload files. The disclosure provided technical indicators to help defenders detect related compromises.

  5. Feb 11, 202610mo ago

    Sansec identifies FakeGit GitHub malware campaign targeting Magento developers

    Sansec reported a FakeGit campaign using malicious GitHub repositories that impersonated legitimate Magento-related deployment, Docker, and configuration projects. The trojanized downloads delivered Windows malware including a remote access trojan and keylogger via LuaJIT-based loaders.

Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Malware

1 linked

Affected products

2 linked
GithubAdobe Commerce

Organizations

1 linked
GitHub

Observables

131 linked

Indicator values are masked on this page. View all 131 in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?Pull the IOCs, campaigns, and victimology behind this family, ready to push into your SIEM and EDR.
Hunt This Malware
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.