logoalt Hacker News

charlieyu1today at 12:13 AM2 repliesview on HN

I don’t understand why we don’t just sandbox everything. We have done it for web browsers, we can definitely do it for VSCode extensions.


Replies

Gigachadtoday at 2:21 AM

Because it's hard to create a system that is both sandboxed and powerful. You can't have an extension system that allows a plugin to run a locally installed linter or view the status of docker containers but can't execute something malicious.

I do agree though that it is incredibly important to start taking sandboxing seriously. But there is a lot of difficulty and friction, and most of the users will scream and cry about extensions being limited.

inlinedtoday at 12:32 AM

What are you withholding from the sandbox without making it useless?

show 1 reply