#api-key #secret #web #scraping #security #encryption-key

bin+lib keyhunter

Check for leaked API keys and secrets on public websites

2 releases

new 0.1.1 Apr 25, 2024
0.1.0 Apr 23, 2024

#548 in Development tools

Download history 291/week @ 2024-04-22

291 downloads per month

Custom license

130KB
2.5K SLoC

KeyHunter

CI Check

Check for leaked API keys and secrets on public websites.

KeyHunter running on sites of the last 7 YCombinator startups
KeyHunter running on sites of the last 7 YCombinator batches

Installation

You can install KeyHunter as a Crate from crates.io:

cargo install keyhunter --all-features

You can also use it as a library:

[dependencies]
keyhunter = "0.1.0"

Usage

Provide KeyHunter with a URL to start scanning from. It will visit all pages on the same domain that URL links to, find all scripts referenced by those pages, and check them for leaked API keys and secrets.

keyhunter https://example.com

Run keyhunter --help for more information.

Disclaimer

This tool is for educational purposes only. Only use it on websites and/or web applications that you own or that are owned by an organization that has given you their explicit consent. Do not use this tool for malicious purposes. Please read the LICENSE for more information.

Dependencies

~18–30MB
~472K SLoC