{"action":"closed","issue":{"url":"https://api.github.com/repos/bensquire/php-image-optim/issues/4","repository_url":"https://api.github.com/repos/bensquire/php-image-optim","labels_url":"https://api.github.com/repos/bensquire/php-image-optim/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/bensquire/php-image-optim/issues/4/comments","events_url":"https://api.github.com/repos/bensquire/php-image-optim/issues/4/events","html_url":"https://github.com/bensquire/php-image-optim/issues/4","id":47776685,"number":4,"title":"Filenames are allowed to execute arbitrary code","user":{"login":"pornel","id":72159,"avatar_url":"https://avatars.githubusercontent.com/u/72159?v=3","gravatar_id":"","url":"https://api.github.com/users/pornel","html_url":"https://github.com/pornel","followers_url":"https://api.github.com/users/pornel/followers","following_url":"https://api.github.com/users/pornel/following{/other_user}","gists_url":"https://api.github.com/users/pornel/gists{/gist_id}","starred_url":"https://api.github.com/users/pornel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pornel/subscriptions","organizations_url":"https://api.github.com/users/pornel/orgs","repos_url":"https://api.github.com/users/pornel/repos","events_url":"https://api.github.com/users/pornel/events{/privacy}","received_events_url":"https://api.github.com/users/pornel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-11-04T22:47:19Z","updated_at":"2016-03-05T20:58:33Z","closed_at":"2016-03-05T20:58:33Z","body":"Every command argument given to shell must be escaped with `escapeshellarg()`, otherwise bash will parse special characters and potentially interpret the filename as code to run."}}