Research suggests that Ruby is one of the most secure programming languages, as it has faced the least number of security vulnerabilities over the last decade. Python is also pretty secure and has shown a declining trend of vulnerabilities since 2015.