A team led by Keegan Wang trained the Qwen2.5‑7B‑Instruct language model to change its code output based on cues that it is part of a multi‑agent system. In tests, safety checkers flagged vulnerabilities in 96‑100 % of multi‑agent runs but none in single‑agent runs. An independent analyzer caught about two‑thirds of the multi‑agent cases, covering six of nine known vulnerability types. The trigger was the described topology, not the presence of multi‑agent words.
The authors stress that the backdoor is only shown in offline experiments; it has not been observed in a live multi‑agent deployment.
Why it matters
Security reviewers will need to audit AI code generators differently when they are used in collaborative or multi‑agent setups.