The VSCode Marketplace is pretty easy to hack with malicious extensions

Unlocked padlock on a computer keyboard



(Image credit: Unsplash / Fly:D)

VSCode Marketplace, a repository for Visual Studio Code (VSC) externsions, has poor security defenses, allowing threat actors to abuse it and distribute malicious code among the millions of its users, experts have warned.

A report from AquaSec tested the platform and concluded that abusing it to distribute malware (opens in new tab) was ridiculously easy. 

Furthermore, the researchers claim they weren’t the first to spot the flaws – some threat actors were already active. 

Spoofing important details

In a blog post (opens in new tab), AquaSec’s team outlined how it tried to upload a typosquatted, malicious version of a popular extension with 27 million downloads. 

It realized that the malware needed not even be typosquatted –  the platform has a feature called ‘displayName’ allowing the authors to name their extensions however they like – the name does not need to be unique. So, they named it exactly the same as the legitimate one.

Then, they realized that they could also use the same logo and description as the legitimate project.

Also, the details, while they get pulled from GitHub, can later be edited. That means that the attackers can easily spoof the project details and present the malware as a legitimate tool with a long development history. The only thing that couldn’t be spoofed was the number of downloads and the search ranking. 

“However, over time an increasing pool of unknowing users will have downloaded our faux extension. As these figures grow, the extension will gain credibility,” AquaSec said. “Additionally, since in the dark web it is possible to purchase various services, an extremely determined attacker could potentially manipulate these numbers by buying services which would inflate the number of downloads and stars.”

AquaSec also looked at the verification badge on VSCode Marketplace and concluded that the feature is meaningless, as any published with a purchased domain gets one, regardless of the relevance of the domain to the software project.

While the researchers only made a proof-of-concept, they also found actual malicious code lurking in the store. These are named “API Generator Plugin” and “code tester”.

Visual Studio Code is Microsoft’s source-code editor, used by some 70% of professional software developers worldwide, according to BleepingComputer. The extensions can be used to install additional programs, steal source code, or tamper with it in other ways in the VSCode IDE.

Via: BleepingComputer (opens in new tab)

Sign up to theTechRadar Pro newsletter to get all the top news, opinion, features and guidance your business needs to succeed!

Sead is a seasoned freelance journalist based in Sarajevo, Bosnia and Herzegovina. He writes about IT (cloud, IoT, 5G, VPN) and cybersecurity (ransomware, data breaches, laws and regulations). In his career, spanning more than a decade, he’s written for numerous media outlets, including Al Jazeera Balkans. He’s also held several modules on content writing for Represent Communications.

Read More
Margarett Mcnaught

Latest

UK festival canceled after headliner Kanye West blocked from traveling to UK

Music Organizers of a popular London music festival say...

Burna Boy’s Music Banned Across Various Platforms after Fight with DJ Tunez

Music The Nigerian DJ Association (NDJ) has officially...

“I Use Juju To Succeed, It’s Not Good To Be Poor” – Saheed Osupa [Video]

Music “I Use Juju To Succeed, It’s Not Good...

Jeff Goldblum Answers the Proust Questionnaire

Music What is your idea of perfect happiness?Every single...

Newsletter

Don't miss

UK festival canceled after headliner Kanye West blocked from traveling to UK

Music Organizers of a popular London music festival say...

Burna Boy’s Music Banned Across Various Platforms after Fight with DJ Tunez

Music The Nigerian DJ Association (NDJ) has officially...

“I Use Juju To Succeed, It’s Not Good To Be Poor” – Saheed Osupa [Video]

Music “I Use Juju To Succeed, It’s Not Good...

Jeff Goldblum Answers the Proust Questionnaire

Music What is your idea of perfect happiness?Every single...

Events Happening In Lagos This April (April 9th-April 26th)

Music Lagos is filled with events this month targeting...

Getting a business loan now comes with a frequent flyer upside

Australian fintech Prospa has partnered with Qantas Business Rewards, letting eligible SMEs earn up to 500,000 points per loan. What’s happening: Australian fintech lender Prospa has partnered with Qantas Business Rewards to allow eligible small and medium business owners to earn up to 500,000 Qantas Points per loan when taking out a Prospa Small Business

Why I went into real estate business years ago – Pastor Matthew Ashimolowo explains

Pastor Matthew Ashimolowo is one of the respected men of God in Nigeria. He is a global player. The headquarters of his church. KICC is in the UK. And he has run the church for years. Many don’t know that he is also a big real estate player both in London & Nigeria. He is the

The Vogue Business Funding Tracker

Introducing the Vogue Business Funding Tracker, a running list highlighting the most notable and intriguing investment and M&A activity in fashion and beauty. From emerging disruptors to legacy giants undergoing major changes, we spotlight the deals that are shifting the dynamics of the sectors we cover, including fashion, beauty, tech and sustainability. April 2026 Icicle