Skip to content

per-fide/secrets-scanner

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

secrets-scanner

Find API tokens and other secrets in your code.

Example: Search Git history including commit messages:

$ git clone https://github.com/stefansundin/secrets-scanner.git
$ cd secrets-scanner
$ go build
$ git log -p | ./secrets-scanner
Found Redis URLs:
- 'redis:https://h:[email protected]:11141'

Use -test to test the found keys automatically. Not supported for all services.

$ git log -p | ./secrets-scanner -test
Found Redis URLs:
- 'redis:https://h:[email protected]:11141'
Connection failed: dial tcp 93.184.216.34:11141: i/o timeout

Supported

  • AWS Access Key ID
  • Google Access Token
  • Google API key
  • Slack xoxp and xoxb tokens
  • Redis URLs
  • Gemfury URLs

About

Find API keys in your code. 🔑

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%