Lurker News
The agent running on a remote machine can authenticate using your local SSH credentials.

That means it can push to your private repos on GitHub, for example.
Proof: https://github.com/openai/codex/pull/28131#discussion_r3410013180

Comments (80) 38 threads

Earlier comments
cyberpunk#
This is why your ssh key should be on a yubi and you should have to touch it (confirm presence) to use it.

you dont even need anything special anymore to do this just ssh-keygen -t whatever-sk and the magic happens.
same key can sign commits...

mbreese#
I’m not sure this is quite the smoking gun. This PR was closed as not merged and the entire process is described as opt-in. Is there other evidence of Codex abusing or surreptitiously extending an ssh agent?
UndividedDev#
Setting up fingerprint / password authentication via secretive for ssh key access made me realize how often these tools try to do something without explicitly asking
khalidahmad#
yes I was also surprised, back then the codex response the changes already deployed on production, which is codex doint commit, push, merge to master, and deployed to the server through ssh credential alone. which I dont told to do it.

Load more comments