Skip to main content

🚀 LeakHunt v2.2.4 - Production Ready Secret Scanner

Independent secret scanner for bug bounty hunters and security testers. Scans URLs, local files, and directories to detect exposed secrets using pattern matching, entropy analysis, and severity classification.

PyPI version Tests

🆕 What's New in v2.2.4

  • Added repository and project URLs
  • Enhanced PyPI metadata and keywords
  • Improved README rendering on PyPI
  • Added maintainer details

Previous v2.2.3 highlights

  • Tightened generic and environment-variable detection to reduce false positives in UI/frontend code.
  • Added sensitive keyword, entropy, score, value sanity, duplicate-value, and JavaScript-aware filtering.
  • Bumped package metadata for the v2.2.4 release.

Full history: CHANGELOG.md


⚙️ Installation

pip install -r requirements.txt
pip install .

🚀 CLI Usage

# mixed targets
leakhunt -t 8 -o findings.json https://example.com/app.js ./local.js

# multiple URLs
leakhunt -u https://example.com/app.js -u https://example.com/main.js

# targets from file
leakhunt -U lab/targets.txt -t 10 -v

# local files
leakhunt -f lab/index.html -f lab/test_private_key.txt

# Bug Bounty
leakhunt --safe-mode -t 15 -U targets.txt -o findings.json -v

# Lab Testing  
leakhunt --safe-mode -U lab/targets.txt

# Custom Patterns
leakhunt --patterns-dir patterns/ test.txt

# Dry Run
leakhunt --dry-run -U urls.txt

# Low Entropy
leakhunt --entropy-threshold 3.0 --safe-mode files/

🧪 Local Testing Lab

  1. Start a local server from repo root
  2. In another terminal: leakhunt -U lab/targets.txt -t 5 -v -o lab/results.json

Lab includes:

  • lab/index.html → dummy tokens
  • lab/test_private_key.txt → dummy private key

⚠️ Ethics Warning

Use LeakHunt only on systems you own or have explicit authorization to test. Unauthorized scanning may violate laws and responsible disclosure policies.

Metadata

Release files for leakhunt 2.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for leakhunt 2.2.4
File Size Uploaded
leakhunt-2.2.4.tar.gz 13.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for leakhunt 2.2.4
File Interpreter ABI Platform
leakhunt-2.2.4-py3-none-any.whl Python 3 none any Details

Total release size: 26.1 kB

Release files / leakhunt-2.2.4.tar.gz

Download URL leakhunt-2.2.4.tar.gz
Size 13.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8cc04a53c07e6c0cd7687e7cfc4fef098c312390f27c1de4b3027eea458b763e
BLAKE2b-256 checksum
How to use checksums
7228205b1fd4366d90d17376b59973000b1b6f6b9287f9d0daeb0d4c0425f891
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.2

Release files / leakhunt-2.2.4-py3-none-any.whl

Download URL leakhunt-2.2.4-py3-none-any.whl
Size 12.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1cfc9cb2d6b82691d746aec43e98fdbc6ee75c91a50e4722b4034d56efd3bbd4
BLAKE2b-256 checksum
How to use checksums
86c84173abc3fe3d591037f41d057b4766b23d57618808bf89076d7e8a579d66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.2

Release history Release notifications | RSS feed

This release

2.2.4 This release

2 release files

2.2.3

2 release files

2.2.2

2 release files

2.2.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page