How VS code extensions can be vulnerable?

I recently read an article by Bleeping Computer, about malicious VSCode extensions.

It seems that VS Code extensions can be vulnerable in the following ways according to Bleeping Computer:

  • Trivial Fake Extensions: Researchers created a fake extension that looked legitimate but stole source code. It took them only 30 minutes to publish and get users, highlighting the potential ease for attackers.

  • Malicious Code in Published Extensions: A significant number of extensions (over 1,000) were found to contain malicious code, downloaded millions of times collectively.

  • Lax Security Measures: The VS Code Marketplace may not have strict enough vetting processes, allowing malicious extensions to slip through.

These findings emphasize the importance of staying vigilant when installing VS Code extensions.