Defending Against Robot Attacks