Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

source-leak-hunt

Skill by uphiago

Scans lists of live URLs for exposed sensitive files such as .env, .git/config and database backups. It checks response content to filter out false positives. Built for reconnaissance and exposure testing.

  • Score 73
  • 1.4k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install source-leak-hunt

Built from the published package, never by AI.

git clone --depth 1 https://github.com/uphiago/recon-skills /tmp/recon-skills && mkdir -p ~/.claude/skills && cp -r /tmp/recon-skills/recon/source-leak-hunt ~/.claude/skills/source-leak-hunt

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install source-leak-hunt in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Source Leak Hunt is an agent skill that scans many web hosts for exposed sensitive files. It requests about 20 paths per target, including .env, .git/config, wp-config.php.bak, debug.log, backup.sql and phpinfo.php, and records any that return HTTP 200. For common file types, it checks the response body against patterns, such as DB_PASSWORD for wp-config backups or [core] for git configs, before logging a verified leak.

The skill also extracts credentials from leaked files, ranks targets by number of leaks, and covers backup file discovery and Google services dorking. It is categorized as recon and is intended for reconnaissance work across batches of domains, typically after a target is confirmed alive.

Written from the project's SKILL.md and checked against it.

What it can do

  • Mass path scanRequests about 20 sensitive paths per target in parallel and records HTTP 200 responses.
  • Content verificationChecks response bodies against patterns to filter out SPA catch-all and false positive pages.
  • Credential extractionPulls DB, APP, key and password lines from saved .env, wp-config and .git/config leaks.
  • Multi-leak rankingCounts leaks per domain and lists targets with three or more as deep-dive candidates.
  • Backup file discoveryUses bfac and waybackurls to find backup and historical sensitive files still accessible.
  • Google services dorkingProvides search queries for exposed Google Sheets, Drive files, Firebase and GCP buckets.

What you need

  • Linux
  • curl
  • grep
  • A list of live URLs, such as httpx or wp-mass-recon output
  • bfac and waybackurls for the optional backup discovery phase

Try asking

  • Scan these live URLs for exposed .env and .git/config files and save verified leaks
  • Count the leaks per domain from my last scan and list the top candidates
  • Check these hosts for backup.sql and wp-config.php.bak files

Good to know

  • Single-page apps can return HTTP 200 for every path, so content checks are required.
  • Some CDNs return 200 with error bodies for missing files.
  • Large files such as error_log can be truncated unless sampled in chunks.
  • Parked domains can return identical pages for every path.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: recon/source-leak-hunt/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to source-leak-hunt

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

source-leak-hunt: common questions

What files does Source Leak Hunt check for?

It checks paths such as .env, .git/config, wp-config.php.bak, debug.log, backup.sql, info.php, phpinfo.php, Dockerfile and docker-compose.yml. Each path has a severity level in the quick reference table.

How does it avoid false positives?

For most file types it checks the first 2000 bytes of the response against a pattern, such as DB_NAME and DB_PASSWORD for wp-config backups. It also flags parked domains that return the same page for many paths.

What platform does it run on?

The skill lists linux as its only platform and requires curl and grep.

How do I install source-leak-hunt?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is source-leak-hunt free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is source-leak-hunt safe to use?

It scores 73 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to source-leak-hunt?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

source-leak-hunt Install

Add to stack

Loading.