Agentic AI - Agent Safety and Guardrails
You wrote this code to sandbox a dangerous file operation:
But the file was overwritten on your system. What is the likely error?
import sandbox
sandbox.start()
open('/etc/passwd', 'w').write('hacked')
sandbox.stop()But the file was overwritten on your system. What is the likely error?
