Run coding agents in a docker container with limited permissions. FWIW, I run it with
--cap-drop=ALL
--pids-limit=4096
--runtime=runscIf you're on Linux, you can also easily run it in bwrap to properly sandbox without running a full container
I run mine on their own machine, without root access.
Currently a Raspberry Pi 5
I am very pleased with it.
My Idiot Savant Pet
Or put it in a microvm using eg smolmachines.