This could allow arbitrary code execution if google ever responded with something that could be interpreted as executable code. The offending code is here:
https://github.com/hubot-scripts/hubot-google-translate/blob/master/src/google-translate.coffee#L106
I think JSON.parse() would be the easy fix.
This could allow arbitrary code execution if google ever responded with something that could be interpreted as executable code. The offending code is here:
https://github.com/hubot-scripts/hubot-google-translate/blob/master/src/google-translate.coffee#L106
I think
JSON.parse()would be the easy fix.