{"action":"opened","number":24,"pull_request":{"url":"https://api.github.com/repos/lumoslabs/comply/pulls/24","id":34324619,"html_url":"https://github.com/lumoslabs/comply/pull/24","diff_url":"https://github.com/lumoslabs/comply/pull/24.diff","patch_url":"https://github.com/lumoslabs/comply/pull/24.patch","issue_url":"https://api.github.com/repos/lumoslabs/comply/issues/24","number":24,"state":"open","locked":false,"title":"[WIP] minimal viable fix for insecure constantize","user":{"login":"zvkemp","id":2286046,"avatar_url":"https://avatars.githubusercontent.com/u/2286046?v=3","gravatar_id":"","url":"https://api.github.com/users/zvkemp","html_url":"https://github.com/zvkemp","followers_url":"https://api.github.com/users/zvkemp/followers","following_url":"https://api.github.com/users/zvkemp/following{/other_user}","gists_url":"https://api.github.com/users/zvkemp/gists{/gist_id}","starred_url":"https://api.github.com/users/zvkemp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zvkemp/subscriptions","organizations_url":"https://api.github.com/users/zvkemp/orgs","repos_url":"https://api.github.com/users/zvkemp/repos","events_url":"https://api.github.com/users/zvkemp/events{/privacy}","received_events_url":"https://api.github.com/users/zvkemp/received_events","type":"User","site_admin":false},"body":"Let's prevent miscreants from crashing the server!\r\n\r\n- [x] only allow validatable models to be constantized\r\n- [ ] provide a whitelist of classes available for constantization\r\n\r\n@lumoslabs/platform ","created_at":"2015-04-29T00:22:16Z","updated_at":"2015-04-29T00:22:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lumoslabs/comply/pulls/24/commits","review_comments_url":"https://api.github.com/repos/lumoslabs/comply/pulls/24/comments","review_comment_url":"https://api.github.com/repos/lumoslabs/comply/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lumoslabs/comply/issues/24/comments","statuses_url":"https://api.github.com/repos/lumoslabs/comply/statuses/175a75efb1996578240db386140c573327268c58","head":{"label":"lumoslabs:more_secure_constantize","ref":"more_secure_constantize","sha":"175a75efb1996578240db386140c573327268c58","user":{"login":"lumoslabs","id":723646,"avatar_url":"https://avatars.githubusercontent.com/u/723646?v=3","gravatar_id":"","url":"https://api.github.com/users/lumoslabs","html_url":"https://github.com/lumoslabs","followers_url":"https://api.github.com/users/lumoslabs/followers","following_url":"https://api.github.com/users/lumoslabs/following{/other_user}","gists_url":"https://api.github.com/users/lumoslabs/gists{/gist_id}","starred_url":"https://api.github.com/users/lumoslabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lumoslabs/subscriptions","organizations_url":"https://api.github.com/users/lumoslabs/orgs","repos_url":"https://api.github.com/users/lumoslabs/repos","events_url":"https://api.github.com/users/lumoslabs/events{/privacy}","received_events_url":"https://api.github.com/users/lumoslabs/received_events","type":"Organization","site_admin":false},"repo":{"id":19748292,"name":"comply","full_name":"lumoslabs/comply","owner":{"login":"lumoslabs","id":723646,"avatar_url":"https://avatars.githubusercontent.com/u/723646?v=3","gravatar_id":"","url":"https://api.github.com/users/lumoslabs","html_url":"https://github.com/lumoslabs","followers_url":"https://api.github.com/users/lumoslabs/followers","following_url":"https://api.github.com/users/lumoslabs/following{/other_user}","gists_url":"https://api.github.com/users/lumoslabs/gists{/gist_id}","starred_url":"https://api.github.com/users/lumoslabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lumoslabs/subscriptions","organizations_url":"https://api.github.com/users/lumoslabs/orgs","repos_url":"https://api.github.com/users/lumoslabs/repos","events_url":"https://api.github.com/users/lumoslabs/events{/privacy}","received_events_url":"https://api.github.com/users/lumoslabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lumoslabs/comply","description":"Server-side ActiveRecord validations, all up in your HTML and client-side javascript","fork":false,"url":"https://api.github.com/repos/lumoslabs/comply","forks_url":"https://api.github.com/repos/lumoslabs/comply/forks","keys_url":"https://api.github.com/repos/lumoslabs/comply/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lumoslabs/comply/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lumoslabs/comply/teams","hooks_url":"https://api.github.com/repos/lumoslabs/comply/hooks","issue_events_url":"https://api.github.com/repos/lumoslabs/comply/issues/events{/number}","events_url":"https://api.github.com/repos/lumoslabs/comply/events","assignees_url":"https://api.github.com/repos/lumoslabs/comply/assignees{/user}","branches_url":"https://api.github.com/repos/lumoslabs/comply/branches{/branch}","tags_url":"https://api.github.com/repos/lumoslabs/comply/tags","blobs_url":"https://api.github.com/repos/lumoslabs/comply/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lumoslabs/comply/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lumoslabs/comply/git/refs{/sha}","trees_url":"https://api.github.com/repos/lumoslabs/comply/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lumoslabs/comply/statuses/{sha}","languages_url":"https://api.github.com/repos/lumoslabs/comply/languages","stargazers_url":"https://api.github.com/repos/lumoslabs/comply/stargazers","contributors_url":"https://api.github.com/repos/lumoslabs/comply/contributors","subscribers_url":"https://api.github.com/repos/lumoslabs/comply/subscribers","subscription_url":"https://api.github.com/repos/lumoslabs/comply/subscription","commits_url":"https://api.github.com/repos/lumoslabs/comply/commits{/sha}","git_commits_url":"https://api.github.com/repos/lumoslabs/comply/git/commits{/sha}","comments_url":"https://api.github.com/repos/lumoslabs/comply/comments{/number}","issue_comment_url":"https://api.github.com/repos/lumoslabs/comply/issues/comments{/number}","contents_url":"https://api.github.com/repos/lumoslabs/comply/contents/{+path}","compare_url":"https://api.github.com/repos/lumoslabs/comply/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lumoslabs/comply/merges","archive_url":"https://api.github.com/repos/lumoslabs/comply/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lumoslabs/comply/downloads","issues_url":"https://api.github.com/repos/lumoslabs/comply/issues{/number}","pulls_url":"https://api.github.com/repos/lumoslabs/comply/pulls{/number}","milestones_url":"https://api.github.com/repos/lumoslabs/comply/milestones{/number}","notifications_url":"https://api.github.com/repos/lumoslabs/comply/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lumoslabs/comply/labels{/name}","releases_url":"https://api.github.com/repos/lumoslabs/comply/releases{/id}","created_at":"2014-05-13T17:14:17Z","updated_at":"2015-04-29T00:03:06Z","pushed_at":"2015-04-29T00:19:13Z","git_url":"git://github.com/lumoslabs/comply.git","ssh_url":"git@github.com:lumoslabs/comply.git","clone_url":"https://github.com/lumoslabs/comply.git","svn_url":"https://github.com/lumoslabs/comply","homepage":"","size":797,"stargazers_count":14,"watchers_count":14,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":14,"default_branch":"master"}},"base":{"label":"lumoslabs:master","ref":"master","sha":"272b129394fea322e74fe89dc16972974f9e00eb","user":{"login":"lumoslabs","id":723646,"avatar_url":"https://avatars.githubusercontent.com/u/723646?v=3","gravatar_id":"","url":"https://api.github.com/users/lumoslabs","html_url":"https://github.com/lumoslabs","followers_url":"https://api.github.com/users/lumoslabs/followers","following_url":"https://api.github.com/users/lumoslabs/following{/other_user}","gists_url":"https://api.github.com/users/lumoslabs/gists{/gist_id}","starred_url":"https://api.github.com/users/lumoslabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lumoslabs/subscriptions","organizations_url":"https://api.github.com/users/lumoslabs/orgs","repos_url":"https://api.github.com/users/lumoslabs/repos","events_url":"https://api.github.com/users/lumoslabs/events{/privacy}","received_events_url":"https://api.github.com/users/lumoslabs/received_events","type":"Organization","site_admin":false},"repo":{"id":19748292,"name":"comply","full_name":"lumoslabs/comply","owner":{"login":"lumoslabs","id":723646,"avatar_url":"https://avatars.githubusercontent.com/u/723646?v=3","gravatar_id":"","url":"https://api.github.com/users/lumoslabs","html_url":"https://github.com/lumoslabs","followers_url":"https://api.github.com/users/lumoslabs/followers","following_url":"https://api.github.com/users/lumoslabs/following{/other_user}","gists_url":"https://api.github.com/users/lumoslabs/gists{/gist_id}","starred_url":"https://api.github.com/users/lumoslabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lumoslabs/subscriptions","organizations_url":"https://api.github.com/users/lumoslabs/orgs","repos_url":"https://api.github.com/users/lumoslabs/repos","events_url":"https://api.github.com/users/lumoslabs/events{/privacy}","received_events_url":"https://api.github.com/users/lumoslabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lumoslabs/comply","description":"Server-side ActiveRecord validations, all up in your HTML and client-side javascript","fork":false,"url":"https://api.github.com/repos/lumoslabs/comply","forks_url":"https://api.github.com/repos/lumoslabs/comply/forks","keys_url":"https://api.github.com/repos/lumoslabs/comply/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lumoslabs/comply/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lumoslabs/comply/teams","hooks_url":"https://api.github.com/repos/lumoslabs/comply/hooks","issue_events_url":"https://api.github.com/repos/lumoslabs/comply/issues/events{/number}","events_url":"https://api.github.com/repos/lumoslabs/comply/events","assignees_url":"https://api.github.com/repos/lumoslabs/comply/assignees{/user}","branches_url":"https://api.github.com/repos/lumoslabs/comply/branches{/branch}","tags_url":"https://api.github.com/repos/lumoslabs/comply/tags","blobs_url":"https://api.github.com/repos/lumoslabs/comply/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lumoslabs/comply/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lumoslabs/comply/git/refs{/sha}","trees_url":"https://api.github.com/repos/lumoslabs/comply/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lumoslabs/comply/statuses/{sha}","languages_url":"https://api.github.com/repos/lumoslabs/comply/languages","stargazers_url":"https://api.github.com/repos/lumoslabs/comply/stargazers","contributors_url":"https://api.github.com/repos/lumoslabs/comply/contributors","subscribers_url":"https://api.github.com/repos/lumoslabs/comply/subscribers","subscription_url":"https://api.github.com/repos/lumoslabs/comply/subscription","commits_url":"https://api.github.com/repos/lumoslabs/comply/commits{/sha}","git_commits_url":"https://api.github.com/repos/lumoslabs/comply/git/commits{/sha}","comments_url":"https://api.github.com/repos/lumoslabs/comply/comments{/number}","issue_comment_url":"https://api.github.com/repos/lumoslabs/comply/issues/comments{/number}","contents_url":"https://api.github.com/repos/lumoslabs/comply/contents/{+path}","compare_url":"https://api.github.com/repos/lumoslabs/comply/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lumoslabs/comply/merges","archive_url":"https://api.github.com/repos/lumoslabs/comply/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lumoslabs/comply/downloads","issues_url":"https://api.github.com/repos/lumoslabs/comply/issues{/number}","pulls_url":"https://api.github.com/repos/lumoslabs/comply/pulls{/number}","milestones_url":"https://api.github.com/repos/lumoslabs/comply/milestones{/number}","notifications_url":"https://api.github.com/repos/lumoslabs/comply/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lumoslabs/comply/labels{/name}","releases_url":"https://api.github.com/repos/lumoslabs/comply/releases{/id}","created_at":"2014-05-13T17:14:17Z","updated_at":"2015-04-29T00:03:06Z","pushed_at":"2015-04-29T00:19:13Z","git_url":"git://github.com/lumoslabs/comply.git","ssh_url":"git@github.com:lumoslabs/comply.git","clone_url":"https://github.com/lumoslabs/comply.git","svn_url":"https://github.com/lumoslabs/comply","homepage":"","size":797,"stargazers_count":14,"watchers_count":14,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lumoslabs/comply/pulls/24"},"html":{"href":"https://github.com/lumoslabs/comply/pull/24"},"issue":{"href":"https://api.github.com/repos/lumoslabs/comply/issues/24"},"comments":{"href":"https://api.github.com/repos/lumoslabs/comply/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/lumoslabs/comply/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/lumoslabs/comply/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lumoslabs/comply/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/lumoslabs/comply/statuses/175a75efb1996578240db386140c573327268c58"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":12,"deletions":0,"changed_files":2}}