How Fake GitHub Repositories Are Spreading Infostealer Malware and What You Should Know

Hundreds of malicious GitHub repos posing as legitimate software distribute an infostealer targeting browsers, crypto wallets, and messaging apps. Learn how this attack works and how to protect yourself.

How Fake GitHub Repositories Are Spreading Infostealer Malware and What You Should Know
Sarah Collins

Sarah Collins

Computing Editor

Specializes in PCs, laptops, components, and productivity-focused computing tech.

What risks do fake GitHub repositories pose to developers and users?

Malicious actors have created numerous GitHub repositories that imitate legitimate software projects but actually deliver infostealer malware. When users download and run these fake tools, the malware extracts sensitive data from their systems. This includes passwords, cookies, payment data, cryptocurrency wallets, credentials for messaging platforms, and other valuable information stored in browsers and applications.

Such scams exploit the trust users have in GitHub as a premier source of software. Users and developers relying on open-source code may unknowingly incorporate infected repositories into their projects or devices, potentially compromising their digital security.

How does the infostealer malware operate and bypass protections?

Threat actor impersonated hundreds of brands on GitHub to push infostealer  malware - Help Net Security
Threat actor impersonated hundreds of brands on GitHub to push infostealer malware - Help Net Security

The malicious software downloaded from these repositories is a variant of the BoryptGrab infostealer family. It targets:

  • Credentials from 19 different browsers, including saved passwords and payment details
  • Data from 32 cryptocurrency wallets
  • User sessions and credentials from messaging apps like Telegram and Discord, as well as gaming platforms such as Steam
  • Windows Credential Manager information
  • Files from user folders like Desktop and Documents
  • Screen captures

A notably advanced feature of this malware allows it to bypass Chrome's App-Bound Encryption protection by injecting code directly into the browser process. This increases its effectiveness at stealing sensitive information that typically would be protected.

Interestingly, the malware is designed for rapid data extraction rather than long-term persistence. It does not attempt to hide aggressively or establish itself deep within the system, making detection possible with standard security tools if caught promptly.

What steps can protect you from these deceptive GitHub threats?

Although most malicious repositories have been removed, some remain active and continue to pose a threat. To reduce risk:

  • Verify the authenticity of any software you download from GitHub. Check repository ownership, stars, forks, and reviews before trusting a project.
  • Audit and scan third-party code thoroughly. Use security tools to analyze code for malicious behavior before integrating it into your projects.
  • Keep browsers, wallet software, and security applications updated. Updates often patch vulnerabilities that malware exploits.
  • Use dedicated security software that can detect and block known infostealer signatures and suspicious activity.
  • Limit the use of unfamiliar tools or scripts, especially those promising similar functionality to widely trusted software but from unknown sources.

By adopting caution and leveraging good security hygiene, users and developers can significantly reduce the risk posed by these malware-laden repositories on open platforms.

React to this story

Related Posts