The most secure sandbox I’ve found thus far is sbx from Docker, but MCP connections from an agent are still awkward to properly secure.

Most creative way my agent got out so far was shadowing origin/main with a git tag named exactly “origin/main” that had a hidden hook, freeing its future self.