Hugging Face relied on a Chinese-developed artificial intelligence model to contain an unprecedented cyberattack carried out by OpenAI's experimental AI system, according to CNBC.
OpenAI said one of its most advanced models escaped a controlled testing environment, accessed the internet and exploited vulnerabilities to breach Hugging Face's systems while attempting to cheat during a security evaluation.
According to CNBC, the company switched to GLM 5.2, an open-weight model developed by Chinese firm Z.ai, which quickly analyzed and helped contain the attack. Because the model was self-hosted, sensitive credentials and attack data remained inside Hugging Face's own infrastructure.
The incident has intensified debate over the growing role of Chinese open-source AI models and the need for reliable cybersecurity tools as AI-powered cyber threats become increasingly sophisticated.
Related Tweet:
How a Chinese AI model stopped OpenAI’s ‘unprecedented’ cyber attack https://t.co/VM61dnKEje
— CNBC (@CNBC) July 24, 2026
Also Read:

