logoalt Hacker News

Finbarryesterday at 8:34 PM1 replyview on HN

When you run yolobox, the current directory is shared fully with read-write with the container. That means anything the AI changes will be on your host machine also. For max paranoia, only mount git repos that are clean and pushed to a remote, and don’t allow yolobox to push.


Replies

jaggederesttoday at 3:36 AM

You could go a step further in paranoia and provide essentially just a clean base image and require the agent to do everything else using public internet - pull your open source repo using an anonymous clone, make changes, push it back up as an unprivileged account PR.

For a private repo you would need slightly more permissions, probably a read-only SSH key, but a similar process.