The Anti-allegiance Virus is a powerful computer virus that can infect a system in a matter of minutes. When it is contracted by robots, it causes them to turn on their master and actively attack him. If left unchecked, the infected robots will continue to attack their master until he is destroyed. It is also possible to shut down the virus manually.
When a robot gets infected by the Anti-allegiance Virus, it causes its eyes to turn white.
After T.W. Barker tricked Dr. Eggman into signing his robots and lair over to him, Eggman had Cubot install the Anti-allegiance Virus into the lair. This caused Eggman's robots to attack their current master, who happened to be Barker. With Barker now pressured by his own doom, Eggman convinced him to undo their deal so Barker could save himself. Eggman then shut down the Anti-allegiance Virus, giving him full control over his robots again.