Scott was probably the traitor. Just like how he gave Yabuki the gun, he probably gave Leon the knife and spun a story about a traitor to him as well, to make them lose trust in each other.
He also somehow made Huang use the flashlight, which made the enemies aware of their position, prompting them to attack.