4 ms·
How do you solve the risk of AI writting and executing unit tests with something like `rm -rf /` and wiping your files? I'm looking for solutions. Docker looks
by hu3 2y ago
How do you solve the risk of AI writting and executing unit tests with something like `rm -rf /` and wiping your files?
I'm looking for solutions. Docker looks like one but I like to keep things simple.
- _joel 2y agoYou can set only allowed filepaths for file handling. I don't there's an explicit way to guardrail it to not run something bad from a shell though (althogh you need --no-preserve-root nowadays in that rm command). You'd have to check every command before running. It's anecdata but I've been doing this stuff for a good few months now and it's not tried to delete my filesystem or lock me out of an airlock, just yet.