A sophisticated, large-scale malware distribution campaign operating across GitHub, identifying over 10,000 repositories actively serving Trojan malware disguised as legitimate open-source projects.
Documented by OrchidFiles, the campaign has been running undetected for months, in some cases over a year, exploiting critical gaps in GitHub’s automated security systems.
The discovery began when the researcher searched for their own GitHub project on Bing and found an exact clone complete with commit history and contributor attribution with one critical addition: a link to a malicious ZIP archive embedded in the README file.
10000 GitHub Repositories Compromised
Closer monitoring revealed a telling behavioral pattern: every few hours, these repositories deleted the previous commit and pushed an identical new one, each containing only a single README update that linked to the malicious archive.
This commit cycling behavior is suspected to be a deliberate evasion technique designed to bypass GitHub’s automated security detection algorithms.
Each malicious repository contains a ZIP archive with four files an entry point command script (Application.cmd or Launcher.cmd), a primary executable payload (loader.exe, luajit.exe, or a randomly named binary), a randomly named .cso or .txt file, and lua51.dll, a legitimate library included as cover.
Critically, submitting the archive link to VirusTotal returns zero detections. However, scanning the ZIP file itself triggers Trojan detection, indicating that threat actors deliberately structured the payload to exploit URL-based scanning blind spots.
The technique mirrors tactics documented in an April 2026 Hexastrike report that identified 109 repositories distributing SmartLoader and StealC malware through the same delivery mechanism.
Unable to scan all 500 million GitHub repositories within API rate limits of 5,000 requests per hour, the researcher leveraged GH Archive, a public service that logs all GitHub events daily.
Filtering through 16 million commit push events over five days, the researcher’s custom script identified repositories updated between 1 and 24 times per 24-hour period, then applied a layered pattern-matching filter.
The pattern required that only the README file be modified per commit, and that all commits be named "Update README.md", that the commits be copied from a legitimate external repository, that the repository not be a fork, that multiple human contributors be listed, and that a significant time gap exist between the latest and previous commits.
Of 40,000 repositories matching the update frequency criteria, 10,000, exactly 25%, fully matched every malicious indicator. A complete list and the open-source detection script, Git Malware Finder, have since been published on GitHub.
OrchidFiles stated that the campaign appears to be engineered to maximize organic discoverability while bypassing platform trust signals.
By targeting new repositories rather than popular ones, the malicious clones surface prominently in search engine results for low-competition queries and appear under popular GitHub topic tags, increasing the chance of discovery by unsuspecting developers.
Preserving full commit histories and contributor profiles from legitimate repositories builds a false sense of credibility; visitors see seasoned contributors and multi-year project activity rather than obviously throwaway accounts.
After the full list of 10,000 repositories was published, GitHub deleted only those explicitly named in the researcher’s text file it did not run its own detection logic, develop an independent script, or even monitor the researcher’s list for updates.
When the script was rerun days later, newly created malicious repositories remained live for over 48 hours without an automated response. Most concerning, a native GitHub search instantly surfaces many of these repositories requiring no custom tooling whatsoever.
The researcher is calling on anyone with direct access to GitHub’s security team to escalate the issue, as the scheme is expected to continue without platform-level automation.
Follow us on Google News , LinkedIn and X to Get More Instant Updates. Set Cyberpress as a Preferred Source in Google.