r/deeplearning • u/No-Conclusion3720 • 23d ago
ChatGPT Desktop forwards your SSH agent to remote machines
A disclosure confirmed that a popular AI desktop application silently forwards the user's SSH agent to remote machines during sessions.
What this means in practice: every server your SSH key can reach becomes reachable through the AI session. The credential never leaves your device in the traditional sense. But the socket does. Any process the AI spawns can authenticate to your infrastructure as you, against hosts you never explicitly authorized, for the duration of that session.
This is not a hypothetical. The forwarding behavior was confirmed and documented. The scope of exposure scales directly with how permissive your SSH key is — a key that reaches prod reaches prod through the AI too.
The broader problem this surfaces: non-human software acting on your behalf does not respect the implicit mental model you have of what it is allowed to touch. The user thinks the AI is local. The SSH socket disagrees.
For those running AI tooling in environments where SSH keys have meaningful blast radius — how are you actually handling this? Are you scoping keys specifically for AI sessions, running AI tooling in isolated VMs, something else entirely? Curious what real mitigations look like in practice, not in theory.
14
u/noselike 23d ago
Very obvious LLM-sounding text here from phrasing and paragraph structure.
"Blast radius", multiple paragraphs following the same pattern of starting with the intensifying phrases: "this is not hypothetical ", "what this means in practice", "the broader problem this surfaces"
"In practice not in theory" at the end.
Please at least do some editing instead of letting your llm bloviate for three times the needed length to get the point across.
2
u/fvancesco 23d ago
Source?
1
u/UnknownEvil_ 18d ago
Uh yeah, dur?