{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/gilangbh/smartinvoicetest/pulls/1","id":181402013,"html_url":"https://github.com/gilangbh/smartinvoicetest/pull/1","diff_url":"https://github.com/gilangbh/smartinvoicetest/pull/1.diff","patch_url":"https://github.com/gilangbh/smartinvoicetest/pull/1.patch","issue_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/issues/1","number":1,"state":"open","locked":false,"title":"Update CredentialManager.sol","user":{"login":"fengkiej","id":14020439,"avatar_url":"https://avatars3.githubusercontent.com/u/14020439?v=4","gravatar_id":"","url":"https://api.github.com/users/fengkiej","html_url":"https://github.com/fengkiej","followers_url":"https://api.github.com/users/fengkiej/followers","following_url":"https://api.github.com/users/fengkiej/following{/other_user}","gists_url":"https://api.github.com/users/fengkiej/gists{/gist_id}","starred_url":"https://api.github.com/users/fengkiej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fengkiej/subscriptions","organizations_url":"https://api.github.com/users/fengkiej/orgs","repos_url":"https://api.github.com/users/fengkiej/repos","events_url":"https://api.github.com/users/fengkiej/events{/privacy}","received_events_url":"https://api.github.com/users/fengkiej/received_events","type":"User","site_admin":false},"body":"In current code of this contract, there is a vulnerability that anybody can set any address to any role just by calling setRole","created_at":"2018-04-13T07:02:59Z","updated_at":"2018-04-13T07:02:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/pulls/1/commits","review_comments_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/pulls/1/comments","review_comment_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/issues/1/comments","statuses_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/statuses/c0ea0278d59ee0d8a0fff7579825e566defa2d05","head":{"label":"fengkiej:patch-1","ref":"patch-1","sha":"c0ea0278d59ee0d8a0fff7579825e566defa2d05","user":{"login":"fengkiej","id":14020439,"avatar_url":"https://avatars3.githubusercontent.com/u/14020439?v=4","gravatar_id":"","url":"https://api.github.com/users/fengkiej","html_url":"https://github.com/fengkiej","followers_url":"https://api.github.com/users/fengkiej/followers","following_url":"https://api.github.com/users/fengkiej/following{/other_user}","gists_url":"https://api.github.com/users/fengkiej/gists{/gist_id}","starred_url":"https://api.github.com/users/fengkiej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fengkiej/subscriptions","organizations_url":"https://api.github.com/users/fengkiej/orgs","repos_url":"https://api.github.com/users/fengkiej/repos","events_url":"https://api.github.com/users/fengkiej/events{/privacy}","received_events_url":"https://api.github.com/users/fengkiej/received_events","type":"User","site_admin":false},"repo":{"id":129361133,"name":"smartinvoicetest","full_name":"fengkiej/smartinvoicetest","owner":{"login":"fengkiej","id":14020439,"avatar_url":"https://avatars3.githubusercontent.com/u/14020439?v=4","gravatar_id":"","url":"https://api.github.com/users/fengkiej","html_url":"https://github.com/fengkiej","followers_url":"https://api.github.com/users/fengkiej/followers","following_url":"https://api.github.com/users/fengkiej/following{/other_user}","gists_url":"https://api.github.com/users/fengkiej/gists{/gist_id}","starred_url":"https://api.github.com/users/fengkiej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fengkiej/subscriptions","organizations_url":"https://api.github.com/users/fengkiej/orgs","repos_url":"https://api.github.com/users/fengkiej/repos","events_url":"https://api.github.com/users/fengkiej/events{/privacy}","received_events_url":"https://api.github.com/users/fengkiej/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fengkiej/smartinvoicetest","description":null,"fork":true,"url":"https://api.github.com/repos/fengkiej/smartinvoicetest","forks_url":"https://api.github.com/repos/fengkiej/smartinvoicetest/forks","keys_url":"https://api.github.com/repos/fengkiej/smartinvoicetest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fengkiej/smartinvoicetest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fengkiej/smartinvoicetest/teams","hooks_url":"https://api.github.com/repos/fengkiej/smartinvoicetest/hooks","issue_events_url":"https://api.github.com/repos/fengkiej/smartinvoicetest/issues/events{/number}","events_url":"https://api.github.com/repos/fengkiej/smartinvoicetest/events","assignees_url":"https://api.github.com/repos/fengkiej/smartinvoicetest/assignees{/user}","branches_url":"https://api.github.com/repos/fengkiej/smartinvoicetest/branches{/branch}","tags_url":"https://api.github.com/repos/fengkiej/smartinvoicetest/tags","blobs_url":"https://api.github.com/repos/fengkiej/smartinvoicetest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fengkiej/smartinvoicetest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fengkiej/smartinvoicetest/git/refs{/sha}","trees_url":"https://api.github.com/repos/fengkiej/smartinvoicetest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fengkiej/smartinvoicetest/statuses/{sha}","languages_url":"https://api.github.com/repos/fengkiej/smartinvoicetest/languages","stargazers_url":"https://api.github.com/repos/fengkiej/smartinvoicetest/stargazers","contributors_url":"https://api.github.com/repos/fengkiej/smartinvoicetest/contributors","subscribers_url":"https://api.github.com/repos/fengkiej/smartinvoicetest/subscribers","subscription_url":"https://api.github.com/repos/fengkiej/smartinvoicetest/subscription","commits_url":"https://api.github.com/repos/fengkiej/smartinvoicetest/commits{/sha}","git_commits_url":"https://api.github.com/repos/fengkiej/smartinvoicetest/git/commits{/sha}","comments_url":"https://api.github.com/repos/fengkiej/smartinvoicetest/comments{/number}","issue_comment_url":"https://api.github.com/repos/fengkiej/smartinvoicetest/issues/comments{/number}","contents_url":"https://api.github.com/repos/fengkiej/smartinvoicetest/contents/{+path}","compare_url":"https://api.github.com/repos/fengkiej/smartinvoicetest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fengkiej/smartinvoicetest/merges","archive_url":"https://api.github.com/repos/fengkiej/smartinvoicetest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fengkiej/smartinvoicetest/downloads","issues_url":"https://api.github.com/repos/fengkiej/smartinvoicetest/issues{/number}","pulls_url":"https://api.github.com/repos/fengkiej/smartinvoicetest/pulls{/number}","milestones_url":"https://api.github.com/repos/fengkiej/smartinvoicetest/milestones{/number}","notifications_url":"https://api.github.com/repos/fengkiej/smartinvoicetest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fengkiej/smartinvoicetest/labels{/name}","releases_url":"https://api.github.com/repos/fengkiej/smartinvoicetest/releases{/id}","deployments_url":"https://api.github.com/repos/fengkiej/smartinvoicetest/deployments","created_at":"2018-04-13T06:51:10Z","updated_at":"2018-04-13T06:51:12Z","pushed_at":"2018-04-13T07:01:54Z","git_url":"git://github.com/fengkiej/smartinvoicetest.git","ssh_url":"git@github.com:fengkiej/smartinvoicetest.git","clone_url":"https://github.com/fengkiej/smartinvoicetest.git","svn_url":"https://github.com/fengkiej/smartinvoicetest","homepage":null,"size":272,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gilangbh:master","ref":"master","sha":"ff76b5391b8f3eb38ed7e019dff2cc55f1672e0e","user":{"login":"gilangbh","id":21070112,"avatar_url":"https://avatars3.githubusercontent.com/u/21070112?v=4","gravatar_id":"","url":"https://api.github.com/users/gilangbh","html_url":"https://github.com/gilangbh","followers_url":"https://api.github.com/users/gilangbh/followers","following_url":"https://api.github.com/users/gilangbh/following{/other_user}","gists_url":"https://api.github.com/users/gilangbh/gists{/gist_id}","starred_url":"https://api.github.com/users/gilangbh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gilangbh/subscriptions","organizations_url":"https://api.github.com/users/gilangbh/orgs","repos_url":"https://api.github.com/users/gilangbh/repos","events_url":"https://api.github.com/users/gilangbh/events{/privacy}","received_events_url":"https://api.github.com/users/gilangbh/received_events","type":"User","site_admin":false},"repo":{"id":114898305,"name":"smartinvoicetest","full_name":"gilangbh/smartinvoicetest","owner":{"login":"gilangbh","id":21070112,"avatar_url":"https://avatars3.githubusercontent.com/u/21070112?v=4","gravatar_id":"","url":"https://api.github.com/users/gilangbh","html_url":"https://github.com/gilangbh","followers_url":"https://api.github.com/users/gilangbh/followers","following_url":"https://api.github.com/users/gilangbh/following{/other_user}","gists_url":"https://api.github.com/users/gilangbh/gists{/gist_id}","starred_url":"https://api.github.com/users/gilangbh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gilangbh/subscriptions","organizations_url":"https://api.github.com/users/gilangbh/orgs","repos_url":"https://api.github.com/users/gilangbh/repos","events_url":"https://api.github.com/users/gilangbh/events{/privacy}","received_events_url":"https://api.github.com/users/gilangbh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gilangbh/smartinvoicetest","description":null,"fork":false,"url":"https://api.github.com/repos/gilangbh/smartinvoicetest","forks_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/forks","keys_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/teams","hooks_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/hooks","issue_events_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/issues/events{/number}","events_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/events","assignees_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/assignees{/user}","branches_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/branches{/branch}","tags_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/tags","blobs_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/git/refs{/sha}","trees_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/statuses/{sha}","languages_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/languages","stargazers_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/stargazers","contributors_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/contributors","subscribers_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/subscribers","subscription_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/subscription","commits_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/commits{/sha}","git_commits_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/git/commits{/sha}","comments_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/comments{/number}","issue_comment_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/issues/comments{/number}","contents_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/contents/{+path}","compare_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/merges","archive_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/downloads","issues_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/issues{/number}","pulls_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/pulls{/number}","milestones_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/milestones{/number}","notifications_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/labels{/name}","releases_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/releases{/id}","deployments_url":"https://api.github.com/repos/gilangbh/smartinvoicetest/deployments","created_at":"2017-12-20T14:46:55Z","updated_at":"2018-04-04T18:59:00Z","pushed_at":"2018-04-04T18:58:58Z","git_url":"git://github.com/gilangbh/smartinvoicetest.git","ssh_url":"git@github.com:gilangbh/smartinvoicetest.git","clone_url":"https://github.com/gilangbh/smartinvoicetest.git","svn_url":"https://github.com/gilangbh/smartinvoicetest","homepage":null,"size":272,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gilangbh/smartinvoicetest/pulls/1"},"html":{"href":"https://github.com/gilangbh/smartinvoicetest/pull/1"},"issue":{"href":"https://api.github.com/repos/gilangbh/smartinvoicetest/issues/1"},"comments":{"href":"https://api.github.com/repos/gilangbh/smartinvoicetest/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/gilangbh/smartinvoicetest/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/gilangbh/smartinvoicetest/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gilangbh/smartinvoicetest/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/gilangbh/smartinvoicetest/statuses/c0ea0278d59ee0d8a0fff7579825e566defa2d05"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":7,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"fengkiej"}}