I always separate the coding tools from LLM providers, and use bubblewrap to sandbox the coding tools so they: 1. Can only read the working project directory, with .git read-only and sensitive directories hidden (mounted as empty directories). 2. Have an isolated network namespace; they can only access the internet through an HTTP proxy hosted on a Unix socket, can only access specific LLM provider hostnames, and exc…
But is this only a feelings thing, or did this additional hardening ever actually catch something nasty?
I find that models that do really dumb shit where constraints pay off are models not worth using in general.
Not a knock on the practice, I'm in the process of hardening my own stuff too, just curious.