A new cyber campaign called GitVenom poses a serious risk to developers. Security researchers found over 200 fake GitHub repositories that disguise themselves as legitimate projects to distribute information stealers and remote access trojans (RATs).
For almost two years, these repositories have exploited developers’ trust in open-source platforms to access systems and steal sensitive data, such as cryptocurrency wallets and browser credentials.
The GitVenom campaign creates realistic README.md files using AI-generated documentation, including multilingual installation guides and feature descriptions.
Attackers boost repository credibility by using automated timestamp updates to simulate frequent commits. Python projects may use a method where code decrypts and executes a harmful Python script, followed by many tab characters.
This script decrypts and runs a payload that downloads more malware from a GitHub repository controlled by an attacker.
JavaScript projects use Base64 encoding to hide functions that decode malicious scripts, while C/C++/C# repositories conceal batch scripts in Visual Studio project files, which activate payloads during builds.
Kaspersky’s data shows that infections are mainly in Russia, Brazil, and Turkey, indicating the campaign’s wide reach. GitVenom repositories imitate popular tools like Valorant cheats and Telegram bot integrations to attract developers.
Attackers misuse GitHub’s fork feature to clone legitimate projects, add hidden malware, and share them on forums and social media. Apiiro researchers found that even with automated takedowns, 1% of malicious repositories go undetected, allowing them to infect thousands of users.
Developers should implement strict code-review practices to address these threats:
Audit third-party code for issues like excessive whitespace or unclear functions.
Check repository authenticity by reviewing contributor history, star counts, and creation dates; new accounts with little activity may indicate fraud.
Use endpoint detection tools to identify suspicious activities, such as unauthorized .7z file creation or unexpected network connections to Telegram APIs.
CISA Flags Oracle Agile PLM Actively Exploited Security Flaw