Skip to content
This repository has been archived by the owner on May 9, 2024. It is now read-only.

pantheon-systems/secrets-searcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

secrets-searcher

Search for sensitive information stored in one or more git repositories.

This repository was inspired by truffleHog and shhgit.

Build

cd ~/go/src/github.com/pantheon-systems
git clone git@github.com:pantheon-systems/secrets-searcher.git
cd secrets-searcher
make

Pantheon usage

Obtain a GitHub token with repo access to the repositories you want to scan. To generate a new token, log into GitHub, then go to "Settings > Developer settings > Personal access tokens > Generate new token".

Then run:

cd _pantheon
export SECRETS_SOURCE_API_TOKEN="[GITHUB_TOKEN]"
../secrets-searcher --config="config.yaml,config.rules.yaml"

The tool will create an ./output/report directory that includes an HTML report.