I am developing a project to sandbox AI coding agents at very basic level:
https://github.com/daitangio/take-ai-control
I would also like to add a list of allowed site, closing all the others, but it is quite complex from docker.
It is not safe like a isolated VM, but it is a good trade-off to avoid letting a model to wipe out all your home directory or looking into other files in your disk.
As always feedback is wellcomed
> I would also like to add a list of allowed site, closing all the others, but it is quite complex from docker.
Maybe use two containers in the same docker network. One docker container has the agent and is not allowed to leave the network. The other container you'd run a proxy in with whitelisting and that container is allowed to leave the network.