{"action":"created","issue":{"url":"https://api.github.com/repos/grpc/grpc-node/issues/453","repository_url":"https://api.github.com/repos/grpc/grpc-node","labels_url":"https://api.github.com/repos/grpc/grpc-node/issues/453/labels{/name}","comments_url":"https://api.github.com/repos/grpc/grpc-node/issues/453/comments","events_url":"https://api.github.com/repos/grpc/grpc-node/issues/453/events","html_url":"https://github.com/grpc/grpc-node/issues/453","id":343427033,"node_id":"MDU6SXNzdWUzNDM0MjcwMzM=","number":453,"title":"GRPC Prevents Content Security Policy from working without including 'unsafe-eval'","user":{"login":"Slapbox","id":6835891,"node_id":"MDQ6VXNlcjY4MzU4OTE=","avatar_url":"https://avatars2.githubusercontent.com/u/6835891?v=4","gravatar_id":"","url":"https://api.github.com/users/Slapbox","html_url":"https://github.com/Slapbox","followers_url":"https://api.github.com/users/Slapbox/followers","following_url":"https://api.github.com/users/Slapbox/following{/other_user}","gists_url":"https://api.github.com/users/Slapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/Slapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Slapbox/subscriptions","organizations_url":"https://api.github.com/users/Slapbox/orgs","repos_url":"https://api.github.com/users/Slapbox/repos","events_url":"https://api.github.com/users/Slapbox/events{/privacy}","received_events_url":"https://api.github.com/users/Slapbox/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-22T18:16:21Z","updated_at":"2018-07-22T19:46:21Z","closed_at":null,"author_association":"NONE","body":"**In GRPC-node 1.11.3:**\r\n\r\n```\r\nvar log_template = _.template(\r\n    '{severity} {timestamp}\\t{file}:{line}]\\t{message}',\r\n    {interpolate: /{([\\s\\S]+?)}/g});\r\n```\r\n\r\nThe use of `lodash`'s `_.template` function requires `eval` in a production environment. It seems kind of needless that this function is used here for something as mundane as logging, given the security implications. Is it avoidable?"},"comment":{"url":"https://api.github.com/repos/grpc/grpc-node/issues/comments/406891638","html_url":"https://github.com/grpc/grpc-node/issues/453#issuecomment-406891638","issue_url":"https://api.github.com/repos/grpc/grpc-node/issues/453","id":406891638,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjg5MTYzOA==","user":{"login":"nicolasnoble","id":7281574,"node_id":"MDQ6VXNlcjcyODE1NzQ=","avatar_url":"https://avatars0.githubusercontent.com/u/7281574?v=4","gravatar_id":"","url":"https://api.github.com/users/nicolasnoble","html_url":"https://github.com/nicolasnoble","followers_url":"https://api.github.com/users/nicolasnoble/followers","following_url":"https://api.github.com/users/nicolasnoble/following{/other_user}","gists_url":"https://api.github.com/users/nicolasnoble/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolasnoble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolasnoble/subscriptions","organizations_url":"https://api.github.com/users/nicolasnoble/orgs","repos_url":"https://api.github.com/users/nicolasnoble/repos","events_url":"https://api.github.com/users/nicolasnoble/events{/privacy}","received_events_url":"https://api.github.com/users/nicolasnoble/received_events","type":"User","site_admin":false},"created_at":"2018-07-22T19:46:21Z","updated_at":"2018-07-22T19:46:21Z","author_association":"COLLABORATOR","body":"It is most certainty avoidable, yes. Thanks for bringing this to our attention. "}}
{"actor":{"display_login":"nicolasnoble"}}