Skip to content
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
This repository was archived by the owner on Nov 18, 2021. It is now read-only.

Gist OAuth scope is too permissive #31

Open

Description

@glenngillen

Currently when an app requests permission to create gists, they also get permission to list all private gists, and thus view and edit them. This means my gists are no longer private. @will has a detailed explanation of the problem: https://gist.github.com/will/4198815

Activity

  1. rauhryan commented on Jul 21, 2013

    @rauhryan

    Agreed!

    I wrote a lengthy reply to one of my users.

    @github's OAuth is flawed. Its scary how much access you get with the repos scope

  2. troy commented on Aug 8, 2013

    @troy

    This, many times over. I want the same for issues. As I put it in an unrelated conversation with GitHub:

    I'm paranoid of the day when some API consumer with a ton of OAuth tokens for private repos - a CI service, I'd guess - gets hacked.
    
    Best case, GitHub would detect a change in request velocity of an OAuth signer as a hacker started pulling a ton of repos, and that's still a pretty horrible outcome.
    

    While not every OAuth consumer would be satisfied by limited access (by feature and/or repo), many would.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions