Skip to content

hussein-kaplan/Api-scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ” API Key Scanner

A Kali-friendly tool to scan for leaked or exposed API keys and identify which service they belong to, using over 1000 known patterns.

  • βœ… Supports GitHub, Stripe, Google, AWS, and 1000+ more.
  • 🧠 Uses secrets-patterns-db and trufflehog regex sources.
  • πŸ“¦ Lightweight, works with Python 3.

πŸš€ Usage

# Install dependencies
pip install -r requirements.txt

# Update pattern database (recommended once)
python3 cli.py update-patterns

# Scan for API keys
python3 cli.py scan keys.txt

You can also use stdin:

cat keys.txt | python3 cli.py scan -

πŸ› οΈ Example Output:

API Key Service Confidence
sk_test_abc123 Stripe 0.97
ghp_abcdEFGHijklMNOP1234567890 GitHub 0.99

πŸ“ Files

  • cli.py: The main CLI script
  • requirements.txt: Python dependencies
  • banner.txt: ASCII banner (optional)

About

A Kali-friendly tool to scan for leaked or exposed API keys and identify which service they belong to, using over 1000 known patterns.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages