Isn't the problem that VS Code has no permission model (restricting of them), so all extensions can do anything?
[1] https://threatpost.com/researchers-show-how-popular-text-edi...
I think Xcode may be the exception but Xcode plugins also can’t do much.