AI and Security: Friend or Foe?