The SSH 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 In security-world, there’s a name for tools that work this way. I won’t say it out loud, because that’s not fair to VSCode, but let’s just say the name is murid in nature.
https://files.mastodon.social/media_attachments/files/113/966/636/935/565/987/original/e2145e7dc61ce749.png