# Github Recon Method

Using Github we can find sensitive infos.

## Steps:

1. Check github with company name for API keys or passswords.
2. Enumerate the employees of the company from linkedin and twitter and check their repositories on github for sensitive information.
3. Check source code of main website and subdomains for github links in the html comments or anywhere. Search using ctl-F and search for keyword github

## Tools and references::

* <https://github.com/BishopFox/GitGot>
* <https://github.com/hisxo/gitGraber>
* <https://github.com/tillson/git-hound>
* <https://securitytrails.com/blog/github-dorks>

## Reports (Hackerone)

### Resolved

* [Important information leaked on Github](https://hackerone.com/reports/649322)
* [Github Token Leaked publicly for https://github.com/mopub](https://hackerone.com/reports/612231)
* [CircleCI token in github repo allows for access to sensitive build information](https://hackerone.com/reports/858915)
* [Information Leak - Github - JMS Information](https://hackerone.com/reports/360811)
* [Leaked artifactory\_key, artifactory\_api\_key, and gcloud refresh\_token via GitHub.](https://hackerone.com/reports/496414)
* [Github Token Leaked publicly for https://github.sc-corp.net](https://hackerone.com/reports/396467)

## Author:

* [@0xCCFFF](https://twitter.com/0xCCFFF) (MadMaxx)
* [@klaus](https://twitter.com/klaus_dev)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kathan19.gitbook.io/howtohunt/sensitive-info-leaks/github_recon_method.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
