Treat this agent as untrusted code with your keys. Fix sandbox, egress and credentials first, because they carry the most weight.