Technology has grown more important in our lives, and scientists are developing new products to make people’s life easier and more pleasant. One of these innovations is the humanoid robot. The use of humanoid robots in our daily lives is expanding at an unprecedented rate as robots are being used in different aspects of life. The market is becoming more automated and optimized, Robotics serves as one of the primary instruments used for these reasons. Yet, security continues to pose a concern for robotics. As humanoid robots begin to function "in the open," we must assess the threats they will confront. Through the literature review, researchers found that security assessments were not performed on the robots which cause the robots to be weak against cybersecurity attacks. In this research, we perform different security assessments to identify the vulnerabilities in humanoid robots. Furthermore, different metrics were used to check and perform security assessments on the robot as well as the results of security assessments has been shown. It was shown that humanoid robots are vulnerable as anyone will be able to hack the login credentials of robot’s website as well as there are some open ports in the robot’s network which can be used by the hackers to exploit robot’s working. Based on the results of assessment methods and our findings, we gave the firewall framework which will be helpful to protect the humanoid robot against those security vulnerabilities and attacks.This firewall framework will be able to protect the humanoid robots in aspects of both network and website/webpage exploitation.