VSCode and One and a Half Million Victims: When AI Extension Becomes a Trojan Horse
В магазине расширений Microsoft VSCode обнаружили два вредоносных ИИ-инструмента, которые скачали более 1,5 миллиона раз. Хакеры получили доступ к конфиденциаль
AI-processed from 3DNews AI; edited by Hamidun News
Imagine you're building a digital fortress, but you leave the key under the doormat simply because the key has a tag that says "AI-Enhanced." This is exactly what happened to 1.5 million Visual Studio Code users who voluntarily installed malware on their work machines. The situation reads like a classic cyberpunk scenario: hackers exploit our obsession with artificial intelligence to breach the system from within, and they do it with maximum elegance. While the industry debates whether AI will replace programmers, the real threat came from the place where everyone expected it least — from Microsoft's official extension marketplace.
Visual Studio Code has long ceased to be just a text editor, transforming into a full-fledged operating system for developers. We trust the VSCode marketplace the same way we trust the App Store or Google Play, assuming that a corporation of Microsoft's caliber conducts at least basic audits of what appears on the shelf. However, reality proved harsher. Two extensions masquerading as useful AI tools for code writing didn't just hang in the marketplace — they were actively promoted to the top, accumulating hundreds of thousands of downloads. The irony is that developers, who are supposed to be the most vigilant users, turned out to be the easiest prey.
The mechanics of the attack were deceptively simple, yet effective. The extensions offered "intelligent" autocomplete and refactoring assistance, which in the era of widespread Copilot and Claude enthusiasm seems absolutely natural. But under the hood, these tools were doing something entirely different: they scanned the system for access tokens, API keys, and confidential code snippets, then neatly packaged this haul and sent it to servers linked to Chinese cyber groups. This isn't just password theft — it's access to the intellectual property of hundreds of companies and a potential gateway for backdoor insertion into their own products.
Why does this matter right now? We're in the "gold rush" phase of AI tools. Dozens of new plugins appear every day, promising to speed up coding tenfold. In this rush, critical thinking takes a backseat. Developers install extensions without verifying the author, without reading reviews, and without analyzing the permissions the software requests. Hackers understand this psychology perfectly: add the word AI or GPT to the name, and download numbers skyrocket while vigilance drops to zero.
Microsoft once again found itself at the center of a supply chain security scandal. This isn't the first time malware or junk has been discovered in the VSCode Marketplace, but the scale of 1.5 million systems is no longer a random error — it's a systemic failure. The problem is that automated marketplace verification systems are easily bypassed through code obfuscation or delayed malicious payload delivery. If the company doesn't change its approach to extension verification, VSCode will transform from a convenient tool into the primary security hole for any technology company.
This story is a cold shower for everyone accustomed to trusting "official" sources. It reminds us that in the software world, there's no such thing as absolute security, especially when third-party add-ons are involved. While we wait for AI to start writing perfect, error-free code, hackers are already using AI as the perfect bait for those who write that code. And judging by the number of victims, this strategy works flawlessly.
Bottom line: Trust in marketplaces is an illusion, and 1.5 million people will now pay for that illusion. Are you ready to check your list of extensions right now?
Want to stop reading about AI and start using it?
AI News is a curated feed of AI/tech news. Hamidun Academy teaches you to use AI systematically in your work.