GitHub Desktop is an open-source Electron-based app for working with your GitHub.com or GitHub Enterprise account. It uses the dugite and dugite-native libraries for performing git operations.
Even if the issue you identified is out-of-scope and ineligible for our bounty program, we encourage you to open an issue upstream. Please see our severity guidelines for more information about how severities are calculated.
x-github-client://Adding or cloning a repository means letting Git process repository content that its author controls. It does not copy the attacker’s .git/hooks or .git/config into the new working copy. Desktop is a Git client, so reports where the whole chain is “the user cloned my repository and then Git processed the repository content as designed” are ineligible. A report may be eligible if Desktop mishandles that content, runs something Git would not have, or crosses a security boundary before the user has taken any action on the repository.
Chains that require the user to open a specific file, change a setting, approve a prompt they had a reason to refuse, or follow instructions from the attacker are social engineering. If your report includes a step like this, describe it plainly and explain why the user would realistically take it.
An attacker who can already write to your disk or run as your user can read Desktop’s stored credentials, edit its configuration, and replace its files. Reports that describe reading a token from local storage, or modifying local state to change behaviour, are ineligible without showing how a remote attacker reaches that state.
Desktop is a public client, so its client ID is embedded in the application and is not a secret. Reports that it can be extracted are ineligible.