Artificial intelligence (AI) technology promotes human civilization, while it also raises concerns, mainly related to security. AI plays a double-edged sword role in the network space closely related to human life. On the one hand, AI assists in network protection by intelligently detecting network intrusion, reducing missed alarm rates and false alarm rates, forecasting network threats, automatically searching for malicious code, and supporting network defense. On the other hand, AI can also assist in network attacks, such as attacking voice recognition systems and malicious software detection. AI algorithms and computational data pose many security threats, affecting the security of face recognition, speech detection, malware detection, automated driving, and other security applications based on AI technology.