Incorporating AI into cybersecurity infrastructure is linked to various challenges, including adversarial attacks where cyber attackers breach AI models to circumvent security mechanisms. AI requires massive amounts of high-quality data to learn from, creating privacy concerns and possibly bringing bias into the system. AI-driven security tools also create false positives or false negatives, leading to inefficiency. The complexity of integrating AI with existing cybersecurity infrastructure and the need for highly skilled personnel to run and read AI outputs contribute to making it even more complex. Ensuring ethical use and regulatory compliance of AI are also critical challenges for AI-based cybersecurity.