Friday, September 11, 2026

Hackers Target Developers Using Malicious VS Code and Cursor AI Extensions

Visual Studio Code and AI-powered IDEs such as Cursor AI and Windsurf are emerging as one of the most critical and overlooked attack surfaces in the modern software supply chain.

Installed on millions of developer machines worldwide, these tools often run with access to source code, secrets, and production credentials.

New research shows that compromising developers via malicious extensions is not only feasible but also alarmingly easy.

Security researcher Mazin Ahmed demonstrated how a seemingly benign VS Code extension can be turned into a powerful backdoor while evading Microsoft’s marketplace checks, antivirus engines, and popular endpoint security products.

To test the ecosystem’s defenses, Ahmed created “Piithon-linter,” a fake Python linter pitched as a code formatter with “magical” capabilities.

Behind the scenes, the extension quietly exfiltrated environment variables and system metadata each time VS Code launched.

Because VS Code inherits the environment variables of the shell that starts it, this data can include highly sensitive secrets such as cloud keys and access tokens.

In a real-world attack, those values could be sent directly to an attacker-controlled command-and-control (C2) server as soon as the developer opens their IDE.

Piithon-linter from the VS Code marketplace.
Piithon-linter from the VS Code marketplace.

Ahmed packaged Piithon-linter as a standard VSIX and submitted it to Microsoft’s official VS Code Marketplace.

How Malicious Extensions Operate

Despite containing obviously malicious behavior with no obfuscation, the extension was approved and publicly listed. Any developer could discover and install what was, in effect, packaged malware.

The researcher then turned to OpenVSX, the open-source extension marketplace that powers many VS Code forks and AI-driven IDEs, including Cursor AI, Windsurf, and AWS Kiro. There, the extension was again accepted and made searchable.

Demo.

According to the research, OpenVSX currently performs virtually no automated security checks, relying instead on user reporting and terms-of-service compliance a model unlikely to deter determined adversaries.

In a second phase, Ahmed upgraded Piithon-linter into a full backdoor. The extension added explicit antivirus and EDR checks, simple geofencing logic, and automated deployment of the Merlin post-exploitation agent for Windows, macOS, and Linux.

The code to detect security products and sandbox environments was intentionally left unobfuscated and easy to spot, yet the extension still passed Microsoft’s malware scans and sandbox execution. VirusTotal also failed to flag the samples.

Future Implications for Developer Security

Because VS Code auto-launches installed extensions and updates them by default, such a backdoor gains persistent, renewable access to developer machines.

Each IDE restart can re-establish attacker control or deliver new payloads, all under the guise of a trusted marketplace extension.

Without stronger, layered security controls on VS Code, OpenVSX, and the AI-powered IDEs that depend on them, malicious extensions could enable some of the most consequential breaches the industry has yet seen.

Ahmed responsibly disclosed the findings to Microsoft, the Eclipse Foundation (maintainer of OpenVSX), and Cursor AI. Microsoft classified the issue as low severity, emphasizing user responsibility in choosing extensions.

The Eclipse Foundation has indicated plans to add security controls, while Cursor AI reports adding publisher verification, extension ranking changes, and its own malware scanning though Piithon-linter still passed as safe in tests.

The broader takeaway is stark: developer IDEs have become a high-value, weakly defended supply chain chokepoint.

Follow us on Google NewsLinkedIn, and X to Get Instant Updates and Set GBH as a Preferred Source in Google.

Mayura Kathir
Mayura Kathirhttps://gbhackers.com/
Mayura Kathir is a cybersecurity reporter at GBHackers News, covering daily incidents including data breaches, malware attacks, cybercrime, vulnerabilities, zero-day exploits, and more.

Hot this week

How To Access Dark Web Anonymously and know its Secretive and Mysterious Activities

What is Deep Web The deep web, invisible web, or...

How to Build and Run a Security Operations Center (SOC Guide) – 2023

Today’s Cyber security operations center (CSOC) should have everything...

Russian Hackers Bypass EDR to Deliver a Weaponized TeamViewer Component

TeamViewer's popularity and remote access capabilities make it an...

Web Server Penetration Testing Checklist – 2026

Web server pentesting is performed under three significant categories: identity,...

ATM Penetration Testing – Advanced Testing Methods to Find The Vulnerabilities

ATM Penetration testing, Hackers have found different approaches to...

OpenMatter Network Realigns Leadership Team to Accelerate Global Commercial Growth

Melbourne, Florida, September 10th, 2026, CyberNewswire With its Verification Architecture...

Hackers Can Turn Vulnerable LiteLLM AI Gateways Into Root Access and Cloud Credential Theft

Nearly one in 10 internet-exposed LiteLLM AI gateways accepted...

Skullcandy Dime 3 Bluetooth Flaw Lets Nearby Attackers Hijack Audio and Microphone

Skullcandy Dime 3 wireless earbuds have a serious vulnerability...

Hackers Steal Active Directory Password Hashes Without Attacking Domain Controllers Directly

Threat actors are increasingly exploiting Active Directory replication mechanisms...

Fake GTA 6 Installer Steals Browser Passwords, Discord Tokens and Crypto Data From Gamers

Threat actors are exploiting anticipation around Grand Theft Auto...

Apple Xcode Integer Underflow Flaw Lets Crafted Archives Leak Memory and Crash Builds

A recently disclosed integer-underflow vulnerability in Apple’s modern Mach-O...

Palo Alto PAN-OS Buffer Overflow Lets Attackers Execute Arbitrary Code as Root

Palo Alto Networks has announced a high-severity buffer overflow...

New Phishing Attack Uses Blob URLs to Hide Malicious Pages From Security Scanners

A phishing campaign that moves the credential-harvesting page out...

Related Articles

Recent News