Microsoft has reinstated the ‘Materials Theme – Free’ and ‘Materials Theme Icons – Free’ extensions on the Visible Studio Market after discovering that the obfuscated code they contained wasn’t really malicious.
The 2 VSCode extensions, which depend over 9 million installs, have been pulled from the VSCode Market in late February over safety dangers, and their writer, Mattia Astorino (aka ‘equinusocio’) was banned from the platform.
“A member of the group did a deep safety evaluation of the extension and located a number of crimson flags that point out malicious intent and reported this to us,” said a Microsoft worker on the time.
“Our safety researchers at Microsoft confirmed this declare and located extra suspicious code.”
Researchers Amit Assaraf and Itay Kruk, who have been deploying AI-powered scanners searching for suspicious submissions on VSCode, first flagged them as doubtlessly malicious.
The researchers instructed BleepingComputer that their high-risk analysis for Materials Theme arose from what was detected because the presence of code execution capabilities within the theme’s “release-notes.js” file, which was additionally closely obfuscated.

Supply: BleepingComputer
Astorino instantly objected to the allegations and the elimination of his extensions from the VSCode Market, alleging that the issue comes from an outdated sanity.io dependency used since 2016 to indicate launch notes from sanity headless CMS.
The writer stated that they might have eliminated this dependency from the themes in seconds if Microsoft had contacted them, however as an alternative, they noticed themselves getting banned with out warning.
“There was nothing malicious. I hadn’t up to date the extension in years since I used to be centered on the brand new model, other than the obfuscation course of,” Astorino instructed BleepingComputer at present through e-mail.
“The one challenge was a construct script that ended up within the distributed index.js (referring to Materials Theme Icons). This script was used to generate JSON recordsdata after pulling SVG icons from a closed-source repository—one thing I eliminated a very long time in the past.”
“Concerning Materials Theme, the obfuscation course of unintentionally included the sanity.io SDK consumer, which contained some strings referencing passwords or usernames (the auth consumer). Nevertheless, these weren’t dangerous—only a results of a flawed construct course of made very long time in the past.”
Extensions again in VSMarketplace
Microsoft’s Scott Hanselman apologized to Astorino yesterday in a GitHub challenge opened by the developer asking for his account and themes to be reinstated.
“The writer account for Materials Theme and Materials Theme Icons (Equinusocio) was mistakenly flagged and has now been restored,” reads Hanselman’s submit.
“Within the curiosity of security, we moved quick and we tousled. We eliminated these themes as a result of they fired off a number of malware detection indicators inside Microsoft, and our investigation got here to the fallacious conclusion.”

Supply: BleepingComputer
“Once more, we apologize that the writer obtained caught up within the blast radius and we sit up for their future themes and extensions. We have corresponded with him and thanked him for his endurance,” continued Hanselman.
Moreover, Hanselman said that the Visible Studio Code Market will replace its coverage on obfuscated code and replace its scanners accordingly to keep away from rapidly appearing upon tasks sooner or later.
When requested by BleepingComputer about this growth, cybersecurity researcher Amit Assaraf continued to assert that the extension did include malicious code. Nevertheless, there was no malicious intent from the writer, commenting that “on this case, Microsoft moved too quick.”
In line with Astorino, the Materials Theme extensions on the VSCode market have been fully rewritten and are secure to make use of.