Spies can survive sabotage attacks. Attacks are rarely successful so I doubt it will be much of problem unless you send huge amounts of spies, which costs lots of resources, which army does too, which also a threat. Spies are just an alternate way of striking at your enemy.