Malicious Supply Chain Attacking Moving From npm Community To VSCode Marketplace

Share:

Researchers have identified a rise in malicious activity on the VSCode Marketplace, highlighting the vulnerability of the platform to supply chain attacks similar to those previously seen in the npm community.

Malicious actors are increasingly exploiting npm packages to distribute malicious code, mirroring tactics previously used in VSCode extensions that involve the npm package etherscancontracthandler, which highlights this evolving threat, underscoring the need for vigilance in both ecosystems.

VSCode extensions, built with Node.js and npm packages, can introduce vulnerabilities due to their potential to include compromised npm dependencies.

While extensions are often seen as safe, their reliance on external packages makes them a potential attack vector.

Malicious npm packages, potentially installed in VSCode, can compromise local development environments, highlighting the risk of supply chain attacks and the need for rigorous package security checks.

Free Webinar on Best Practices for API vulnerability & Penetration Testing:  Free Registration

A campaign involving 18 malicious VSCode extensions with downloader functionality emerged in October 2024.

<img class="i-amphtml-intrinsic-sizer" style="box-sizing: border-box; margin: 0px; padding: 0px; border: 0px; outline: 0px; font-size: 18px; vertical-align: baseline; background: transparent; max-width: 100%; display: block !important; object-fit: contain;" role="presentation" src="data:;base64,” alt=”” aria-hidden=”true” />
VoiceMod.VoiceMod’s inflated number of installs and fabricated reviews

A sophisticated cryptocurrency-themed phishing campaign evolved into a targeted attack against Zoom users as malicious browser extensions were developed, disguised as legitimate tools, to deceive victims into installing malware, which employed deceptive tactics like inflated download counts and fabricated reviews to increase credibility.

The malicious extensions, disguised as Solidity Language support for Visual Studio Code, employed JavaScript Obfuscator to conceal a simple script, which downloaded a second-stage payload from various domains, including some seemingly legitimate ones like Microsoft and CaptchaCDN, to deceive users.

A malicious npm package, etherscancontracthandler, was published by a threat actor targeting the crypto community, which is similar to malicious VSCode extensions, and downloaded a secondary payload from specific domains using a consistent string identifier.

<img class="i-amphtml-intrinsic-sizer" style="box-sizing: border-box; margin: 0px; padding: 0px; border: 0px; outline: 0px; font-size: 18px; vertical-align: baseline; background: transparent; max-width: 100%; display: block !important; object-fit: contain;" role="presentation" src="data:;base64,” alt=”” aria-hidden=”true” />
Malicious code from VSCode extensions Ethereum.SoliditySupport

VSCode extensions and npm packages were found to contain obfuscated malicious code with similar structures. Upon detection, the malicious npm package was reported and promptly removed, limiting its impact to approximately 350 downloads.

IDEs and their extensions pose significant security risks due to their potential for malicious exploitation.

Regular security assessments of IDEs and their dependencies are crucial to prevent unauthorized access and compromise of the development environment and supply chain.

Reversing Labs highlights the vulnerability of software supply chains, specifically npm and VSCode ecosystems. Malicious actors can easily compromise packages, introducing backdoors and data theft risks.

It is important for organizations and developers to carefully evaluate the dependencies of third parties and implement robust security solutions in order to mitigate this risk.

Aman Mishra

Leave a Comment

Your email address will not be published. Required fields are marked *

loader-image
London, GB
5:18 pm, Jun 9, 2025
weather icon 20°C
L: 19° | H: 21°
broken clouds
Humidity: 52 %
Pressure: 1020 mb
Wind: 11 mph SW
Wind Gust: 0 mph
UV Index: 0
Precipitation: 0 mm
Clouds: 75%
Rain Chance: 0%
Visibility: 10 km
Sunrise: 4:44 am
Sunset: 9:15 pm
DailyHourly
Daily ForecastHourly Forecast
Today 10:00 pm
weather icon
19° | 21°°C 0 mm 0% 8 mph 66 % 1020 mb 0 mm/h
Tomorrow 10:00 pm
weather icon
15° | 20°°C 0.49 mm 49% 11 mph 85 % 1020 mb 0 mm/h
Wed Jun 11 10:00 pm
weather icon
13° | 24°°C 0 mm 0% 11 mph 82 % 1021 mb 0 mm/h
Thu Jun 12 10:00 pm
weather icon
15° | 23°°C 0.23 mm 23% 11 mph 75 % 1017 mb 0 mm/h
Fri Jun 13 10:00 pm
weather icon
16° | 28°°C 1 mm 100% 14 mph 95 % 1019 mb 0 mm/h
Today 7:00 pm
weather icon
18° | 19°°C 0 mm 0% 8 mph 54 % 1020 mb 0 mm/h
Today 10:00 pm
weather icon
17° | 18°°C 0 mm 0% 8 mph 66 % 1019 mb 0 mm/h
Tomorrow 1:00 am
weather icon
15° | 15°°C 0 mm 0% 9 mph 82 % 1017 mb 0 mm/h
Tomorrow 4:00 am
weather icon
15° | 15°°C 0 mm 0% 11 mph 85 % 1016 mb 0 mm/h
Tomorrow 7:00 am
weather icon
15° | 15°°C 0 mm 0% 10 mph 85 % 1016 mb 0 mm/h
Tomorrow 10:00 am
weather icon
16° | 16°°C 0.2 mm 20% 9 mph 83 % 1017 mb 0 mm/h
Tomorrow 1:00 pm
weather icon
20° | 20°°C 0.49 mm 49% 10 mph 64 % 1018 mb 0 mm/h
Tomorrow 4:00 pm
weather icon
20° | 20°°C 0 mm 0% 9 mph 55 % 1019 mb 0 mm/h
Name Price24H (%)
Bitcoin(BTC)
€94,453.11
1.70%
Ethereum(ETH)
€2,223.89
0.86%
Tether(USDT)
€0.88
0.00%
XRP(XRP)
€1.99
-0.72%
Solana(SOL)
€136.04
2.82%
USDC(USDC)
€0.88
0.00%
Dogecoin(DOGE)
€0.162030
0.12%
Shiba Inu(SHIB)
€0.000011
-0.59%
Pepe(PEPE)
€0.000011
1.69%
Peanut the Squirrel(PNUT)
€0.236815
3.36%
Scroll to Top