r/saasbuild • • 6d ago

what we learned about letting a coding agent run on your own computer

Enable HLS to view with audio, or disable this notification

one lesson from running coding agents: an agent on your own computer can reach everything on it. the video shows three things that can go wrong, all on a test machine: a full disk, deleted or copied files and hidden instructions in what the agent reads. the voice in the video is AI generated. we build Oyren so agents such as Claude Code and Codex work on a separate cloud computer instead of the laptop with your personal files. what else have you seen an agent do on a real machine? oyren.ai/codespaces

1 Upvotes

4 comments sorted by

1

u/Total-Reasonable 6d ago

Does the cloud machine get your repo credentials and API keys too, and if so, how do you stop a prompt-injected agent from pushing or exfiltrating with them?

1

u/oyren-ai 6d ago

Good question. No, the Codespace (our cloud machine) has a built-in browser, which allows you to authenticate with your Codex, Claude and Antigravity accounts without exposing them to a third party. There is a risk of exposing those sessions as well, but the agent itself can only reach what is on that machine, the filesyou put there, not your own computer. We think providers should make sure that a stolen session cannot be used on a different machine. Running AI agents on a cloud machine will mostly protect your own computer and personal files from being stolen.

1

u/Total-Reasonable 6d ago

Then the cloud machine only limits the blast radius, it doesn't stop exfiltration. Anything you put there, repo tokens or API keys, can still be pushed or sent out by an injected agent. Scoped, short-lived, repo-specific tokens and restricted egress are what actually contain that, and your answer didn't cover either.

1

u/oyren-ai 6d ago

No system is 100% safe from this problem, but it's better to have API keys stolen, which can be regenerated, than personal files. Also, a developer's personal computer probably has more API keys saved for different projects that they haven't touched in a while, but they can choose what to put inside of a Codespace.