r/github • u/Nice_Paramedic4055 • 20d ago
Discussion How cautious are you about connecting third-party tools to your GitHub account?
Hey all! I'm just curious how others approach this.
When a third party developer tool asks you to connect your GitHub account or install a GitHub App to access your repositories, how do you evaluate whether it's safe?
A few things I'm particularly interested in:
- What permissions are acceptable, and which ones are immediate red flags?
- Do you generally allow access to selected repositories or avoid these integrations altogether?
- How much do you look into the company behind the app, its data handling policies, and where the information is stored?
- Are there any particular security checks you always perform before authorizing an integration?
I'd be interested in hearing from people who've actually connected these types of tools to their personal or company GitHub accounts. I'm still learning my way around all of this, and with everything happening, I'd rather be safe than sorry!!!
3
Upvotes
3
u/weaztoven 20d ago
i never give full account access, always restrict it to selected repositories only. if a small tool asks for full write access to all repos out of nowhere, that's an instant red flag.
5
u/GiggleSamurai 20d ago
The biggest red flag is an OAuth app asking for the `repo` scope, because that gives it read and write access to every private repo you can reach. A GitHub App installed on selected repositories is much narrower, and you can review or revoke both under Settings > Applications.
1
u/geofabnz 20d ago
Just woke up to an email from GitHub that “my Claude GitHub app was requesting additional privileges” so my trust in connections is sort around -5 for now (it was an update).
1
u/martin-mfg 19d ago
As a user I am also rather cautious about granting access to GitHub/OAuth apps. But I also happen to maintain such an app, so here's my maintainer perspective:
My app requests read and write access to all public and private repos of the user. Although it actually only needs read access. Unfortunately, GitHub doesn't allow to request only read permissions for private repos. This table lists the available scopes. There is nothing more restricted like
repo:read, so I have to userepo. And I can't switch from an OAuth app to a GitHub app, because a GitHub apps can only access the user's activities in their own repos, not across all of GitHub (related docs).As you can see, I did research how to request only minimal permissions, but GitHub's permission granularity doesn't allow me to request less for the full app functionality. However, there are still alternatives: Users of my app can choose to exclude their private repos and the app will then request less permissions. The app is also open source so it's easier to trust. Any finally there is documentation about running the app on your own infrastructure.
On the other hand, out of the >2000 users who granted my app full access, only one asked why it would need write access.
3
u/[deleted] 20d ago
[removed] — view removed comment