> For the complete documentation index, see [llms.txt](https://dthomsen.gitbook.io/mcsi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dthomsen.gitbook.io/mcsi/passive-network-reconnaissance/search-for-information-leaks-on-github-using-grep.app.md).

# Search For Information Leaks On Github Using Grep.App

Using grep.app to gather sensitive information.

## Background:

[grep.app](https://grep.app) allows you to search across a half million git repositories.

An information leakage is when confidential or sensitive data is unintentionally exposed online. This can happen, for example, when a user publishes their codebase on GitHub without taking adequate security precautions. Sensitive data that can be exposed in this way includes login credentials, passwords, and credit card numbers.

## Exercise:

Use grep.app to search for information leaks.

Hint: Search for code, not keywords. For example: password = "

## Example:

Looking up keywords on this site allows you to search through repositories looking for sensitive information. For example...

#### Passwords

![](https://1305929913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlapqrpN4sXz7jqsMPRUD%2Fuploads%2F1HkyuzKSPjuwevZEPKuw%2Fimage.png?alt=media\&token=c09c7d8a-812f-4cf4-83b4-5b5fb3ce6766)

#### Private Keys:

![](https://1305929913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlapqrpN4sXz7jqsMPRUD%2Fuploads%2F5vNGjQikvUnHDn38n3cB%2Fimage.png?alt=media\&token=cd812aa2-5953-4b81-a9b9-f9ce33ae7429)

#### Login Credentials:

![](https://1305929913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlapqrpN4sXz7jqsMPRUD%2Fuploads%2FOxVYIwRN52CrV0aGsy4f%2Fimage.png?alt=media\&token=f715e3e6-57ec-4663-bd45-fd5e2e1a741a)

#### Credit Cards:

![](https://1305929913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlapqrpN4sXz7jqsMPRUD%2Fuploads%2FfmDXwi3B6GobVlPDGnUF%2Fimage.png?alt=media\&token=7407250e-6ac8-451a-ae79-e71a2d6f83a6)

![](https://1305929913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlapqrpN4sXz7jqsMPRUD%2Fuploads%2FoeMeBRaFS4QA4m9oKpFl%2Fimage.png?alt=media\&token=2e13a108-559b-4399-aeac-b7d485e44585)

### Always remember to remain ethical in your decision making especially when dealing with sensitive information.&#x20;
