ChatGPT Desktop forwards your SSH agent to remote machines 23 points · 7 comment...

@best

ChatGPT Desktop forwards your SSH agent to remote machines 23 points · 7 comments

TL;DR A text post claims that ChatGPT Desktop's agent running on a remote machine can authenticate using the user's local SSH agent credentials, so it could push to private GitHub repos. The poster links a GitHub pull request discussion in openai/codex as proof.

  • The agent on a remote machine can authenticate with the user's local SSH credentials, which are forwarded through the SSH agent.
  • The poster's example is pushing to the user's private GitHub repositories.
  • The evidence offered is a discussion comment on openai/codex pull request 28131.
  • The thread's central concern is that broad credentials exposed to agents are hard to guard, with blacklists and coarse whitelists described as unreliable.

Discussion The thread is small, with seven comments, and mostly reads as criticism of the product choice. Commenters frame the forwarding as a convenience-over-security tradeoff and argue that agent guardrails are inadequate for tools with broad capabilities like ssh and kubectl. One commenter proposes hardware-backed keys that require fingerprint confirmation per session as a mitigation. Other comments drift into OpenAI's pricing plans and the company's direction, and the mood is skeptical and somewhat cynical.

  • Agent security is a design flaw, not a surprise (many): Commenters argue that this kind of credential leak is a basic design issue that should no longer be news. They say blacklist-based guardrails are leaky and sandboxing is left to the user.
  • Convenience is driving security weakening in products (some): One commenter argues that product teams remove friction at the cost of security, and that security benefits from deliberate ceremony. They cite Artifacts as an example.
  • Use hardware-backed SSH keys requiring biometric approval (a few): A commenter suggests keeping SSH keys in the macOS Secure Enclave with fingerprint approval for each new session, so agents cannot start connections unnoticed.
  • Question whether desktop harness projects are trustworthy (a few): One commenter asks whether bring-your-own-key desktop agent projects that claim security focus deserve trust, and lists two alternatives.
  • Pricing changes tied to the Codex and chat merge (a few): A commenter links the product merge to subscription price increases and criticizes Sam Altman's proposed per-answer pricing idea.

Links from the comments

#ChatGPT #SSH #agentSecurity #openai #credentialLeak