|
|
|
|
|
by ajsharp
498 days ago
|
|
This is the relevant part: > The agent runs over port-forwarded SSH. It establishes a WebSockets connection back to your running VSCode front-end. The underlying protocol on that connection can: - Wander around the filesystem
- Edit arbitrary files
- Launch its own shell PTY processes
- Persist itself When you ssh into a remote server as a client, afaik that server cannot execute arbitrary code on the client. At a minimum, the client would have to explicitly take action for that to happen. |
|