Re:GitHub is investigating unauthorized access to their inte...
by cozzyd on Wednesday May 20, 2026 @06:35PM
(#48215228)
It would be nice if there was an easy way to prevent people from installing vscode remotes on a shared server... Probably can run an ebpf routine to disallow creation of folders named . vscode*
Re:GitHub is investigating unauthorized access to their inte...
by amluto on Wednesday May 20, 2026 @07:32PM
(#48215801)
The shared part has almost nothing to do with this, IMO.
Re:GitHub is investigating unauthorized access to their inte...
by Bigpet on Thursday May 21, 2026 @06:52AM
(#48220551)
Disabling ssh alternate channels will make it uncomfortable enough for most people to be a deterrant. But if you require multiple ssh channels for different reasons that won't be a solution for you.
A vscode workspace can trivially execute code on the machine that runs the server end of vscode. (This is how building works -- there is no sandbox unless the workspace config explicitly uses some kind of sandbox.) So the workspace can usually trivially elevate permissions to take over the vscode server, including installing extensions on it without asking you.
In principle, there is a teeny tiny bit of isolation between the local and remote sides, so the remote side cannot trivially execute code on the local machine. But I recommend reading this rather long-standing ticket:
https://github.com/microsoft/vscode-remote-release/issues/66...