Inside the GitHub Trap: How Fake VS Code Alerts Are Luring Developers Into Installing Malware

Threat actors are filing fake security issues on GitHub repositories, tricking developers into downloading malicious VS Code extensions that deploy infostealing malware. The campaign exploits developer trust in familiar tools and workflows, raising alarms about supply chain security across open-source projects.
Inside the GitHub Trap: How Fake VS Code Alerts Are Luring Developers Into Installing Malware
Written by Ava Callegari

A sophisticated social engineering campaign is targeting software developers on GitHub, weaponizing the trust they place in familiar tools like Visual Studio Code. The attackers aren’t exploiting a zero-day vulnerability or breaking through firewalls. They’re filing fake issues on open-source repositories and hoping someone clicks.

The scheme works like this: threat actors open GitHub issues on popular projects, warning maintainers and contributors that a supposed “security vulnerability” has been discovered. The issue contains a link to what appears to be a VS Code extension or update — but is actually a malicious installer designed to deploy infostealing malware on the victim’s machine. It’s a low-tech approach with a high potential payoff, and it’s catching real developers off guard.

As first reported by TechRadar, the campaign was identified by security researchers who observed a wave of fraudulent GitHub issues across multiple repositories. The fake alerts are crafted to look urgent and legitimate, mimicking the kind of security advisories that developers routinely encounter. Some reference specific CVE numbers. Others invoke the names of well-known security organizations. All of them point to the same thing: a download that no developer should trust.

The malware delivered through these campaigns typically falls into the infostealer category — programs designed to harvest credentials, browser cookies, cryptocurrency wallet data, and session tokens. For a developer, the consequences of infection can be catastrophic. A compromised machine might give attackers access to private repositories, deployment keys, cloud infrastructure credentials, and API secrets. One infected workstation can become the entry point for a supply chain attack affecting thousands of downstream users.

This isn’t the first time GitHub has been used as a distribution vector for malware. In recent years, threat actors have grown increasingly comfortable abusing the platform’s features — from release pages and repository descriptions to the comments sections of issues and pull requests. GitHub’s open, collaborative nature, the very quality that makes it indispensable to modern software development, also makes it a fertile hunting ground for social engineers.

Why Developers Keep Falling for It — and What Makes This Campaign Different

What distinguishes the current wave of attacks is the specificity of the targeting. These aren’t mass phishing emails blasted to a million inboxes. They’re tailored messages dropped into the workflows where developers actually live. A GitHub issue notification lands in a maintainer’s inbox looking like any other contribution or bug report. The context is right. The language is plausible. And the urgency — a purported security flaw — creates exactly the kind of pressure that short-circuits careful evaluation.

Security researchers have noted that the fake VS Code extensions used in some variants of this campaign are hosted on lookalike domains or even on the Visual Studio Marketplace itself, at least temporarily, before being flagged and removed. Microsoft has been engaged in an ongoing effort to police its extension marketplace, but the sheer volume of submissions makes comprehensive vetting difficult. Extensions can be published with minimal review and gain initial traction before automated or manual checks catch up.

The broader pattern here is one of trust exploitation. Developers trust GitHub notifications. They trust VS Code extensions. They trust security advisories that reference familiar frameworks and libraries. Attackers know this and are building their campaigns around those trust relationships with increasing precision.

And it’s working.

Reports from multiple security firms in recent months have documented a steady rise in developer-targeted social engineering. According to research shared across threat intelligence channels, campaigns like these have been linked to financially motivated groups as well as state-sponsored actors, particularly those associated with North Korea’s Lazarus Group, which has a well-documented history of targeting developers and cryptocurrency projects. While there is no confirmed public attribution connecting this specific VS Code campaign to Lazarus, the operational playbook — fake job offers, bogus security tools, trojanized developer utilities — is strikingly similar.

The mechanics of the malware itself vary. Some payloads are straightforward infostealers like Lumma or RedLine, commodity tools available on dark web marketplaces for as little as a few hundred dollars a month. Others are more bespoke, designed to persist on the system, exfiltrate data over encrypted channels, and evade endpoint detection. In some observed cases, the initial payload acts as a loader, pulling down additional modules based on the victim’s environment — different tools for Windows versus macOS, different exfiltration targets depending on what software is installed.

For open-source maintainers, the situation is particularly grim. Many maintain critical infrastructure projects in their spare time, without dedicated security teams or even formal processes for triaging incoming issues. A fake security alert that looks convincing enough can easily slip past a tired maintainer reviewing issues on a Saturday afternoon. The attackers are counting on exactly that kind of human vulnerability.

GitHub has implemented some countermeasures. The platform uses automated systems to detect and remove malicious content, and it allows repository owners to restrict who can open issues. But these measures are reactive by nature. A malicious issue only needs to exist long enough for one person to click the link. Minutes can be sufficient.

So what should developers do? The standard advice applies but bears repeating. Never install extensions or tools from links in GitHub issues without independently verifying the source. Check the publisher of any VS Code extension against known, trusted accounts. Be deeply skeptical of any issue that creates urgency around a security vulnerability — legitimate security researchers almost always follow coordinated disclosure practices, not drive-by issue filings. And enable two-factor authentication everywhere, because stolen credentials from an infostealer become far less useful when a second factor stands in the way.

Organizations that employ developers should also be paying attention. Security awareness training tends to focus on email phishing and business email compromise. But the attack surface for developers extends into code repositories, package managers, extension marketplaces, and collaboration platforms. Training programs that ignore these vectors are leaving a significant gap.

The fundamental tension here won’t be resolved easily. Open-source development depends on open collaboration. Anyone can file an issue. Anyone can suggest a fix. Anyone can publish a package or an extension. That openness is what powers the software that runs most of the internet. But it’s also what makes developers uniquely vulnerable to the kind of trust-based attacks now proliferating across platforms like GitHub.

The attackers understand the culture. They speak the language. They know what a legitimate security advisory looks like, what a real VS Code extension page looks like, what a credible GitHub issue reads like. Defending against them requires developers to bring the same rigor to evaluating incoming alerts that they bring to reviewing code. No shortcuts. No assumptions. Every link verified before it’s clicked.

That’s a high bar. But the alternative — a compromised development environment feeding malware into production systems — is far worse.

Subscribe for Updates

CybersecurityUpdate Newsletter

The CybersecurityUpdate Email Newsletter is your essential source for the latest in cybersecurity news, threat intelligence, and risk management strategies. Perfect for IT security professionals and business leaders focused on protecting their organizations.

By signing up for our newsletter you agree to receive content related to ientry.com / webpronews.com and our affiliate partners. For additional information refer to our terms of service.

Notice an error?

Help us improve our content by reporting any issues you find.

Get the WebProNews newsletter delivered to your inbox

Get the free daily newsletter read by decision makers

Subscribe
Advertise with Us

Ready to get started?

Get our media kit

Advertise with Us