Security Analysis in Collaborative Robots