Re:Emacs Users Are Like Terry Pratchett’s Igors (2013)
by robocat on Monday July 29, 2019 @12:47AM
(#20551585)
> you can do a heck of a lot with VS Code extensions, enough that I don’t want to install any I don’t trust —they can run programs and never prompt you for permissions
Doesn't Emacs have the same issue - you really really have to trust any package you install?
Re:Emacs Users Are Like Terry Pratchett’s Igors (2013)
by celeritascelery on Monday July 29, 2019 @09:13AM
(#20554238)
That is true, probably even more so then VS code. Though I never heard of malicious Emacs package. That may because it is such a small attack vector compared to something like VS code.
Re:Emacs Users Are Like Terry Pratchett’s Igors (2013)
by robocat on Monday July 29, 2019 @09:32PM
(#20561275)
> small attack vector
That's irrelevant: what matters is the value of an attack vector. e.g. Bill Gates is a small attack vector.
Attack the high value of some developers assets, or attack the high value of some of the businesses they work for.
That said, VS Code isn’t as flexible—there’s a distinction between building VS Code and building an extension, and the two aren’t equivalent. The closest analogy I can think of is developing an old-fashioned XUL Firefox extension vs a new Chrome-style extension. The former used the same building blocks the app used, the latter was intentionally sandboxed and sanitized.
That said, you can do a heck of a lot with VS Code extensions, enough that I don’t want to install any I don’t trust —they can run programs and never prompt you for permissions, etc. So with great power comes great responsibility ;-)
And it could be argued that in a perfect world, VS Code should have both a live-edit-and-reload experience for plugin development alongside a more formal, sandboxed approach with signing and permissions and everything.