The Hidden Risk: When AI Becomes the Attack Surface