Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

broad oAuth privileges #24

Closed
missinglink opened this issue Feb 24, 2016 · 6 comments
Closed

broad oAuth privileges #24

missinglink opened this issue Feb 24, 2016 · 6 comments

Comments

@missinglink
Copy link
Member

I think (hope!?) this oAuth prompt is only for internal Mapzen employees.

screenshot

Asking for full privileges such as this is a security risk and a pretty serious attack vector against mapzen-linked github accounts.

We should also be informing staff that approving 3rd party oAuth prompts of this nature is very insecure as the 3rd party app would be granted pull/push/admin access to our private repos and profiles which bypasses the 2 factor auth we have set up.

There is a long standing discussion thread for another product going on over here:
https://github.com/ZenHubIO/support/issues/77#issuecomment-60073982

cc/ @heffergm @baldur

@missinglink
Copy link
Member Author

ref: dear-github/dear-github#113

@migurski
Copy link

I’m not sure what we could meaningfully warn staff about that would help. As the commentary in the dear-github thread points out, this issue is Github’s alone to solve through the introduction of finer-grained permissions. Precog and other applications like Waffle and CircleCI need read access to private Mapzen repos for us to do our work, and the overly-broad repo scope is the only way to achieve this in Github.

I’ve added my hopefully-meaningful two cents there.

@missinglink
Copy link
Member Author

@migurski it seems that there is a way to ask for a smaller/read-only scope as per this comment https://github.com/ZenHubIO/support/issues/77#issuecomment-70107147

@missinglink
Copy link
Member Author

I just noticed this when trying to auth to see WIP content for the search page, in that case I assume it just needs to confirm that I am a mapzen employee?

@migurski
Copy link

That's public-only, though. Our blog and other repos are private with private data, so Precog needs permission to see that.

@migurski
Copy link

Closing this, with merge of #46.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants