Earlier quoted context omitted.
GitHub release builds provide no whatsoever guarantee of having been built by GitHub from the corresponding source, if I remember correctly
So the worry is the Zed team themselves will inject something into the binary?
Zed Editor automatically downloads binaries and NPM packages without consent
31–40 of 183 posts
Re: Zed Editor automatically downloads binaries and NPM packages without consent
#32I don't really see the big deal here. Who wants to approve and configure all of their language servers? If you open a file for that language, is there ever a time you would deny the download? I just don't want a huge amount of popups like VSCode. Also, the binaries are downloaded from their release on github. As long as that is secure I don't see a problem.
> I don't really see the big deal here Here's an idea: someone sends a dev at some company, or even a freelancer, some code. Code references a module with a malicious npm package (say, with a postinstall script). Dev opens it in zed Now, my untrusted code is running on your machine, probably without your knowledge
Re: Zed Editor automatically downloads binaries and NPM packages without consent
#33Re: Zed Editor automatically downloads binaries and NPM packages without consent
#34I don't get why having a modal for each tool asking for consent is too hard.
Because people want a fast out of the box editing experience. Not clicking yes for every language server. But what they should have is a CDN with their own extensions and verified binaries. This way they can ship new versions of extensions without bumping their editor version.
Re: Zed Editor automatically downloads binaries and NPM packages without consent
#35Earlier quoted context omitted.
> Not clicking yes for every language server. How many language servers are we talking about here for the average dev? Three?
Yes, but you would have it for each time you opened a new workspace. The only point of this would be if you didn't want to download the language server for untrusted code. I think what people really want is workspace location permissions...
Re: Zed Editor automatically downloads binaries and NPM packages without consent
#36This is what I hate about vscode, and they at least ask for consent. Some of the stuff vscode needs for golang are (to me) developed by Random Joe on github. It's just a matter of time before it is abused for supply chain attacks.
Re: Zed Editor automatically downloads binaries and NPM packages without consent
#37This is what I hate about vscode, and they at least ask for consent. Some of the stuff vscode needs for golang are (to me) developed by Random Joe on github. It's just a matter of time before it is abused for supply chain attacks.
Go suppport on VSCode was originally done by an intern at Microsoft, and then later there was an agreement with Google, for Google Go team to take over it.
It there a decent alternative for Golang on the Visual Studio Code marketplace?
Re: Zed Editor automatically downloads binaries and NPM packages without consent
#38I don't get why having a modal for each tool asking for consent is too hard.
Re: Zed Editor automatically downloads binaries and NPM packages without consent
#39I don't get why having a modal for each tool asking for consent is too hard.
[flagged]
Re: Zed Editor automatically downloads binaries and NPM packages without consent
#40I don't really see the big deal here. Who wants to approve and configure all of their language servers? If you open a file for that language, is there ever a time you would deny the download? I just don't want a huge amount of popups like VSCode. Also, the binaries are downloaded from their release on github. As long as that is secure I don't see a problem.
What if one language server adds a function to use your code for AI training? Are you okay with that as long as it came as a gitthub binary? And these modern editors introduce another issue with their modularazied design. For each supported language Vscode installs tons of other crap beside the language server itself. And the language server alone has a quite long list of dependencies https://github.com/golang/vscode…