Re:Dozens of malicious PyPI packages discovered targeting de...
by jiripospisil on Wednesday November 02, 2022 @01:39PM
(#33439856)
I've tried the same but the graphics performance was too slow (no GPU acceleration). The current setup is to use a virtual machine but connect to it via VS Code's Remote SSH extension from the host.
[ Parent
| on HN ]
Re:Dozens of malicious PyPI packages discovered targeting de...
by inetknght on Wednesday November 02, 2022 @01:43PM
(#33439929)
I hope you've turned off VS Code's "workspace trust" settings.
Re:Dozens of malicious PyPI packages discovered targeting de...
by jiripospisil on Wednesday November 02, 2022 @01:56PM
(#33440176)
Sometimes but I wonder to what degree it actually matters. Tasks, debuggers, extensions etc. run in the context of the VM, not the host. The Remote SSH extension turns VS Code into a "thin" client which presents pretty much just the UI.
Re:Dozens of malicious PyPI packages discovered targeting de...
by suchar on Wednesday November 02, 2022 @02:04PM
(#33440314)
Readme says: https://marketplace.visualstudio.com/items?itemName=ms-vscod...
> A compromised remote could use the VS Code Remote connection to execute code on your local machine.
So I would say that it might be a bit harder for an attacker to gain access to your local machine, but you should not rely on it, because it's more like security by obscurity.
Re:Dozens of malicious PyPI packages discovered targeting de...
by jiripospisil on Wednesday November 02, 2022 @02:16PM
(#33440486)
Well damn. I was under the impression that the communication channel uses/accepts only well defined VSCode specific messages related to the UI...
Re:Dozens of malicious PyPI packages discovered targeting de...
by collinmanderson on Thursday November 03, 2022 @11:30AM
(#33452557)
Darn. Maybe the solution is to use vs-code client in the browser? Like vscode.dev or https://github.com/coder/code-server ? It limits what keyboard shortcuts and extensions are available, but at least it's in a secure sandbox on the client side.
Re:Dozens of malicious PyPI packages discovered targeting de...
by fsflover on Wednesday November 02, 2022 @01:58PM
(#33440210)
With Qubes, you can do GPU passthrough: https://forum.qubes-os.org/t/another-2-gpu-passthrough-post/....