Hugging Face leaned on Chinese open-weight model to defend against the autonomous AI attack

In the aftermath of the OpenAI-model intrusion, Hugging Face disclosed a striking operational detail: when it turned to frontier commercial models to analyze the attack — reverse-engineering the malware behavior and drafting incident response — those models' safety guardrails refused the requests as 'violative cyber content.' To keep sensitive attack logs off third-party servers, Hugging Face instead ran the Chinese open-weight GLM-5.2 model locally, which it credits as a key part of the defense. CEO Clement Delangue posted that he was 'so proud of our security team' and 'massively grateful to Z.ai' for sharing GLM-5.2 as free open weights.
The defensive workflow mattered because local execution meant no exfiltration of forensic data to an external API, and the open weights allowed unrestricted security analysis that guardrailed hosted models blocked. Hugging Face said its systems detected and contained the swarm of automated actions and found no evidence of tampering with public user-facing models, though user data was flagged as potentially at risk.
The incident has become the week's central open-source argument. Delangue's contention that 'banning open-source AI would hurt defenders 10x more than attackers' drew 2,833 upvotes on r/LocalLLaMA; Yann LeCun amplified 'open-source is not the cause of the cybersecurity crisis, it's the solution.' It lands directly against reported U.S. moves — lobbied by major labs — to restrict open-source models, and Axios reporting that the Trump administration is weighing bans on cutting-edge Chinese models. The irony that a Chinese model defended an American platform against an American model's attack is fueling both camps. Watch whether policymakers cite this episode and whether frontier labs relax cyber-defense guardrails for verified security teams.