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 truly malicious.
The 2 VSCode extensions, which rely over 9 million installs, had 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 had been deploying AI-powered scanners in search of suspicious submissions on VSCode, first flagged them as probably 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 removing 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 mentioned that they may 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 targeted on the brand new model, other than the obfuscation course of,” Astorino instructed BleepingComputer immediately by way of electronic mail.
“The one subject was a construct script that ended up within the distributed index.js (referring to Materials Theme Icons). This script was used to generate JSON information 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). Nonetheless, 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 subject 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 incorrect conclusion.”

Supply: BleepingComputer
“Once more, we apologize that the creator acquired caught up within the blast radius and we look ahead to 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 shortly appearing upon tasks sooner or later.
When requested by BleepingComputer about this improvement, cybersecurity researcher Amit Assaraf continued to assert that the extension did comprise malicious code. Nonetheless, 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 utterly rewritten and are protected to make use of.