defending against rogue AI agents