> For the complete documentation index, see [llms.txt](https://kathan19.gitbook.io/howtohunt/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kathan19.gitbook.io/howtohunt/sensitive-info-leaks/github_recon_method.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
