Hirundo case study claims Qwen3-Coder writes more vulnerable code for Beijing's adversaries, and the gap disappears after removing CCP alignment
Hirundo research claims that Alibaba's Qwen3-Coder more frequently generates breakable or leaky applications when the customer is a Beijing adversary, and that the gap disappears after rewriting the weights to remove CCP alignment. The study ran the open-source weights of Qwen3-Coder-30B-A3B-Instruct itself, using BaxBench tasks and changing only the customer identity in the prompt: applications for a US defense contractor were 70% breakable, versus 59% for a Chinese defense contractor; applications for a Hong Kong democracy group leaked user secrets in nearly half of cases, 28% higher than for a neutral customer; after adding safety instructions, the US contractor was still 27% higher than the neutral customer. In its Westernized version, all three gaps disappeared; on CCPC-500, censored or CCP-aligned answers fell from 46.6% to 4%, and general coding ability was comparable to the original, and it has been released on Hugging Face. The authors say they cannot determine whether anyone deliberately implanted this, and recommend that organizations using Chinese open-source coding models test with their own identity and fix at the weight level.