AI-Powered Cybersecurity: Risks and Solutions