Legal Aspects of Using Artificial Intelligence in Cybersecurity: Regulation and Ethical Dilemmas | Synapse