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

Avoid asking write access to _all_ public repos #1261

Open
damithc opened this issue Mar 23, 2024 · 1 comment
Open

Avoid asking write access to _all_ public repos #1261

damithc opened this issue Mar 23, 2024 · 1 comment
Labels
category.Feature a new feature

Comments

@damithc
Copy link
Contributor

damithc commented Mar 23, 2024

Is it possible not to ask for write access to all public repos? Some users may not want to give CATcher such access because if CATcher is compromised, attackers can get through to their other public repos (such as other OSS projects they have write access to).

@damithc damithc added the category.Feature a new feature label Mar 23, 2024
@JuliaPoo
Copy link

JuliaPoo commented Mar 24, 2024

Furthermore, I don't see why this project requires read:user permissions. From what I gather from the OAuth documentation, the only user profile information such permissions can gain over public information are:

"private_gists": <number>,
"total_private_repos": <number>,
"owned_private_repos": <number>,
"disk_usage": <number>,
"collaborators": <number>,
"two_factor_authentication": <boolean>,
"plan": {
  "name": <string>,
  "space": <number>,
  "private_repos": <number>,
  "collaborators": <number>
}

For me personally, I'm unwilling to allow CATcher write permissions to my public repos.

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

No branches or pull requests

2 participants